Makefile revision 5647
1228N/A#
1228N/A# CDDL HEADER START
1228N/A#
1228N/A# The contents of this file are subject to the terms of the
1228N/A# Common Development and Distribution License (the "License").
1228N/A# You may not use this file except in compliance with the License.
1228N/A#
1228N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1228N/A# or http://www.opensolaris.org/os/licensing.
1228N/A# See the License for the specific language governing permissions
1228N/A# and limitations under the License.
1228N/A#
1228N/A# When distributing Covered Code, include this CDDL HEADER in each
1228N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1228N/A# If applicable, add the following below this CDDL HEADER, with the
1228N/A# fields enclosed by brackets "[]" replaced with your own identifying
1228N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1228N/A#
1228N/A# CDDL HEADER END
1228N/A#
1228N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
1228N/A#
1228N/Ainclude ../../make-rules/shared-macros.mk
1228N/A
1228N/ACOMPONENT_NAME= pflogd
1228N/ACOMPONENT_VERSION= OPENBSD_5_5
1228N/AIPS_COMPONENT_VERSION= 5.5
1228N/ACOMPONENT_PROJECT_URL= http://www.openbsd.org
1228N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1228N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1228N/ACOMPONENT_ARCHIVE_HASH= sha256:cfa97a28da9c4c5d07a2c6c8225e867d031417a427effb7152f9e8beea614957
1228N/ACLEAN_PATHS += $(COMPONENT_SRC)
1228N/ACLOBBER_PATHS += $(COMPONENT_ARCHIVE)
1228N/ACOMPONENT_BUGDB= service/pflogd
1228N/A
1228N/ATPNO= 24254
1228N/A
1228N/A#
1228N/A# Don't overwrite CFLAGS here, just add our options there.
1228N/A#
1228N/ACOMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) -D_SOLARIS_ -DOBSD_COMP -lscf"
1228N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
1228N/A
1228N/Ainclude ../../make-rules/prep.mk
1228N/Ainclude ../../make-rules/justmake.mk
1228N/A
1228N/A# Depends on S12-only changes in ON.
1228N/Aifeq ($(BUILD_TYPE), evaluation)
1228N/ABUILD_64=
1228N/AINSTALL_64=
1228N/APUBLISH_STAMP=
1228N/Aendif
1228N/A
1228N/Ainclude ../../make-rules/ips.mk
1228N/A
1228N/ACOMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
1228N/ACOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMANDIR)
1228N/ACOMPONENT_INSTALL_ARGS += INSTALL=/usr/gnu/bin/install
1228N/A
1228N/AASLR_MODE = $(ASLR_ENABLE)
1228N/A
1228N/A# common targets
1228N/Abuild: $(BUILD_64)
1228N/A
1228N/Ainstall: $(INSTALL_64)
1228N/A
1228N/Atest: $(NO_TESTS)
1228N/A
1228N/A# Here we just download the cached source archive. In order to update
1228N/A# the cache, we have to get the sources via CVS manually and ask gatekeepers
1228N/A# to place it into the cache. There is no archive available at openbsd.org.
1228N/Adownload:: $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE)
1228N/A
1228N/A$(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE): $(MAKEFILE_PREREQ)
1228N/A $(FETCH) --file $@ --hash $(COMPONENT_ARCHIVE_HASH)
1228N/A $(TOUCH) $@
1228N/A
1228N/AREQUIRED_PACKAGES += network/firewall
1228N/AREQUIRED_PACKAGES += shell/ksh93
1228N/AREQUIRED_PACKAGES += system/core-os
1228N/AREQUIRED_PACKAGES += system/header
1228N/AREQUIRED_PACKAGES += system/library
1228N/AREQUIRED_PACKAGES += system/library/libpcap
1228N/A