Makefile revision 2899
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay Sievers# CDDL HEADER START
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering# The contents of this file are subject to the terms of the
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering# Common Development and Distribution License (the "License").
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# You may not use this file except in compliance with the License.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering# See the License for the specific language governing permissions
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering# and limitations under the License.
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers# When distributing Covered Code, include this CDDL HEADER in each
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers# If applicable, add the following below this CDDL HEADER, with the
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers# fields enclosed by brackets "[]" replaced with your own identifying
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers# information: Portions Copyright [yyyy] [name of copyright owner]
26306aed13e73b6edbc4b3fd7b97e421e152b56bKay Sievers# CDDL HEADER END
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
466784c8710e5cb0e0b86a16506d992d7ec5b619Kay SieversCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
55d32caf94d8df547ca763be52b0c35bb6388606Lennart PoetteringCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering sha256:04d375b627dd256d6257f2cbe5a770e4552e3f35d5e2100b97f75426b600d8cb
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart PoetteringCOMPONENT_PROJECT_URL= http://www.snort.org/
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart PoetteringCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dl/snort-current/$(COMPONENT_ARCHIVE)
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering# without this we bus error on sparc. sadly I don't see any patches
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart Poettering# that might relate from the upstream (though maybe that's really
049b4474b35d0b854f87b0795a5113665413f6a4Lennart Poettering# "happily", as this is simpler)
431c72dc3d482732a01d3ab929aa9b2c36422d46Lennart Poettering# Need to recreate the configure script for gethrtime checks.
bafb15bab99887d1b6b8a35136531bac6c3876a6Lennart PoetteringCOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
248aa28ff27418ad074439014d476ed8cd2e01dbLennart PoetteringCONFIGURE_OPTIONS += --with-libpcre-libraries="/usr/lib/$(MACH64)"
eb124a97fb72d076014253b1acde69d428f15ecfLennart PoetteringCONFIGURE_OPTIONS += --with-dnet-libraries="/usr/lib/$(MACH64)"
6aaa8c2f783cd1b3ac27c5ce40625d032e7e3d71Zbigniew Jędrzejewski-SzmekCONFIGURE_OPTIONS += --disable-static-daq
042e33ae3a7feb08c8105f1345fd244315109405Lennart Poettering# Move snort shared objects to 64-bit path to stop pkglint bitching.
e1b7e7ec9b34ae6ae54a4c8084395cbf2bfe9960Lennart Poettering $(MV) $(PROTOUSRLIBDIR)/snort_dynamicengine $(PROTOUSRLIBDIR64); \
18d4e7c26e7806ac363d19989df7144d5058ce41Lennart Poettering $(MV) $(PROTOUSRLIBDIR)/snort_dynamicpreprocessor $(PROTOUSRLIBDIR64) ;
36c0868b67a9387d39c97983d3d22cfce0fedc62Lennart Poettering# Enable ASLR for this component
c5757cc8dbcddb3e8b13ebba4ea4b36589bfd3dbLennart Poettering# common targets