Makefile revision 213
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# CDDL HEADER START
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# The contents of this file are subject to the terms of the
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows# Common Development and Distribution License (the "License").
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows# You may not use this file except in compliance with the License.
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# or http://www.opensolaris.org/os/licensing.
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# See the License for the specific language governing permissions
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# and limitations under the License.
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# When distributing Covered Code, include this CDDL HEADER in each
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# If applicable, add the following below this CDDL HEADER, with the
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# fields enclosed by brackets "[]" replaced with your own identifying
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# information: Portions Copyright [yyyy] [name of copyright owner]
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# CDDL HEADER END
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows#
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df#
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolowsinclude ../../make-rules/shared-macros.mk
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolows
02e56f3f1bfc8d9977bafb8cb5202f576dcded27wesolowsCOMPONENT_NAME= snort
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_VERSION= 2.8.4.1
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_ARCHIVE_HASH= sha1:3ffabb5366c088952fefab19a8dc19ce84d62645
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_PROJECT_URL= http://www.snort.org/
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# the main site does not retain older releases
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCOMPONENT_ARCHIVE_URL= http://mirror2.openwrt.org/sources/$(COMPONENT_ARCHIVE)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfinclude ../../make-rules/prep.mk
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfinclude ../../make-rules/configure.mk
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfinclude ../../make-rules/ips.mk
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfPATCH_LEVEL = 0
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# without this we bus error on sparc. sadly I don't see any patches
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# that might relate from the upstream (though maybe that's really
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# "happily", as this is simpler)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfstudio_ALIGN.sparc.32= -xmemalign=1i
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCONFIGURE_OPTIONS += --with-libpcre=included
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCONFIGURE_OPTIONS += --with-libpcap=/usr
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCONFIGURE_OPTIONS += --enable-static=no
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df# common targets
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfbuild: $(BUILD_32)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfinstall: $(INSTALL_32)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dftest: $(NO_TESTS)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69dfinclude ../../make-rules/depend.mk
b7f45089ccbe01bab3d7c7377b49d80d2ae18a69df