From 500b0fe0e8819bb25c3a7475a64006861a11a438 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 5 Apr 2007 04:18:42 +0000 Subject: [PATCH] pass -D options to gen_pace.pl --- palm/Makefile.PNO | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/palm/Makefile.PNO b/palm/Makefile.PNO index 15734a5a8..fbbd662df 100644 --- a/palm/Makefile.PNO +++ b/palm/Makefile.PNO @@ -37,6 +37,11 @@ INCLUDE += \ ifneq (, $(findstring XWFEATURE_FIVEWAY,$(MYDEFS))) INCLUDE += -I/usr/local/share/palmdev/Handspring5 INCLUDE += -I/usr/local/share/palmdev/Handspring5/68K +GENDEFS += -DXWFEATURE_FIVEWAY +endif + +ifneq (, $(findstring XWFEATURE_BLUETOOTH,$(MYDEFS))) +GENDEFS += -DXWFEATURE_BLUETOOTH endif INCLUDE += \ @@ -119,7 +124,7 @@ pace_gen.c pace_gen.h: ./gen_pace.pl funcfile.txt -file $(PALMDIR)/Extensions/ExpansionMgr \ -file $(PALMDIR)/Extensions/Bluetooth \ -file /usr/local/share/palmdev/Handspring5/68K/System \ - -oc pace_gen.c -oh pace_gen.h + -oc pace_gen.c -oh pace_gen.h $(GENDEFS) rm -f _dirList clean: