usr/src/cmd/getconf/Makefile
changeset 1325 6cca126e26d1
parent 0 68f95e015346
child 13834 58bc6f85b799
equal deleted inserted replaced
1324:3b31c5d007bf 1325:6cca126e26d1
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 #
    19 #
    20 # CDDL HEADER END
    20 # CDDL HEADER END
    21 #
    21 #
    22 #
    22 #
    23 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
    23 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    24 # Use is subject to license terms.
    24 # Use is subject to license terms.
    25 #
    25 #
    26 #ident	"%Z%%M%	%I%	%E% SMI"
    26 #ident	"%Z%%M%	%I%	%E% SMI"
    27 
    27 
    28 PROG= getconf
    28 PROG= getconf
    66 # For XPG4, we need to link with a local version of values-xpg4.o because
    66 # For XPG4, we need to link with a local version of values-xpg4.o because
    67 # the compiler only imports this by default (from /usr/lib/values-xpg4.o)
    67 # the compiler only imports this by default (from /usr/lib/values-xpg4.o)
    68 # if we use the c89 utility as opposed to cc.
    68 # if we use the c89 utility as opposed to cc.
    69 
    69 
    70 XPG6MODE = $(C99_ENABLE)
    70 XPG6MODE = $(C99_ENABLE)
    71 $(__GNUC)XPG6MODE = $(C99_ENABLE)
       
    72 $(XPG6) := C99MODE = $(XPG6MODE)
    71 $(XPG6) := C99MODE = $(XPG6MODE)
    73 $(XPG6) := CFLAGS += -D_XOPEN_SOURCE=600 -I$(SRC)/lib/libc/inc
    72 $(XPG6) := CFLAGS += -D_XOPEN_SOURCE=600 -I$(SRC)/lib/libc/inc
    74 
    73 
    75 .KEEP_STATE:
    74 .KEEP_STATE:
    76 
    75