• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NMake Makefile portion for code generation and
2# intermediate build directory creation
3# Items in here should not need to be edited unless
4# one is maintaining the NMake build files.
5
6# Create the build directories
7vs$(VSVER)\$(CFG)\$(PLAT)\libpsl	\
8vs$(VSVER)\$(CFG)\$(PLAT)\psl	\
9vs$(VSVER)\$(CFG)\$(PLAT)\tests:
10	@-md $@
11
12vs$(VSVER)\$(CFG)\$(PLAT)\libpsl\suffixes_dafsa.h: vs$(VSVER)\$(CFG)\$(PLAT)\libpsl $(PSL_FILE) ..\src\psl-make-dafsa
13	@echo Generating $@
14	$(PYTHON) ..\src\psl-make-dafsa --output-format=cxx+ "$(PSL_FILE_INPUT)" $@
15
16vs$(VSVER)\$(CFG)\$(PLAT)\psl.dafsa: vs$(VSVER)\$(CFG)\$(PLAT)\tests
17	@echo Generating $@
18	$(PYTHON) ..\src\psl-make-dafsa --output-format=binary "$(PSL_FILE_INPUT)" $@
19
20vs$(VSVER)\$(CFG)\$(PLAT)\psl_ascii.dafsa: vs$(VSVER)\$(CFG)\$(PLAT)\tests
21	@echo Generating $@
22	$(PYTHON) ..\src\psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE_INPUT)" $@
23
24libpsl.pc: ..\libpsl.pc.in
25	@echo Generating $@
26	$(PYTHON) libpsl-pc.py --name=$(PACKAGE_NAME)	\
27	--version=$(PACKAGE_VERSION) --url=$(PACKAGE_URL) --prefix=$(PREFIX)
28
29..\config.h: config.h.win32
30	@echo Generating $@
31	@copy $** $@
32