diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 17:19:12 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 17:19:12 +0100 |
commit | fa863355cafc901612cbf18a8dda97cdcf9d502b (patch) | |
tree | c46ccbb9b50d4dc6d9ae4348cd5d77336c7c1bfd /makefiles | |
parent | 412325bd35c084c7e9bea62801774516a0baf0a9 (diff) | |
download | wolfbones-fa863355cafc901612cbf18a8dda97cdcf9d502b.tar.gz wolfbones-fa863355cafc901612cbf18a8dda97cdcf9d502b.tar.bz2 |
added a GENGETOPT section in platform.mk and fixed testd GNUmakefile
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/gmake/platform.mk | 20 |
1 files changed, 20 insertions, 0 deletions
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 |