Makefile 717 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Makefile
  3. #
  4. # Makefile for Poco HTTPTimeServer
  5. #
  6. include $(POCO_BASE)/build/rules/global
  7. # Cygwin Poco*.dll should be on PATH
  8. ifeq ($(OSNAME), CYGWIN)
  9. PATH :=$(LIBPATH):$(PATH)
  10. endif
  11. # Where to find the PageCompiler executable
  12. PAGECOMPILER = $(POCO_BUILD)/PageCompiler/bin/$(OSNAME)/$(OSARCH)/cpspc
  13. objects = HTTPTimeServerApp TimeHandler
  14. target = HTTPTimeServer
  15. target_version = 1
  16. target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation
  17. include $(POCO_BASE)/build/rules/exec
  18. ifdef POCO_UNBUNDLED
  19. SYSLIBS += -lz -lpcre -lexpat
  20. endif
  21. # Rule for runnning PageCompiler
  22. src/%.cpp: src/%.cpsp
  23. @echo "** Compiling Page" $<
  24. $(SET_LD_LIBRARY_PATH) $(PAGECOMPILER) $<