Makefile revision 1326
280a8a0544b4aeb52414d20e8c6e6c5b1108562eTinderbox User#
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt# CDDL HEADER START
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#
5affecff6e148a8e124d03f5dbac0da11e30dcc5Tinderbox User# The contents of this file are subject to the terms of the
19558a04decde0e7261d489d92d04ad88104217bTinderbox User# Common Development and Distribution License (the "License").
2fee8782a6fd57d86a67949092ab9197111af390Evan Hunt# You may not use this file except in compliance with the License.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
969eaf7df8ac651946f76b6631ff5db568c11ef6Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# or http://www.opensolaris.org/os/licensing.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# See the License for the specific language governing permissions
f4ee48be3994797a8332b86c101db4d7b54799ceTinderbox User# and limitations under the License.
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User#
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
b91d11bfcc30b96f2c80f3a76d12e3dcc8597a68Mark Andrews# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../../make-rules/shared-macros.mk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCOMPONENT_NAME= rsyslog
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCOMPONENT_VERSION= 6.2.0
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsCOMPONENT_PROJECT_URL= http://rsyslog.com/
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsCOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark AndrewsCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan HuntCOMPONENT_BUGDB= service/rsyslog
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
415d630b6309922caee8469384a6fab75cf05032Mark Andrewsinclude ../../make-rules/prep.mk
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsinclude ../../make-rules/configure.mk
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrewsinclude ../../make-rules/ips.mk
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPILER = gcc
415d630b6309922caee8469384a6fab75cf05032Mark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# This is needed for things to be built correctly.
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan HuntCONFIGURE_OPTIONS += --enable-imsolaris
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCONFIGURE_OPTIONS += --enable-mail
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox UserCONFIGURE_OPTIONS += --enable-gssapi_krb5
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCONFIGURE_OPTIONS += --enable-gnutls
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCONFIGURE_OPTIONS += --disable-klog
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# common targets
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrewsbuild: $(BUILD_32)
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrewsinstall: $(INSTALL_32)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrewstest: $(TEST_32)
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsPKG_PROTO_DIRS += $(COMPONENT_DIR)/files
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrewsinclude ../../make-rules/depend.mk
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews