2018-04-24 12:51:04 +02:00
|
|
|
# NMake Makefile portion for code generation and
|
|
|
|
# intermediate build directory creation
|
|
|
|
# Items in here should not need to be edited unless
|
|
|
|
# one is maintaining the NMake build files.
|
|
|
|
|
|
|
|
# Create the build directories
|
2019-10-30 10:50:48 +01:00
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\libpsl \
|
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\psl \
|
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\tests:
|
2018-04-24 12:51:04 +02:00
|
|
|
@-md $@
|
|
|
|
|
2019-10-30 10:50:48 +01:00
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\libpsl\suffixes_dafsa.h: vs$(VSVER)\$(CFG)\$(PLAT)\libpsl $(PSL_FILE) ..\src\psl-make-dafsa
|
2018-04-24 12:51:04 +02:00
|
|
|
@echo Generating $@
|
|
|
|
$(PYTHON) ..\src\psl-make-dafsa --output-format=cxx+ "$(PSL_FILE_INPUT)" $@
|
|
|
|
|
2019-10-30 10:50:48 +01:00
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\psl.dafsa: vs$(VSVER)\$(CFG)\$(PLAT)\tests
|
2018-04-24 12:51:04 +02:00
|
|
|
@echo Generating $@
|
|
|
|
$(PYTHON) ..\src\psl-make-dafsa --output-format=binary "$(PSL_FILE_INPUT)" $@
|
|
|
|
|
2019-10-30 10:50:48 +01:00
|
|
|
vs$(VSVER)\$(CFG)\$(PLAT)\psl_ascii.dafsa: vs$(VSVER)\$(CFG)\$(PLAT)\tests
|
2018-04-24 12:51:04 +02:00
|
|
|
@echo Generating $@
|
|
|
|
$(PYTHON) ..\src\psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE_INPUT)" $@
|
|
|
|
|
|
|
|
libpsl.pc: ..\libpsl.pc.in
|
|
|
|
@echo Generating $@
|
|
|
|
$(PYTHON) libpsl-pc.py --name=$(PACKAGE_NAME) \
|
|
|
|
--version=$(PACKAGE_VERSION) --url=$(PACKAGE_URL) --prefix=$(PREFIX)
|
|
|
|
|
|
|
|
..\config.h: config.h.win32
|
|
|
|
@echo Generating $@
|
|
|
|
@copy $** $@
|