2012-04-23 03:14:34 +02:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# $Id: //poco/1.4/PageCompiler/samples/HTTPTimeServer/Makefile#1 $
|
|
|
|
#
|
|
|
|
# Makefile for Poco HTTPTimeServer
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
|
|
|
# Where to find the PageCompiler executable
|
2012-07-27 04:01:39 +02:00
|
|
|
PAGECOMPILER = $(POCO_BASE)/PageCompiler/bin/$(POCO_HOST_OSNAME)/$(POCO_HOST_OSARCH)/cpspc
|
2012-04-23 03:14:34 +02:00
|
|
|
|
|
|
|
objects = HTTPTimeServerApp TimeHandler
|
|
|
|
|
|
|
|
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" $<
|
|
|
|
$(PAGECOMPILER) $<
|