components/rsyslog/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 4339 6501cf9c29f9
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
       
    23 
       
    24 COMPILER =	gcc
       
    25 
    23 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    24 
    27 
    25 COMPONENT_NAME=		rsyslog
    28 COMPONENT_NAME=		rsyslog
    26 COMPONENT_VERSION=	6.2.0
    29 COMPONENT_VERSION=	6.2.0
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    31 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    34 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    32 COMPONENT_BUGDB=	service/rsyslog
    35 COMPONENT_BUGDB=	service/rsyslog
    33 
    36 
    34 TPNO=			7585
    37 TPNO=			7585
    35 
    38 
    36 include ../../make-rules/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    37 include ../../make-rules/configure.mk
    40 include $(WS_MAKE_RULES)/configure.mk
    38 include ../../make-rules/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    39 
       
    40 COMPILER =	gcc
       
    41 
    42 
    42 # This is needed for things to be built correctly.
    43 # This is needed for things to be built correctly.
    43 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
    44 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
    44 
    45 
    45 # A normal 64-bit build would result in /usr/lib/$(MACH64)/rsyslog but since we
    46 # A normal 64-bit build would result in /usr/lib/$(MACH64)/rsyslog but since we
    63 
    64 
    64 install:	$(INSTALL_64)
    65 install:	$(INSTALL_64)
    65 
    66 
    66 test:		$(TEST_64)
    67 test:		$(TEST_64)
    67 
    68 
    68 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    69 
       
    70 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
    69 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
    71 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)
    70 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)
    72 
    71 
    73 include ../../make-rules/depend.mk
    72 
       
    73 REQUIRED_PACKAGES += file/gnu-coreutils
       
    74 REQUIRED_PACKAGES += library/gnutls
       
    75 REQUIRED_PACKAGES += library/libee
       
    76 REQUIRED_PACKAGES += library/libestr
       
    77 REQUIRED_PACKAGES += library/zlib
       
    78 REQUIRED_PACKAGES += shell/ksh93
       
    79 REQUIRED_PACKAGES += system/library
       
    80 REQUIRED_PACKAGES += system/library/gcc-3-runtime
       
    81 REQUIRED_PACKAGES += system/library/gcc-45-runtime
       
    82 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime