1 # NMake Makefile for building HarfBuzz as a DLL on Windows
3 # The items below this line should not be changed, unless one is maintaining
4 # the NMake Makefiles. Customizations can be done in the following NMake Makefile
5 # portions (please see comments in the these files to see what can be customized):
10 !include detectenv-msvc.mak
12 # Include the Makefile portions with the source listings
13 !include ..\src\Makefile.sources
14 !include ..\src\hb-ucdn\Makefile.sources
15 !include ..\util\Makefile.sources
17 # We need to include the sources in ..\src\hb-ucdn indirectly
18 !if [call create-lists.bat header hb_ucdn_srcs.mak hb_ucdn_SRCS]
21 !if [for %c in ($(LIBHB_UCDN_sources)) do @call create-lists.bat file hb_ucdn_srcs.mak hb-ucdn\%c]
24 !if [call create-lists.bat footer hb_ucdn_srcs.mak]
27 !include hb_ucdn_srcs.mak
29 !if [del /f /q hb_ucdn_srcs.mak]
32 # Include the Makefile portion that enables features based on user input
33 !include config-msvc.mak
35 !if "$(VALID_CFGSET)" == "TRUE"
37 # Include the Makefile portion to convert the source and header lists
38 # into the lists we need for compilation and introspection
39 !include create-lists-msvc.mak
41 all: $(HB_LIBS) $(HB_UTILS) $(EXTRA_TARGETS) all-build-info
43 tests: all $(HB_TESTS)
45 # Include the build rules for sources, DLLs and executables
46 !include build-rules-msvc.mak
48 # Include the rules for build directory creation and code generation
49 !include generate-msvc.mak
51 # Generate the introspection files
53 !if "$(INTROSPECTION)" == "1"
54 # Include the rules for building the introspection files
55 !include introspection-msvc.mak
56 !include hb-introspection-msvc.mak
63 @echo You need to specify a valid configuration, via
64 @echo CFG=release or CFG=debug
67 !include info-msvc.mak