Makefile revision 1326
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore#
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# CDDL HEADER START
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore#
21f450f4fd5fd60f951de44878aae015ed0342e3Adam Moore# The contents of this file are subject to the terms of the
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Moore# Common Development and Distribution License (the "License").
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# You may not use this file except in compliance with the License.
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore#
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# or http://www.opensolaris.org/os/licensing.
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# See the License for the specific language governing permissions
4f2de35716c5df46152747980516af484d0ab208Adam Moore# and limitations under the License.
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore#
02fc09f797e83e80199c96adc4751c230dccc973Adam Moore# When distributing Covered Code, include this CDDL HEADER in each
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# If applicable, add the following below this CDDL HEADER, with the
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# fields enclosed by brackets "[]" replaced with your own identifying
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam Moore# information: Portions Copyright [yyyy] [name of copyright owner]
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam Moore#
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam Moore# CDDL HEADER END
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Moore#
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore#
c4f19796d319a7ec9a1e76d48adc82c9c5ae2f27Adam Mooreinclude ../../make-rules/shared-macros.mk
08e054017132cdd838955bc0af15889f1f2a7b42Adam Moore
b46f3d670b654847b0ce60afdba1b461c492a5c9Adam MooreCOMPONENT_NAME= rsyslog
0dca577a07715960da42d47787eecc25b285182fAdam MooreCOMPONENT_VERSION= 6.2.0
b46f3d670b654847b0ce60afdba1b461c492a5c9Adam MooreCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
08e054017132cdd838955bc0af15889f1f2a7b42Adam MooreCOMPONENT_PROJECT_URL= http://rsyslog.com/
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam MooreCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
f647f9c7909e84a0b19f09de42ce82a715e2d52aAdam MooreCOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
0771d781138a507b3e657573703f511291640bf3Adam MooreCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam MooreCOMPONENT_BUGDB= service/rsyslog
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Moore
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Mooreinclude ../../make-rules/prep.mk
52671ce4f644d565b2acd71a8ce4f6d20829a67cAdam Mooreinclude ../../make-rules/configure.mk
0771d781138a507b3e657573703f511291640bf3Adam Mooreinclude ../../make-rules/ips.mk
0dca577a07715960da42d47787eecc25b285182fAdam Moore
9cdb1aa8d3a7901f789c2ad7a6ea00e804a9abebAdam MooreCOMPILER = gcc
0771d781138a507b3e657573703f511291640bf3Adam Moore
0771d781138a507b3e657573703f511291640bf3Adam Moore# This is needed for things to be built correctly.
0771d781138a507b3e657573703f511291640bf3Adam MooreCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
0771d781138a507b3e657573703f511291640bf3Adam Moore
9c42541e375e7bb70c53012b3012d70f1a380254Adam MooreCONFIGURE_OPTIONS += --enable-imsolaris
9c42541e375e7bb70c53012b3012d70f1a380254Adam MooreCONFIGURE_OPTIONS += --enable-mail
9c42541e375e7bb70c53012b3012d70f1a380254Adam MooreCONFIGURE_OPTIONS += --enable-gssapi_krb5
0771d781138a507b3e657573703f511291640bf3Adam MooreCONFIGURE_OPTIONS += --enable-gnutls
9c42541e375e7bb70c53012b3012d70f1a380254Adam MooreCONFIGURE_OPTIONS += --disable-klog
9c42541e375e7bb70c53012b3012d70f1a380254Adam MooreCONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
02fc09f797e83e80199c96adc4751c230dccc973Adam Moore
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# common targets
2690c090ce850e485d15cf691f59e8aaeb3b4bb1Adam Moorebuild: $(BUILD_32)
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam Moore
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam Mooreinstall: $(INSTALL_32)
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam Moore
abdfe7cf11d34f89f17b26e4779bf6079d22a910Adam Mooretest: $(TEST_32)
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore
80d2034f65b9348e5fd36291f03b0819181efb89Adam MooreBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore
80d2034f65b9348e5fd36291f03b0819181efb89Adam MoorePKG_PROTO_DIRS += $(COMPONENT_DIR)/files
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore
80d2034f65b9348e5fd36291f03b0819181efb89Adam Mooreinclude ../../make-rules/depend.mk
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore