From fa863355cafc901612cbf18a8dda97cdcf9d502b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 18 Mar 2009 17:19:12 +0100 Subject: added a GENGETOPT section in platform.mk and fixed testd GNUmakefile --- makefiles/gmake/platform.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'makefiles') diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk index 36d4d63..f9d6ec7 100644 --- a/makefiles/gmake/platform.mk +++ b/makefiles/gmake/platform.mk @@ -121,3 +121,23 @@ endif PLATFORM_COMPILE_FLAGS += \ -DENABLE_NLS=$(ENABLE_NLS) + +# command line parser generator gengetopt +######################################## + +# location of gengetopt (default: in the path) +GENGETOPT=gengetopt + +# some platform either have no getopt/getopt_long or a broken one, so +# gengetopt can include its own one + +GENGETOPT_INCLUDE_GETOPT = + +ifeq "$(PLATFORM)" "SUNOS" +ifeq "$(OS_MAJOR_VERSION)" "5" +ifeq "$(OS_MINOR_VERSION)" "8" +GENGETOPT_INCLUDE_GETOPT = --include-getopt +endif +endif + +endif -- cgit v1.2.3-54-g00ecf