components/getopt/Makefile
changeset 3817 30b42c38bbc4
parent 2145 bdf83a99948d
child 3884 900fc6843a9d
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		getopt
    28 COMPONENT_NAME=		getopt
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/$(COMPONENT_ARCHIVE)
    36 COMPONENT_BUGDB=	utility/gnu-getopt
    36 COMPONENT_BUGDB=	utility/gnu-getopt
    37 
    37 
    38 TPNO=			11356
    38 TPNO=			11356
    39 
    39 
    40 include ../../make-rules/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    41 include ../../make-rules/justmake.mk
    41 include $(WS_MAKE_RULES)/justmake.mk
    42 include ../../make-rules/ips.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    43 
    43 
    44 # getopt doesn't use configure, override the hard-wired values in the Makefile.
    44 # getopt doesn't use configure, override the hard-wired values in the Makefile.
    45 CC += "$(CC_BITS)"
    45 CC += "$(CC_BITS)"
    46 COMPONENT_BUILD_ARGS+=	CC="$(CC)"
    46 COMPONENT_BUILD_ARGS+=	CC="$(CC)"
    47 COMPONENT_BUILD_ARGS+=	CFLAGS="$(CFLAGS)"
    47 COMPONENT_BUILD_ARGS+=	CFLAGS="$(CFLAGS)"
    72 
    72 
    73 install:	$(INSTALL_64)
    73 install:	$(INSTALL_64)
    74 
    74 
    75 test:		$(TEST_64)
    75 test:		$(TEST_64)
    76 
    76 
    77 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    78 
    77 
    79 include ../../make-rules/depend.mk
    78 REQUIRED_PACKAGES += system/library