components/ptp/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3769 d867aacebb01
--- a/components/ptp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ptp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -21,6 +21,8 @@
 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER =      gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		ptpd
@@ -38,16 +40,14 @@
 TPNO_PTP=		12665
 TPNO_SOLARFLARE=	15817
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =	1
 
 PKG_PROTO_DIRS += $(BUILD_DIR_64)
 
-COMPILER =      gcc
-
 COMPONENT_BUILD_ENV  +=         CC=$(CC)
 
 # Enable ASLR for this component
@@ -59,8 +59,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
 
 
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libv12n
+REQUIRED_PACKAGES += system/library/math