equal
deleted
inserted
replaced
15 # If applicable, add the following below this CDDL HEADER, with the |
15 # If applicable, add the following below this CDDL HEADER, with the |
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 |
21 # |
22 # |
22 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # |
24 # |
24 |
25 BUILD_BITS= 64 |
25 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
26 |
27 |
27 COMPONENT_NAME= unzip |
28 COMPONENT_NAME= unzip |
28 COMPONENT_VERSION= 6.0 |
29 COMPONENT_VERSION= 6.0 |
29 COMPONENT_SRC= $(COMPONENT_NAME)60 |
30 COMPONENT_SRC= $(COMPONENT_NAME)60 |
34 COMPONENT_PROJECT_URL=http://www.info-zip.org/UnZip.html |
35 COMPONENT_PROJECT_URL=http://www.info-zip.org/UnZip.html |
35 COMPONENT_BUGDB= utility/zip |
36 COMPONENT_BUGDB= utility/zip |
36 |
37 |
37 TPNO= 16388 |
38 TPNO= 16388 |
38 |
39 |
39 include $(WS_MAKE_RULES)/prep.mk |
40 BUILD_STYLE= justmake |
40 include $(WS_MAKE_RULES)/justmake.mk |
41 TEST_TARGET= $(NO_TESTS) |
41 include $(WS_MAKE_RULES)/ips.mk |
42 include $(WS_MAKE_RULES)/common.mk |
42 |
43 |
43 # remove the unwanted file. |
44 # remove the unwanted file. |
44 COMPONENT_PREP_ACTION = $(RM) $(SOURCE_DIR)/crc_i386.S |
45 COMPONENT_PREP_ACTION = $(RM) $(SOURCE_DIR)/crc_i386.S |
45 |
46 |
46 COMPONENT_BUILD_ENV += \ |
47 COMPONENT_BUILD_ENV += \ |
54 |
55 |
55 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install. |
56 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install. |
56 COMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR) |
57 COMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR) |
57 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR) |
58 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR) |
58 |
59 |
59 # Enable ASLR for this component |
|
60 ASLR_MODE = $(ASLR_ENABLE) |
|
61 |
|
62 # common targets |
|
63 |
|
64 build: $(BUILD_64) |
|
65 |
|
66 install: $(INSTALL_64) |
|
67 |
|
68 test: $(NO_TESTS) |
|
69 |
|
70 system-test: $(NO_TESTS) |
|
71 |
|
72 |
|
73 REQUIRED_PACKAGES += shell/ksh93 |
60 REQUIRED_PACKAGES += shell/ksh93 |
74 REQUIRED_PACKAGES += system/library |
|