components/gdbm/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 3899 aa25d29e7836
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		gdbm
    25 COMPONENT_NAME=		gdbm
    26 COMPONENT_VERSION=	1.8.3
    26 COMPONENT_VERSION=	1.8.3
    32 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    32 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    33 COMPONENT_BUGDB=	library/libgdbm
    33 COMPONENT_BUGDB=	library/libgdbm
    34 
    34 
    35 TPNO=			8440
    35 TPNO=			8440
    36 
    36 
    37 include ../../make-rules/prep.mk
    37 include $(WS_MAKE_RULES)/prep.mk
    38 include ../../make-rules/configure.mk
    38 include $(WS_MAKE_RULES)/configure.mk
    39 include ../../make-rules/ips.mk
    39 include $(WS_MAKE_RULES)/ips.mk
    40 
    40 
    41 CONFIGURE_OPTIONS +=	--disable-static
    41 CONFIGURE_OPTIONS +=	--disable-static
    42 CONFIGURE_OPTIONS +=	--enable-shared
    42 CONFIGURE_OPTIONS +=	--enable-shared
    43 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    43 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    44 
    44 
    57 # manually run the tests (testdbm, testgdbm, etc) by hand and verify
    57 # manually run the tests (testdbm, testgdbm, etc) by hand and verify
    58 # the DB operations.
    58 # the DB operations.
    59 COMPONENT_TEST_TARGETS =	progs
    59 COMPONENT_TEST_TARGETS =	progs
    60 test:	$(TEST_32_and_64)
    60 test:	$(TEST_32_and_64)
    61 
    61 
    62 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    63 
    62 
    64 include ../../make-rules/depend.mk
    63 REQUIRED_PACKAGES += system/library