Home | History | Annotate | Download | only in win32
      1 # NMake Makefile for building HarfBuzz as a DLL on Windows
      2 
      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):
      6 #
      7 # detectenv-msvc.mak
      8 # config-msvc.mak
      9 
     10 !include detectenv-msvc.mak
     11 
     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
     16 
     17 # Include the Makefile portion that enables features based on user input
     18 !include config-msvc.mak
     19 
     20 !if "$(VALID_CFGSET)" == "TRUE"
     21 
     22 # Include the Makefile portion to convert the source and header lists
     23 # into the lists we need for compilation and introspection
     24 !include create-lists-msvc.mak
     25 
     26 all: $(HB_LIBS) $(HB_UTILS) $(EXTRA_TARGETS) all-build-info
     27 
     28 tests: all $(HB_TESTS)
     29 
     30 # Include the build rules for sources, DLLs and executables
     31 !include build-rules-msvc.mak
     32 
     33 # Include the rules for build directory creation and code generation
     34 !include generate-msvc.mak
     35 
     36 # Generate the introspection files
     37 
     38 !if "$(INTROSPECTION)" == "1"
     39 # Include the rules for building the introspection files
     40 !include introspection-msvc.mak
     41 !include hb-introspection-msvc.mak
     42 !endif
     43 
     44 !include install.mak
     45 
     46 !else
     47 all: help
     48 	@echo You need to specify a valid configuration, via
     49 	@echo CFG=release or CFG=debug
     50 !endif
     51 
     52 !include info-msvc.mak
     53