Makefile revision 304
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER START
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# The contents of this file are subject to the terms of the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Common Development and Distribution License (the "License").
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You may not use this file except in compliance with the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# or http://www.opensolaris.org/os/licensing.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# See the License for the specific language governing permissions
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# and limitations under the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# When distributing Covered Code, include this CDDL HEADER in each
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# If applicable, add the following below this CDDL HEADER, with the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# fields enclosed by brackets "[]" replaced with your own identifying
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# information: Portions Copyright [yyyy] [name of copyright owner]
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER END
f71f7a61dec7c9089378d14493ad564a1dedf0b5neil_a_wilson#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
a3d3ab94806056d2355afea6fe8daac41059b9fbludovicpinclude ../../make-rules/shared-macros.mk
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeCOMPONENT_NAME= snort
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_VERSION= 2.8.4.1
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_ARCHIVE_HASH= sha1:3ffabb5366c088952fefab19a8dc19ce84d62645
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_PROJECT_URL= http://www.snort.org/
3cedecd5ea21cca5d9709abf320a2082cd3694e5jvergara# the main site does not retain older releases
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonCOMPONENT_ARCHIVE_URL= http://mirror2.openwrt.org/sources/$(COMPONENT_ARCHIVE)
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsoninclude ../../make-rules/prep.mk
014019918f7e3844f558f6159b8d41517254edc2lutoffinclude ../../make-rules/configure.mk
014019918f7e3844f558f6159b8d41517254edc2lutoffinclude ../../make-rules/ips.mk
014019918f7e3844f558f6159b8d41517254edc2lutoff
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilsonPATCH_LEVEL = 0
69de0fe5b7ed905860bef5f86937d30cc206ef7dneil_a_wilson
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# without this we bus error on sparc. sadly I don't see any patches
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson# that might relate from the upstream (though maybe that's really
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara# "happily", as this is simpler)
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergarastudio_ALIGN.sparc.32= -xmemalign=1i
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpCONFIGURE_OPTIONS += --with-libpcre=included
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpCONFIGURE_OPTIONS += --with-libpcap=/usr
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpCONFIGURE_OPTIONS += --enable-static=no
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp# common targets
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpbuild: $(BUILD_32)
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpinstall: $(INSTALL_32)
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp
2ed4722b4c052dcfe7884519a119e68a295f77afludovicptest: $(NO_TESTS)
2ed4722b4c052dcfe7884519a119e68a295f77afludovicp
2ed4722b4c052dcfe7884519a119e68a295f77afludovicpBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicpinclude ../../make-rules/depend.mk
44a7ec1a853804826c90cda2fbb4ac712c86bbaaludovicp