Makefile revision 2348
5f5870385cff47efd2f58e7892f251cf13761528Timo Sirainen#
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Sirainen# CDDL HEADER START
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8Mark Washenberger#
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Sirainen# The contents of this file are subject to the terms of the
c96eb61168670cfdd7596baba18856d3f086a093Timo Sirainen# Common Development and Distribution License (the "License").
3398d5e2b883812de5d569721c8294b581e1d9e6Timo Sirainen# You may not use this file except in compliance with the License.
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen#
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen# or http://www.opensolaris.org/os/licensing.
16c89b1260c9d07c01c83a9219424d3727069b2eTimo Sirainen# See the License for the specific language governing permissions
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen# and limitations under the License.
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen#
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8Mark Washenberger# When distributing Covered Code, include this CDDL HEADER in each
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d756ebcfa96bd7cff02097c8f26df9df368b81b1Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen#
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen# CDDL HEADER END
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen#
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen#
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Siraineninclude ../../make-rules/shared-macros.mk
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3Timo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_NAME= ptpd
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_VERSION= 2.2.0
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenIPS_COMPONENT_VERSION= $(COMPONENT_VERSION)
39e6fcc3e8b1ccb13087c232cb6bdea04d1a20a4Timo SirainenCOMPONENT_PROJECT_URL= http://ptpd.sourceforge.net/
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_ARCHIVE_HASH= \
fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79Timo Sirainen sha256:f2266a22db84318d8b9ce266ea83772c03438c31f4993fa9643fa675a07c26b4
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPONENT_ARCHIVE_URL= \
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen http://downloads.sourceforge.net/project/ptpd/ptpd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo SirainenCOMPONENT_BUGDB= service/ptpd
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Siraineninclude ../../make-rules/prep.mk
8039af9679af6fb56116b353fe44f7dd4c08f031Timo Siraineninclude ../../make-rules/justmake.mk
923eb3dde28e4d8841c14fd6b4a69635b7070c3eTimo Siraineninclude ../../make-rules/ips.mk
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenPATCH_LEVEL = 1
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo SirainenPKG_PROTO_DIRS += $(BUILD_DIR_64)
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo SirainenCOMPILER = gcc
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
150e64c376365becf1ec5c9d45912ecb840eea96Timo SirainenCOMPONENT_BUILD_ENV += CC=$(CC)
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen
150e64c376365becf1ec5c9d45912ecb840eea96Timo Sirainen# Enable ASLR for this component
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo SirainenASLR_MODE = $(ASLR_ENABLE)
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4Timo Sirainen
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainenbuild: $(BUILD_64)
c4267cf4c40fb1f866b5958ff122ef836b8c5dfbTimo Sirainen
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Siraineninstall: $(INSTALL_64)
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainentest: $(NO_TESTS)
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo SirainenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Sirainen
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637Timo Siraineninclude ../../make-rules/depend.mk
7bd72e4deca3cbf757dd1ea298486d9f3bc24226Timo Sirainen
7bd72e4deca3cbf757dd1ea298486d9f3bc24226Timo Sirainen
7bd72e4deca3cbf757dd1ea298486d9f3bc24226Timo Sirainen