|
Packit |
874993 |
# NMake Makefile portion for compilation rules
|
|
Packit |
874993 |
# Items in here should not need to be edited unless
|
|
Packit |
874993 |
# one is maintaining the NMake build files. The format
|
|
Packit |
874993 |
# of NMake Makefiles here are different from the GNU
|
|
Packit |
874993 |
# Makefiles. Please see the comments about these formats.
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Inference rules for compiling the .obj files.
|
|
Packit |
874993 |
# Used for libs and programs with more than a single source file.
|
|
Packit |
874993 |
# Format is as follows
|
|
Packit |
874993 |
# (all dirs must have a trailing '\'):
|
|
Packit |
874993 |
#
|
|
Packit |
874993 |
# {$(srcdir)}.$(srcext){$(destdir)}.obj::
|
|
Packit |
874993 |
# $(CC)|$(CXX) $(cflags) /Fo$(destdir) /c @<<
|
|
Packit |
874993 |
# $<
|
|
Packit |
874993 |
# <<
|
|
Packit |
874993 |
{..\src\}.cc{$(CFG)\$(PLAT)\harfbuzz\}.obj::
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_LIB_CFLAGS) /Fo$(CFG)\$(PLAT)\harfbuzz\ /c @<<
|
|
Packit |
874993 |
$<
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
|
|
Packit |
874993 |
{..\src\hb-ucdn\}.c{$(CFG)\$(PLAT)\harfbuzz\}.obj::
|
|
Packit |
874993 |
$(CC) $(CFLAGS) /Fo$(CFG)\$(PLAT)\harfbuzz\ /c @<<
|
|
Packit |
874993 |
$<
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
|
|
Packit |
874993 |
{..\util\}.cc{$(CFG)\$(PLAT)\util\}.obj::
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_CFLAGS) /Fo$(CFG)\$(PLAT)\util\ /c @<<
|
|
Packit |
874993 |
$<
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Inference rules for building the test programs
|
|
Packit |
874993 |
# Used for programs with a single source file.
|
|
Packit |
874993 |
# Format is as follows
|
|
Packit |
874993 |
# (all dirs must have a trailing '\'):
|
|
Packit |
874993 |
#
|
|
Packit |
874993 |
# {$(srcdir)}.$(srcext){$(destdir)}.exe::
|
|
Packit |
874993 |
# $(CC)|$(CXX) $(cflags) $< /Fo$*.obj /Fe$@ [/link $(linker_flags) $(dep_libs)]
|
|
Packit |
874993 |
{..\src\}.cc{$(CFG)\$(PLAT)\}.exe:
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_CFLAGS) $< /Fo$*.obj /Fe$@ /link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_TESTS_DEP_LIBS)
|
|
Packit |
874993 |
|
|
Packit |
874993 |
{..\test\api\}.c{$(CFG)\$(PLAT)\}.exe:
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_CFLAGS) /DSRCDIR="\"../../../test/api\"" $< /Fo$*.obj /Fe$@ /link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_TESTS_DEP_LIBS)
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Rules for building .lib files
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\harfbuzz.lib: $(HARFBUZZ_DLL_FILENAME).dll
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\harfbuzz-gobject.lib: $(HARFBUZZ_GOBJECT_DLL_FILENAME).dll
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Rules for linking DLLs
|
|
Packit |
874993 |
# Format is as follows (the mt command is needed for MSVC 2005/2008 builds):
|
|
Packit |
874993 |
# $(dll_name_with_path): $(dependent_libs_files_objects_and_items)
|
|
Packit |
874993 |
# link /DLL [$(linker_flags)] [$(dependent_libs)] [/def:$(def_file_if_used)] [/implib:$(lib_name_if_needed)] -out:$@ @<<
|
|
Packit |
874993 |
# $(dependent_objects)
|
|
Packit |
874993 |
# <<
|
|
Packit |
874993 |
# @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2
|
|
Packit |
874993 |
$(HARFBUZZ_DLL_FILENAME).dll: config.h $(HB_RAGEL_GENERATED_ACTUAL_SOURCES) $(harfbuzz_dll_OBJS) $(CFG)\$(PLAT)\harfbuzz
|
|
Packit |
874993 |
link /DLL $(LDFLAGS) $(HB_DEP_LIBS) /implib:$(CFG)\$(PLAT)\harfbuzz.lib -out:$@ @<<
|
|
Packit |
874993 |
$(harfbuzz_dll_OBJS)
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
@-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2
|
|
Packit |
874993 |
|
|
Packit |
874993 |
$(HARFBUZZ_GOBJECT_DLL_FILENAME).dll: $(CFG)\$(PLAT)\harfbuzz.lib $(harfbuzz_gobject_OBJS) $(CFG)\$(PLAT)\harfbuzz-gobject
|
|
Packit |
874993 |
link /DLL $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_GOBJECT_DEP_LIBS) /implib:$(CFG)\$(PLAT)\harfbuzz-gobject.lib -out:$@ @<<
|
|
Packit |
874993 |
$(harfbuzz_gobject_OBJS)
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
@-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Rules for linking Executables
|
|
Packit |
874993 |
# Format is as follows (the mt command is needed for MSVC 2005/2008 builds):
|
|
Packit |
874993 |
# $(dll_name_with_path): $(dependent_libs_files_objects_and_items)
|
|
Packit |
874993 |
# link [$(linker_flags)] [$(dependent_libs)] -out:$@ @<<
|
|
Packit |
874993 |
# $(dependent_objects)
|
|
Packit |
874993 |
# <<
|
|
Packit |
874993 |
# @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\hb-view.exe: $(CFG)\$(PLAT)\harfbuzz.lib $(CFG)\$(PLAT)\util $(hb_view_OBJS)
|
|
Packit |
874993 |
link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_UTILS_DEP_LIBS) -out:$@ @<<
|
|
Packit |
874993 |
$(hb_view_OBJS)
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
@-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1
|
|
Packit |
874993 |
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\hb-shape.exe: $(CFG)\$(PLAT)\harfbuzz.lib $(CFG)\$(PLAT)\util $(hb_shape_OBJS)
|
|
Packit |
874993 |
link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_UTILS_DEP_LIBS) -out:$@ @<<
|
|
Packit |
874993 |
$(hb_shape_OBJS)
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
@-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1
|
|
Packit |
874993 |
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\hb-ot-shape-closure.exe: $(CFG)\$(PLAT)\harfbuzz.lib $(CFG)\$(PLAT)\util $(hb_ot_shape_closure_OBJS)
|
|
Packit |
874993 |
link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_UTILS_DEP_LIBS) -out:$@ @<<
|
|
Packit |
874993 |
$(hb_ot_shape_closure_OBJS)
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
@-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1
|
|
Packit |
874993 |
|
|
Packit |
874993 |
# Other .obj files requiring individual attention, that could not be covered by the inference rules.
|
|
Packit |
874993 |
# Format is as follows (all dirs must have a trailing '\'):
|
|
Packit |
874993 |
#
|
|
Packit |
874993 |
# $(obj_file):
|
|
Packit |
874993 |
# $(CC)|$(CXX) $(cflags) /Fo$(obj_destdir) /c @<<
|
|
Packit |
874993 |
# $(srcfile)
|
|
Packit |
874993 |
# <<
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-structs.obj: $(CFG)\$(PLAT)\harfbuzz-gobject $(HB_GOBJECT_ENUM_GENERATED_SOURCES)
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_LIB_CFLAGS) /I$(CFG)\$(PLAT)\harfbuzz-gobject /Fo$(CFG)\$(PLAT)\harfbuzz-gobject\ /c @<<
|
|
Packit |
874993 |
..\src\hb-gobject-structs.cc
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.obj: $(CFG)\$(PLAT)\harfbuzz-gobject $(HB_GOBJECT_ENUM_GENERATED_SOURCES)
|
|
Packit |
874993 |
$(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_LIB_CFLAGS) /I$(CFG)\$(PLAT)\harfbuzz-gobject /Fo$(CFG)\$(PLAT)\harfbuzz-gobject\ /c @<<
|
|
Packit |
874993 |
$(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc
|
|
Packit |
874993 |
<<
|
|
Packit |
874993 |
|
|
Packit |
874993 |
clean:
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\HarfBuzz-0.0.typelib del /f /q $(CFG)\$(PLAT)\HarfBuzz-0.0.typelib
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\HarfBuzz-0.0.gir del /f /q $(CFG)\$(PLAT)\HarfBuzz-0.0.gir
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\hb_list del /f /q $(CFG)\$(PLAT)\hb_list
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\*.pdb
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\.exe.manifest del /f /q $(CFG)\$(PLAT)\*.exe.manifest
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\.exe del /f /q $(CFG)\$(PLAT)\*.exe
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\*.dll.manifest
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\*.dll
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\*.ilk
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\*.obj
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\util del /f /q $(CFG)\$(PLAT)\util\*.obj
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\harfbuzz-gobject del /f /q $(CFG)\$(PLAT)\harfbuzz-gobject\*.obj
|
|
Packit |
874993 |
@-del /f /q $(CFG)\$(PLAT)\harfbuzz\*.obj
|
|
Packit |
874993 |
@-rmdir /s /q $(CFG)\$(PLAT)
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.h del $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.h
|
|
Packit |
874993 |
@-if exist $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc del $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc
|
|
Packit |
874993 |
@-del vc$(VSVER)0.pdb
|
|
Packit |
874993 |
@-del config.h
|
|
Packit |
874993 |
|
|
Packit |
874993 |
reallyclean: clean
|
|
Packit |
874993 |
@-del /f /q $(HB_RAGEL_GENERATED_ACTUAL_SOURCES)
|