author | John Beck <John.Beck@Oracle.COM> |
Tue, 11 Nov 2014 07:47:24 -0800 | |
changeset 2201 | 861310b6f3b2 |
parent 2149 | 375b11f6f4bc |
child 2225 | f064d3d3190d |
permissions | -rw-r--r-- |
847 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
1645
ff50a80c552a
18065425 parfait gcc wrappers should force gcc3 for now
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
1605
diff
changeset
|
21 |
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
847 | 22 |
# |
23 |
include ../../make-rules/shared-macros.mk |
|
24 |
||
25 |
COMPONENT_NAME= rsyslog |
|
26 |
COMPONENT_VERSION= 6.2.0 |
|
27 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
28 |
COMPONENT_PROJECT_URL= http://rsyslog.com/ |
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 |
COMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1 |
|
31 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
|
1095
e720196b46b2
16064047 Fix component build file problems in various Userland components
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
32 |
COMPONENT_BUGDB= service/rsyslog |
847 | 33 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1645
diff
changeset
|
34 |
TPNO= 7585 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1645
diff
changeset
|
35 |
|
847 | 36 |
include ../../make-rules/prep.mk |
37 |
include ../../make-rules/configure.mk |
|
38 |
include ../../make-rules/ips.mk |
|
39 |
||
1605
7fc7910b6d94
17389830 guile fails to build with gcc4.7
Rich Burridge <rich.burridge@oracle.com>
parents:
1496
diff
changeset
|
40 |
COMPILER = gcc |
847 | 41 |
|
42 |
# This is needed for things to be built correctly. |
|
43 |
CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
|
44 |
||
1261
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
45 |
# A normal 64-bit build would result in /usr/lib/$(MACH64)/rsyslog but since we |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
46 |
# have a self-contained eco-system, simplify things for customers and just use |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
47 |
# /usr/lib/rsyslog . |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
48 |
CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32) |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
49 |
|
847 | 50 |
CONFIGURE_OPTIONS += --enable-imsolaris |
51 |
CONFIGURE_OPTIONS += --enable-mail |
|
52 |
CONFIGURE_OPTIONS += --enable-gssapi_krb5 |
|
53 |
CONFIGURE_OPTIONS += --enable-gnutls |
|
54 |
CONFIGURE_OPTIONS += --disable-klog |
|
55 |
CONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog |
|
56 |
||
1261
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
57 |
ASLR_MODE = $(ASLR_ENABLE) |
847 | 58 |
|
1261
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
59 |
# common targets |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
60 |
build: $(BUILD_64) |
847 | 61 |
|
1261
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
62 |
install: $(INSTALL_64) |
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
63 |
|
9aaa91c63cb9
16624964 enable 64-bit & ASLR for rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
1095
diff
changeset
|
64 |
test: $(TEST_64) |
847 | 65 |
|
66 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
67 |
||
68 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files |
|
2149
375b11f6f4bc
19789649 rsyslog complete documentation is missing
Michael Nestler <Michael.Nestler@Oracle.COM>
parents:
1948
diff
changeset
|
69 |
PKG_PROTO_DIRS += $(COMPONENT_SRC) |
847 | 70 |
|
71 |
include ../../make-rules/depend.mk |