[Snort-devel] ./configure fails on AIX

Michael Felt mamfelt at ...404...
Mon Apr 8 14:04:07 EDT 2002


Hello,

I am trying to compile snort on AIX 5.1 using IBM vac.C 5.0.2.X
compiler.

snort version is 1.8.5

Regardless of aclocal, automake, etc being present or not (I had all
except makeinfo) I just get a bunch of errors when I run make.

I suspect that the Makefile that is generated is part of the problem.
Starting at line 71 the line is longer than 2048 characters
(snort_SOURCES = ....).

At least vi has problems.

nohup.out and Makefile are included as attachments.

regards,
Michael Felt

-------------- next part --------------
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking host system type... powerpc-ibm-aix5.1.0.0
checking whether byte ordering is bigendian... yes
checking how to run the C preprocessor... cc -E
checking for strings.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... no
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strerror... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for a BSD compatible install... ./install-sh -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating win32/Makefile
creating win32/WIN32-Code/Makefile
creating win32/WIN32-Includes/Makefile
creating win32/WIN32-Libraries/Makefile
creating win32/WIN32-Includes/Makefile
creating win32/WIN32-Includes/libnet/Makefile
creating win32/WIN32-Includes/mysql/Makefile
creating win32/WIN32-Includes/rpc/Makefile
creating win32/WIN32-Libraries/Makefile
creating config.h
	make  all-recursive
Making all in win32
Making all in WIN32-Code
Target "all" is up to date.
Making all in WIN32-Includes
Making all in libnet
Target "all" is up to date.
Making all in mysql
Target "all" is up to date.
Making all in rpc
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in WIN32-Libraries
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
	cc -DHAVE_CONFIG_H -I. -I. -I.     -g -c snort.c
"snort.h", line 66.10: 1506-296 (S) #include file <pcap-namedb.h> not found.
"debug.h", line 66.61: 1506-277 (S) Syntax error: possible missing ';' or ','?
"decode.h", line 53.10: 1506-296 (S) #include file <pcap-namedb.h> not found.
"decode.h", line 760.13: 1506-046 (S) Syntax error.
"decode.h", line 762.9: 1506-278 (S) The structure definition must specify a member list.
"decode.h", line 806.5: 1506-046 (S) Syntax error.
"decode.h", line 824.5: 1506-046 (S) Syntax error.
"decode.h", line 852.5: 1506-046 (S) Syntax error.
"decode.h", line 877.5: 1506-046 (S) Syntax error.
"decode.h", line 881.5: 1506-046 (S) Syntax error.
"decode.h", line 901.5: 1506-046 (S) Syntax error.
"decode.h", line 911.5: 1506-046 (S) Syntax error.
"decode.h", line 926.25: 1506-275 (S) Unexpected text '*' encountered.
"decode.h", line 926.28: 1506-275 (S) Unexpected text 'struct' encountered.
"decode.h", line 926.47: 1506-275 (S) Unexpected text '*' encountered.
"decode.h", line 926.50: 1506-276 (S) Syntax error: possible missing identifier?
"decode.h", line 927.27: 1506-275 (S) Unexpected text '*' encountered.
"decode.h", line 927.30: 1506-275 (S) Unexpected text 'struct' encountered.
"decode.h", line 927.49: 1506-275 (S) Unexpected text '*' encountered.
"decode.h", line 927.52: 1506-276 (S) Syntax error: possible missing identifier?
"decode.h", line 928.31: 1506-275 (S) Unexpected text '*' encountered.
"decode.h", line 928.34: 1506-275 (S) Unexpected text 'struct' encountered.
"log.h", line 31.13: 1506-236 (W) Macro name LOG_AUTHPRIV has been redefined.
"log.h", line 31.13: 1506-358 (I) "LOG_AUTHPRIV" is defined on line 127 of /usr/include/sys/syslog.h.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
-------------- next part --------------
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/snort
pkglibdir = $(libdir)/snort
pkgincludedir = $(includedir)/snort

top_builddir = .

ACLOCAL = /home/michael/local/snort-1.8.5/missing aclocal
AUTOCONF = /home/michael/local/snort-1.8.5/missing autoconf
AUTOMAKE = /home/michael/local/snort-1.8.5/missing automake
AUTOHEADER = /home/michael/local/snort-1.8.5/missing autoheader

INSTALL = ./install-sh -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = powerpc-ibm-aix5.1.0.0
host_triplet = powerpc-ibm-aix5.1.0.0
CC = cc
MAKEINFO = /home/michael/local/snort-1.8.5/missing makeinfo
PACKAGE = snort
VERSION = 1.8.5
extra_incl = 

AUTOMAKE_OPTIONS = foreign no-dependencies
SUBDIRS = win32
bin_PROGRAMS = snort
snort_SOURCES = snort.c snort.h log.c log.h decode.c decode.h         mstring.h mstring.c rules.c rules.h plugbase.c plugbase.h             sp_pattern_match.c sp_pattern_match.h sp_tcp_flag_check.c             sp_tcp_flag_check.h sp_icmp_type_check.c sp_icmp_type_check.h         sp_icmp_code_check.c sp_icmp_code_check.h sp_ttl_check.c              sp_ttl_check.h sp_ip_id_check.c sp_ip_id_check.h sp_tcp_ack_check.c   sp_tcp_ack_check.h sp_tcp_seq_check.c sp_tcp_seq_check.h              sp_dsize_check.c sp_dsize_check.h spp_http_decode.h spp_http_decode.c spp_portscan.c spp_portscan.h             sp_ipoption_check.h sp_ipoption_check.c sp_rpc_check.h sp_rpc_check.c sp_icmp_id_check.c sp_icmp_id_check.h sp_icmp_seq_check.h             sp_icmp_seq_check.c sp_respond.c sp_respond.h spo_alert_syslog.c      spo_alert_syslog.h spo_log_tcpdump.c spo_log_tcpdump.h prototypes.h   spo_database.c spo_database.h sp_session.h sp_session.c               spp_defrag.c spp_defrag.h parser.c parser.h spo_alert_fast.c          spo_alert_fast.h spo_alert_full.c spo_alert_full.h spo_alert_smb.c    spo_alert_smb.h spo_alert_unixsock.c spo_alert_unixsock.h sp_react.c  sp_react.h spo_xml.c spo_xml.h sp_ip_tos_check.c sp_ip_tos_check.h    snprintf.c snprintf.h checksum.c    spp_tcp_stream2.c spp_tcp_stream2.h                                   checksum.h sp_reference.c sp_reference.h sp_ip_fragbits.c             sp_ip_fragbits.h spp_anomsensor.h spp_anomsensor.c tag.c tag.h        spp_unidecode.c spp_unidecode.h codes.c codes.h fatal.h smalloc.h     strlcpyu.c strlcpyu.h strlcatu.c strlcatu.h debug.c debug.h           sp_tcp_win_check.c sp_tcp_win_check.h spp_rpc_decode.c                spp_rpc_decode.h spp_bo.c spp_bo.h spp_telnet_negotiation.c           spp_telnet_negotiation.h spo_csv.c spo_csv.h sp_ip_same_check.c       sp_ip_same_check.h sp_priority.c sp_priority.h sp_ip_proto.c          sp_ip_proto.h ubi_BinTree.c ubi_BinTree.h ubi_SplayTree.c spo_unified.c spo_unified.h generators.h spp_stream4.h spp_stream4.c  ubi_SplayTree.h sys_include.h spp_frag2.c spp_frag2.h spp_arpspoof.c  spp_arpspoof.h spo_idmef.h spo_idmef.c spo_SnmpTrap.c spo_SnmpTrap.h  event.h spo_log_null.c spo_log_null.h cdefs.h  


EXTRA_DIST = BUGS RULES.SAMPLE CREDITS snort.conf USAGE backdoor.rules info.rules smtp.rules ddos.rules local.rules telnet.rules dns.rules   misc.rules web-cgi.rules dos.rules netbios.rules web-coldfusion.rules exploit.rules policy.rules web-frontpage.rules finger.rules           rpc.rules web-iis.rules ftp.rules rservices.rules web-misc.rules      sql.rules x11.rules shellcode.rules virus.rules icmp-info.rules       attack-responses.rules bad-traffic.rules tftp.rules                   icmp.rules scan.rules porn.rules web-attacks.rules                    templates/sp_template.c                                               templates/sp_template.h templates/spp_template.h                      templates/spp_template.c snort.8 README.PLUGINS README.FLEXRESP       README.database README.tcpstream README.xml README.Spade              README.Spade.Usage LICENSE classification.config                      contrib/ACID-0.9.6b11.tar.gz contrib/create_oracle.sql                contrib/Spade-092200.1.tar.gz contrib/Guardian.tar.gz                 contrib/Net-SnortLog-0.1.tar.gz contrib/README contrib/create_mssql   contrib/address_config.sh contrib/create_mysql                        contrib/create_postgresql contrib/mysql.php3 contrib/passiveOS.tar.gz contrib/pgsql.php3 contrib/snort-sort.pl             contrib/snort2html.pl contrib/snort_stat.pl contrib/snortdb-extra.gz  contrib/snortlog contrib/snortnet.tar.gz contrib/snortwatch-0.7.tar.gz SnortUsersManual.pdf FAQ sid-msg.map  MIBS/SnortCommonMIB.txt MIBS/SnortIDAlertMIB.txt README-SNMP         


INCLUDES = 
man_MANS = snort.8

DISTCLEANFILES = stamp-h.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = 
PROGRAMS =  $(bin_PROGRAMS)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
CPPFLAGS = 
LDFLAGS = 
LIBS = -lpcap -lm -lnsl 
snort_OBJECTS =  snort.o log.o decode.o mstring.o rules.o plugbase.o \
sp_pattern_match.o sp_tcp_flag_check.o sp_icmp_type_check.o \
sp_icmp_code_check.o sp_ttl_check.o sp_ip_id_check.o sp_tcp_ack_check.o \
sp_tcp_seq_check.o sp_dsize_check.o spp_http_decode.o spp_portscan.o \
sp_ipoption_check.o sp_rpc_check.o sp_icmp_id_check.o \
sp_icmp_seq_check.o sp_respond.o spo_alert_syslog.o spo_log_tcpdump.o \
spo_database.o sp_session.o spp_defrag.o parser.o spo_alert_fast.o \
spo_alert_full.o spo_alert_smb.o spo_alert_unixsock.o sp_react.o \
spo_xml.o sp_ip_tos_check.o snprintf.o checksum.o spp_tcp_stream2.o \
sp_reference.o sp_ip_fragbits.o spp_anomsensor.o tag.o spp_unidecode.o \
codes.o strlcpyu.o strlcatu.o debug.o sp_tcp_win_check.o \
spp_rpc_decode.o spp_bo.o spp_telnet_negotiation.o spo_csv.o \
sp_ip_same_check.o sp_priority.o sp_ip_proto.o ubi_BinTree.o \
ubi_SplayTree.o spo_unified.o spp_stream4.o spp_frag2.o spp_arpspoof.o \
spo_idmef.o spo_SnmpTrap.o spo_log_null.o
snort_LDADD = $(LDADD)
snort_DEPENDENCIES = 
snort_LDFLAGS = 
CFLAGS = -g
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
man8dir = $(mandir)/man8
MANS = $(man_MANS)

NROFF = nroff
DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 config.guess \
config.h.in config.sub configure configure.in install-sh missing \
mkinstalldirs


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(snort_SOURCES)
OBJECTS = $(snort_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

$(ACLOCAL_M4):  configure.in 
	cd $(srcdir) && $(ACLOCAL)

config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

config.h: stamp-h
	@if test ! -f $@; then \
		rm -f stamp-h; \
		$(MAKE) stamp-h; \
	else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
	     $(SHELL) ./config.status
	@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
	@if test ! -f $@; then \
		rm -f $(srcdir)/stamp-h.in; \
		$(MAKE) $(srcdir)/stamp-h.in; \
	else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
	cd $(top_srcdir) && $(AUTOHEADER)
	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
	-rm -f config.h

maintainer-clean-hdr:

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

snort: $(snort_OBJECTS) $(snort_DEPENDENCIES)
	@rm -f snort
	$(LINK) $(snort_LDFLAGS) $(snort_OBJECTS) $(snort_LDADD) $(LIBS)

install-man8:
	$(mkinstalldirs) $(DESTDIR)$(man8dir)
	@list='$(man8_MANS)'; \
	l2='$(man_MANS)'; for i in $$l2; do \
	  case "$$i" in \
	    *.8*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
	done

uninstall-man8:
	@list='$(man8_MANS)'; \
	l2='$(man_MANS)'; for i in $$l2; do \
	  case "$$i" in \
	    *.8*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
	done
install-man: $(MANS)
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-man8
uninstall-man:
	@$(NORMAL_UNINSTALL)
	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.



all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
	  rev="$$subdir $$rev"; \
	  test "$$subdir" = "." && dot_seen=yes; \
	done; \
	test "$$dot_seen" = "no" && rev=". $$rev"; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
   if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
   fi; \
	done; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) dist
	-rm -rf $(distdir)
	@banner="$(distdir).tar.gz is ready for distribution"; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"
dist: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
dist-all: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
distdir: $(DISTFILES)
	-rm -rf $(distdir)
	mkdir $(distdir)
	-chmod 777 $(distdir)
	$(mkinstalldirs) $(distdir)/MIBS $(distdir)/contrib $(distdir)/templates
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
	for subdir in $(SUBDIRS); do \
	  if test "$$subdir" = .; then :; else \
	    test -d $(distdir)/$$subdir \
	    || mkdir $(distdir)/$$subdir \
	    || exit 1; \
	    chmod 777 $(distdir)/$$subdir; \
	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
	      || exit 1; \
	  fi; \
	done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
all-recursive-am: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

install-exec-am: install-binPROGRAMS
install-exec: install-exec-recursive

install-data-am: install-man
install-data: install-data-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-binPROGRAMS uninstall-man
uninstall: uninstall-recursive
all-am: Makefile $(PROGRAMS) $(MANS) config.h
all-redirect: all-recursive-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
	$(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man8


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
		mostlyclean-compile mostlyclean-tags \
		mostlyclean-generic

mostlyclean: mostlyclean-recursive

clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
		clean-generic mostlyclean-am

clean: clean-recursive

distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
		distclean-tags distclean-generic clean-am

distclean: distclean-recursive
	-rm -f config.status

maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-recursive
	-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-man8 uninstall-man8 install-man \
uninstall-man install-data-recursive uninstall-data-recursive \
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
uninstalldirs-recursive all-recursive check-recursive \
installcheck-recursive info-recursive dvi-recursive \
mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


More information about the Snort-devel mailing list