Makefile revision 3996
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews#
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews# CDDL HEADER START
3d78993c6d415f600f57520d1566627b5535d715Mark Andrews#
8c850a29eda020642c84038e449d60f124c6123bMark Andrews# The contents of this file are subject to the terms of the
8c850a29eda020642c84038e449d60f124c6123bMark Andrews# Common Development and Distribution License (the "License").
8c850a29eda020642c84038e449d60f124c6123bMark Andrews# You may not use this file except in compliance with the License.
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews#
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews# or http://www.opensolaris.org/os/licensing.
da31aff2f2a2163dafeea65c63f16d8f3fca05c5Mark Andrews# See the License for the specific language governing permissions
e8ca2abed76b550fd3baddcfb17f2c9a630d6b71Mark Andrews# and limitations under the License.
e8ca2abed76b550fd3baddcfb17f2c9a630d6b71Mark Andrews#
e8ca2abed76b550fd3baddcfb17f2c9a630d6b71Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
81d9d7a10e52b421d7f4784c48ae995b13203c59Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
301f6ffbbeabcbf765f8163f4ffb7f6f0146b926Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
301f6ffbbeabcbf765f8163f4ffb7f6f0146b926Mark Andrews#
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews# CDDL HEADER END
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews#
9e4b25fc3eb5777202147634d789345d893b4539Mark Andrews# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
7314547af7aa1dd25d690dd3f034d49e5cc8fa9dMark Andrews#
7314547af7aa1dd25d690dd3f034d49e5cc8fa9dMark Andrews
541b9722d8031485922ab11221c2e747c0262cf5Mark AndrewsCOMPILER = gcc3
541b9722d8031485922ab11221c2e747c0262cf5Mark Andrews
541b9722d8031485922ab11221c2e747c0262cf5Mark Andrewsinclude ../../make-rules/shared-macros.mk
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark Andrews
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark AndrewsCOMPONENT_NAME= rsyslog
ddaeaddf2b9148ce3e6ec5fecc48f64ea5826faeMark AndrewsCOMPONENT_VERSION= 6.2.0
a6f7fdcc039de75e9a20da90044caa814f0357a3Michael GraffCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a6f7fdcc039de75e9a20da90044caa814f0357a3Michael GraffCOMPONENT_PROJECT_URL= http://rsyslog.com/
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark AndrewsCOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
d7e8610d31d83ff863e8b2dc05c238376c35e949Mark AndrewsCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
7e8214191899dc8043babdfbe9235ba14c825005Mark AndrewsCOMPONENT_BUGDB= utility/logger
7e8214191899dc8043babdfbe9235ba14c825005Mark Andrews
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark AndrewsTPNO= 7585
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark Andrews
c4dc5966e0a66f4d75677f1634eff3b45baf988eMark Andrewsinclude $(WS_MAKE_RULES)/prep.mk
9429f5a8318bd2142280c949d4af05998ca348a2Evan Huntinclude $(WS_MAKE_RULES)/configure.mk
9429f5a8318bd2142280c949d4af05998ca348a2Evan Huntinclude $(WS_MAKE_RULES)/ips.mk
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt# This is needed for things to be built correctly.
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan HuntCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
0899d16ebd6a70bb027e7899c53e7f542ebc987bEvan Hunt
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark AndrewsCONFIGURE_OPTIONS += --enable-imsolaris
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark AndrewsCONFIGURE_OPTIONS += --enable-mail
d2e440ca30f27468443ccc7e21db0b8e10c4faf8Mark AndrewsCONFIGURE_OPTIONS += --enable-gssapi_krb5
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark AndrewsCONFIGURE_OPTIONS += --enable-gnutls
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark AndrewsCONFIGURE_OPTIONS += --disable-klog
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5Mark AndrewsCONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
544d0efa38490d67e458aa9c23a7dac2a9d546bfMark Andrews
544d0efa38490d67e458aa9c23a7dac2a9d546bfMark Andrews# common targets
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrewsbuild: $(BUILD_32)
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrews
1f2635d3f7b3f0b3bf0d0310fe880d95e84f09fcMark Andrewsinstall: $(INSTALL_32)
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrews
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrewstest: $(TEST_32)
802760773ca5224b29a610741a7f2e0a7d6e031bMark Andrews
b6d496d53851e5ab5ba82e800062a431b05310cbEvan Hunt
b6d496d53851e5ab5ba82e800062a431b05310cbEvan HuntPKG_PROTO_DIRS += $(COMPONENT_DIR)/files
67213ca3d0594588a6fac32d8188efc68b0ad572Shane KerrPKG_PROTO_DIRS += $(COMPONENT_SRC)
d55494b8e9887e7ff7cdf1ec96a9dc5e8afe3c94Shane Kerr
d813808a01d5629110b8df483ccc2dff9ec2a84fMark AndrewsREQUIRED_PACKAGES += file/gnu-coreutils
67213ca3d0594588a6fac32d8188efc68b0ad572Shane KerrREQUIRED_PACKAGES += library/gnutls
67213ca3d0594588a6fac32d8188efc68b0ad572Shane KerrREQUIRED_PACKAGES += library/libee
d813808a01d5629110b8df483ccc2dff9ec2a84fMark AndrewsREQUIRED_PACKAGES += library/libestr
d813808a01d5629110b8df483ccc2dff9ec2a84fMark AndrewsREQUIRED_PACKAGES += library/zlib
33170a4b2b2765583df543efbb13a01e7b664037Mark AndrewsREQUIRED_PACKAGES += shell/ksh93
33170a4b2b2765583df543efbb13a01e7b664037Mark AndrewsREQUIRED_PACKAGES += system/library
33170a4b2b2765583df543efbb13a01e7b664037Mark AndrewsREQUIRED_PACKAGES += system/library/gcc-3-runtime
2cc262c0932a193b261e6e6a172855bd8f898c6dMark AndrewsREQUIRED_PACKAGES += system/library/gcc-45-runtime
2cc262c0932a193b261e6e6a172855bd8f898c6dMark AndrewsREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
2cc262c0932a193b261e6e6a172855bd8f898c6dMark Andrews