components/getopt/Makefile
changeset 1394 5f86498eee95
parent 1211 72f88619e71d
child 1948 2d1537e7942d
equal deleted inserted replaced
1393:300d3de848bb 1394:5f86498eee95
    38 include ../../make-rules/prep.mk
    38 include ../../make-rules/prep.mk
    39 include ../../make-rules/justmake.mk
    39 include ../../make-rules/justmake.mk
    40 include ../../make-rules/ips.mk
    40 include ../../make-rules/ips.mk
    41 
    41 
    42 # getopt doesn't use configure, override the hard-wired values in the Makefile.
    42 # getopt doesn't use configure, override the hard-wired values in the Makefile.
    43 COMPONENT_BUILD_ARGS+=	CC="$(SPRO_VROOT)/bin/cc $(CC_BITS)"
    43 CC += "$(CC_BITS)"
       
    44 COMPONENT_BUILD_ARGS+=	CC="$(CC)"
    44 COMPONENT_BUILD_ARGS+=	CFLAGS="$(CFLAGS)"
    45 COMPONENT_BUILD_ARGS+=	CFLAGS="$(CFLAGS)"
    45 COMPONENT_BUILD_ARGS+=	LIBCGETOPT=0
    46 COMPONENT_BUILD_ARGS+=	LIBCGETOPT=0
    46 
    47 
    47 COMPONENT_INSTALL_ARGS+=	prefix=/usr/gnu
    48 COMPONENT_INSTALL_ARGS+=	prefix=/usr/gnu
    48 COMPONENT_INSTALL_ARGS+=	mandir=/usr/gnu/share/man
    49 COMPONENT_INSTALL_ARGS+=	mandir=/usr/gnu/share/man
    49 COMPONENT_INSTALL_ARGS+=	CC="$(SPRO_VROOT)/bin/cc $(CC_BITS)"
    50 COMPONENT_INSTALL_ARGS+=	CC="$(CC)"
    50 COMPONENT_INSTALL_ARGS+=	CFLAGS="$(CFLAGS)"
    51 COMPONENT_INSTALL_ARGS+=	CFLAGS="$(CFLAGS)"
    51 
    52 
    52 # Stupid source tarball distribution contains two .o files.
    53 # Stupid source tarball distribution contains two .o files.
    53 COMPONENT_POST_UNPACK_ACTION= \
    54 COMPONENT_POST_UNPACK_ACTION= \
    54 	$(RM) $(COMPONENT_SRC)/gnu/*.o
    55 	$(RM) $(COMPONENT_SRC)/gnu/*.o