2012-04-23 03:14:34 +02:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# Makefile for Poco HTTPTimeServer
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
2015-11-12 17:29:00 +01:00
|
|
|
# Cygwin Poco*.dll should be on PATH
|
|
|
|
ifeq ($(OSNAME), CYGWIN)
|
2015-11-15 09:01:39 +01:00
|
|
|
PATH :=$(LIBPATH):$(PATH)
|
2015-11-12 17:29:00 +01:00
|
|
|
endif
|
|
|
|
|
2012-04-23 03:14:34 +02:00
|
|
|
# Where to find the PageCompiler executable
|
2015-11-15 09:01:39 +01:00
|
|
|
PAGECOMPILER = $(POCO_BUILD)/PageCompiler/bin/$(OSNAME)/$(OSARCH)/cpspc
|
2012-04-23 03:14:34 +02:00
|
|
|
|
2015-11-12 17:29:00 +01:00
|
|
|
objects = HTTPTimeServerApp TimeHandler
|
2012-04-23 03:14:34 +02:00
|
|
|
|
|
|
|
target = HTTPTimeServer
|
|
|
|
target_version = 1
|
2013-01-05 07:04:09 +01:00
|
|
|
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation
|
2012-04-23 03:14:34 +02:00
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/exec
|
|
|
|
|
2013-01-05 07:04:09 +01:00
|
|
|
ifdef POCO_UNBUNDLED
|
|
|
|
SYSLIBS += -lz -lpcre -lexpat
|
|
|
|
endif
|
|
|
|
|
2012-04-23 03:14:34 +02:00
|
|
|
# Rule for runnning PageCompiler
|
|
|
|
src/%.cpp: src/%.cpsp
|
|
|
|
@echo "** Compiling Page" $<
|
2016-03-06 16:24:36 +01:00
|
|
|
$(SET_LD_LIBRARY_PATH) $(PAGECOMPILER) $<
|