How to differentiate between BSD and OSX and POST_STRIP_PROCESS

Kelly O'Hair Kelly.Ohair at Sun.COM
Sun Sep 28 12:16:32 PDT 2008


Maybe something along the lines of this?

UNAME_S := $(shell uname -s)
POST_STRIP_PROCESS-Darwin= ...
POST_STRIP_PROCESS-Linux= ...
POST_STRIP_PROCESS-SunOS= ...
...
POST_STRIP_PROCESS=$(POST_STRIP_PROCESS-$(UNAME_S))

-kto

Michael Franz wrote:
> Hi,
> 
> To remove the '-g' parameter to the strip command I would like to add 
> the check for OS X.  The file jdk/make/common/Defs-bsd.gmk has a macro 
> that defines POST_STRIP_PROCESS, what variable is the correct one for 
> differentiation between bsd and the OS X flavor?
> 
> Michael
> 
> 
> ------------------------------------------------------------------------
> 
> 



More information about the bsd-port-dev mailing list