patch-Makefile_in 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. --- Libnet-1.0.2a.orig/Makefile.in 2001-02-05 18:51:41.000000000 +0100
  2. +++ Libnet-1.0.2a/Makefile.in 2009-08-23 00:39:58.705644309 +0200
  3. @@ -1,147 +1,638 @@
  4. -#
  5. -# $Id: Makefile.in,v 1.1.1.1 2000/05/25 00:28:49 route Exp $
  6. -#
  7. -# Libnet 1.0 makefile
  8. -# (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com>
  9. -#
  10. -# @configure_input@
  11. +# Makefile.in generated by automake 1.8.5 from Makefile.am.
  12. +# @configure_input@
  13. -# Enabled: Dumps debugging info and verbose error information.
  14. -# Disabled: Doesn't.
  15. -# default: disabled.
  16. -DEFINES += #-D__DEBUG
  17. -prefix = @prefix@
  18. -exec_prefix = @exec_prefix@
  19. -srcdir = @srcdir@
  20. -BIN_PREFIX = @bindir@/
  21. -INC_PREFIX = @includedir@/
  22. -LIB_PREFIX = @libdir@/
  23. -MAN_PREFIX = @MAN_PREFIX@
  24. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  25. +# 2003, 2004 Free Software Foundation, Inc.
  26. +# This Makefile.in is free software; the Free Software Foundation
  27. +# gives unlimited permission to copy and/or distribute it,
  28. +# with or without modifications, as long as this notice is preserved.
  29. -LIBNET = libnet
  30. -LIBPWRITE = libpwrite
  31. -LIB = lib/$(LIBNET).a
  32. -MAN = doc/$(LIBNET).3
  33. -INCLUDE = include/$(LIBNET).h
  34. -INCLUDE-H = include/$(LIBNET)/$(LIBNET)-headers.h
  35. -INCLUDE-F = include/$(LIBNET)/$(LIBNET)-functions.h
  36. -INCLUDE-S = include/$(LIBNET)/$(LIBNET)-structures.h
  37. -INCLUDE-M = include/$(LIBNET)/$(LIBNET)-macros.h
  38. -INCLUDE-A = include/$(LIBNET)/$(LIBNET)-asn1.h
  39. -INCLUDE-O = include/$(LIBNET)/$(LIBNET)-ospf.h
  40. -CONFIG = $(LIBNET)-config
  41. -DEFINES += @DEFS@
  42. -RANLIB = @RANLIB@
  43. -AR = @AR@
  44. -LN = @LN@
  45. -CC = @CC@
  46. -ENSUREDIR = $(srcdir)/ensure-dir.sh
  47. -INSTALL_DATA= $(srcdir)/install-sh
  48. -CFLAGS = @CFLAGS@
  49. -CPPFLAGS = @CPPFLAGS@
  50. -OBJECTS = src/libnet_resolve.o\
  51. - src/libnet_socket.o\
  52. - src/libnet_checksum.o\
  53. - src/libnet_prand.o\
  54. - src/libnet_version.o\
  55. - src/libnet_write_ip.o\
  56. - src/libnet_insert_ipo.o\
  57. - src/libnet_insert_tcpo.o\
  58. - src/libnet_error.o\
  59. - src/libnet_link_@LL_INT_TYPE@.o\
  60. - src/libnet_packet_mem.o\
  61. - src/libnet_build_ip.o\
  62. - src/libnet_build_tcp.o\
  63. - src/libnet_build_udp.o\
  64. - src/libnet_build_arp.o\
  65. - src/libnet_build_ethernet.o\
  66. - src/libnet_build_icmp.o\
  67. - src/libnet_build_igmp.o\
  68. - src/libnet_build_dns.o\
  69. - src/libnet_build_snmp.o\
  70. - src/libnet_build_rip.o\
  71. - src/libnet_build_ospf.o\
  72. - src/libnet_build_vrrp.o\
  73. - src/libnet_asn1.o\
  74. - src/libnet_hex_dump.o\
  75. - src/libnet_if_addr.o\
  76. - src/libnet_port_list.o
  77. +# This program is distributed in the hope that it will be useful,
  78. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  79. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  80. +# PARTICULAR PURPOSE.
  81. -.c.o:
  82. - $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFINES) -c $< -o $@
  83. +@SET_MAKE@
  84. -all: libnet
  85. -supp: test example
  86. +srcdir = @srcdir@
  87. +top_srcdir = @top_srcdir@
  88. +VPATH = @srcdir@
  89. +pkgdatadir = $(datadir)/@PACKAGE@
  90. +pkglibdir = $(libdir)/@PACKAGE@
  91. +pkgincludedir = $(includedir)/@PACKAGE@
  92. +top_builddir = .
  93. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  94. +INSTALL = @INSTALL@
  95. +install_sh_DATA = $(install_sh) -c -m 644
  96. +install_sh_PROGRAM = $(install_sh) -c
  97. +install_sh_SCRIPT = $(install_sh) -c
  98. +INSTALL_HEADER = $(INSTALL_DATA)
  99. +transform = $(program_transform_name)
  100. +NORMAL_INSTALL = :
  101. +PRE_INSTALL = :
  102. +POST_INSTALL = :
  103. +NORMAL_UNINSTALL = :
  104. +PRE_UNINSTALL = :
  105. +POST_UNINSTALL = :
  106. +build_triplet = @build@
  107. +host_triplet = @host@
  108. +target_triplet = @target@
  109. +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  110. + $(srcdir)/Makefile.in $(srcdir)/libnet-config.in \
  111. + $(top_srcdir)/Makefile.am.common $(top_srcdir)/configure \
  112. + acconfig.h config.guess config.sub install-sh ltmain.sh \
  113. + missing mkinstalldirs
  114. +subdir = .
  115. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  116. +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  117. + $(top_srcdir)/configure.in
  118. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  119. + $(ACLOCAL_M4)
  120. +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  121. + configure.lineno configure.status.lineno
  122. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  123. +CONFIG_HEADER = $(top_builddir)/include/config.h
  124. +CONFIG_CLEAN_FILES = libnet-config
  125. +am__installdirs = "$(DESTDIR)$(bindir)"
  126. +binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  127. +SCRIPTS = $(bin_SCRIPTS)
  128. +depcomp =
  129. +am__depfiles_maybe =
  130. +SOURCES =
  131. +DIST_SOURCES =
  132. +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  133. + html-recursive info-recursive install-data-recursive \
  134. + install-exec-recursive install-info-recursive \
  135. + install-recursive installcheck-recursive installdirs-recursive \
  136. + pdf-recursive ps-recursive uninstall-info-recursive \
  137. + uninstall-recursive
  138. +ETAGS = etags
  139. +CTAGS = ctags
  140. +DIST_SUBDIRS = $(SUBDIRS)
  141. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  142. +distdir = $(PACKAGE)-$(VERSION)
  143. +top_distdir = $(distdir)
  144. +am__remove_distdir = \
  145. + { test ! -d $(distdir) \
  146. + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  147. + && rm -fr $(distdir); }; }
  148. +DIST_ARCHIVES = $(distdir).tar.gz
  149. +GZIP_ENV = --best
  150. +distuninstallcheck_listfiles = find . -type f -print
  151. +distcleancheck_listfiles = find . -type f -print
  152. +ACLOCAL = @ACLOCAL@
  153. +ADDITIONAL_LIBS = @ADDITIONAL_LIBS@
  154. +AMDEP_FALSE = @AMDEP_FALSE@
  155. +AMDEP_TRUE = @AMDEP_TRUE@
  156. +AMTAR = @AMTAR@
  157. +AR = @AR@
  158. +AUTOCONF = @AUTOCONF@
  159. +AUTOHEADER = @AUTOHEADER@
  160. +AUTOMAKE = @AUTOMAKE@
  161. +AWK = @AWK@
  162. +BIN_PREFIX = @BIN_PREFIX@
  163. +CC = @CC@
  164. +CCDEPMODE = @CCDEPMODE@
  165. +CFLAGS = @CFLAGS@
  166. +CPP = @CPP@
  167. +CPPFLAGS = @CPPFLAGS@
  168. +CYGPATH_W = @CYGPATH_W@
  169. +DEFS = @DEFS@
  170. +DEPDIR = @DEPDIR@
  171. +DSYMUTIL = @DSYMUTIL@
  172. +DUMPBIN = @DUMPBIN@
  173. +ECHO_C = @ECHO_C@
  174. +ECHO_N = @ECHO_N@
  175. +ECHO_T = @ECHO_T@
  176. +EGREP = @EGREP@
  177. +EXEEXT = @EXEEXT@
  178. +FGREP = @FGREP@
  179. +GREP = @GREP@
  180. +INC_PREFIX = @INC_PREFIX@
  181. +INSTALL_DATA = @INSTALL_DATA@
  182. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  183. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  184. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  185. +LD = @LD@
  186. +LDFLAGS = @LDFLAGS@
  187. +LIBNET_CONFIG_CFLAGS = @LIBNET_CONFIG_CFLAGS@
  188. +LIBNET_CONFIG_DEFINES = @LIBNET_CONFIG_DEFINES@
  189. +LIBNET_CONFIG_LIBS = @LIBNET_CONFIG_LIBS@
  190. +LIBOBJS = @LIBOBJS@
  191. +LIBS = @LIBS@
  192. +LIBTOOL = @LIBTOOL@
  193. +LIB_PREFIX = @LIB_PREFIX@
  194. +LIPO = @LIPO@
  195. +LL_INT_TYPE = @LL_INT_TYPE@
  196. +LL_INT_TYPE_UC = @LL_INT_TYPE_UC@
  197. +LN = @LN@
  198. +LN_S = @LN_S@
  199. +LTLIBOBJS = @LTLIBOBJS@
  200. +MAKEINFO = @MAKEINFO@
  201. +MAN_PREFIX = @MAN_PREFIX@
  202. +NM = @NM@
  203. +NMEDIT = @NMEDIT@
  204. +OBJDUMP = @OBJDUMP@
  205. +OBJEXT = @OBJEXT@
  206. +OTOOL = @OTOOL@
  207. +OTOOL64 = @OTOOL64@
  208. +PACKAGE = @PACKAGE@
  209. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  210. +PACKAGE_NAME = @PACKAGE_NAME@
  211. +PACKAGE_STRING = @PACKAGE_STRING@
  212. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  213. +PACKAGE_VERSION = @PACKAGE_VERSION@
  214. +PATH_SEPARATOR = @PATH_SEPARATOR@
  215. +RANLIB = @RANLIB@
  216. +SED = @SED@
  217. +SET_MAKE = @SET_MAKE@
  218. +SHELL = @SHELL@
  219. +STRIP = @STRIP@
  220. +VERSION = @VERSION@
  221. +ac_ct_CC = @ac_ct_CC@
  222. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  223. +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  224. +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  225. +am__include = @am__include@
  226. +am__leading_dot = @am__leading_dot@
  227. +am__quote = @am__quote@
  228. +bindir = @bindir@
  229. +build = @build@
  230. +build_alias = @build_alias@
  231. +build_cpu = @build_cpu@
  232. +build_os = @build_os@
  233. +build_vendor = @build_vendor@
  234. +datadir = @datadir@
  235. +datarootdir = @datarootdir@
  236. +docdir = @docdir@
  237. +dvidir = @dvidir@
  238. +exec_prefix = @exec_prefix@
  239. +host = @host@
  240. +host_alias = @host_alias@
  241. +host_cpu = @host_cpu@
  242. +host_os = @host_os@
  243. +host_vendor = @host_vendor@
  244. +htmldir = @htmldir@
  245. +includedir = @includedir@
  246. +infodir = @infodir@
  247. +install_sh = @install_sh@
  248. +libdir = @libdir@
  249. +libexecdir = @libexecdir@
  250. +localedir = @localedir@
  251. +localstatedir = @localstatedir@
  252. +lt_ECHO = @lt_ECHO@
  253. +mandir = @mandir@
  254. +mkdir_p = @mkdir_p@
  255. +oldincludedir = @oldincludedir@
  256. +pdfdir = @pdfdir@
  257. +prefix = @prefix@
  258. +program_transform_name = @program_transform_name@
  259. +psdir = @psdir@
  260. +sbindir = @sbindir@
  261. +sharedstatedir = @sharedstatedir@
  262. +sysconfdir = @sysconfdir@
  263. +target = @target@
  264. +target_alias = @target_alias@
  265. +target_cpu = @target_cpu@
  266. +target_os = @target_os@
  267. +target_vendor = @target_vendor@
  268. +AUTOMAKE_OPTIONS = foreign no-dependencies
  269. +DISTCLEANFILES = *~
  270. +SUBDIRS = src include
  271. +EXTRA_DIST = Makefile.am.common
  272. +bin_SCRIPTS = libnet-config
  273. +all: all-recursive
  274. -libnet: version.h $(OBJECTS)
  275. - $(AR) -cr $(LIB) $(OBJECTS)
  276. - $(RANLIB) $(LIB)
  277. +.SUFFIXES:
  278. +am--refresh:
  279. + @:
  280. +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.am.common $(am__configure_deps)
  281. + @for dep in $?; do \
  282. + case '$(am__configure_deps)' in \
  283. + *$$dep*) \
  284. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  285. + cd $(srcdir) && $(AUTOMAKE) --foreign \
  286. + && exit 0; \
  287. + exit 1;; \
  288. + esac; \
  289. + done; \
  290. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  291. + cd $(top_srcdir) && \
  292. + $(AUTOMAKE) --foreign Makefile
  293. +.PRECIOUS: Makefile
  294. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  295. + @case '$?' in \
  296. + *config.status*) \
  297. + echo ' $(SHELL) ./config.status'; \
  298. + $(SHELL) ./config.status;; \
  299. + *) \
  300. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  301. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  302. + esac;
  303. -version.o: version.h
  304. -version.h: ./VERSION
  305. - @rm -f $@
  306. - sed -e 's/.*/#define VERSION "&"/' ./VERSION > $@
  307. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  308. + $(SHELL) ./config.status --recheck
  309. -test: libnet
  310. - cd test; make
  311. +$(top_srcdir)/configure: $(am__configure_deps)
  312. + cd $(srcdir) && $(AUTOCONF)
  313. +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  314. + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  315. +libnet-config: $(top_builddir)/config.status $(srcdir)/libnet-config.in
  316. + cd $(top_builddir) && $(SHELL) ./config.status $@
  317. +install-binSCRIPTS: $(bin_SCRIPTS)
  318. + @$(NORMAL_INSTALL)
  319. + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
  320. + @list='$(bin_SCRIPTS)'; for p in $$list; do \
  321. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  322. + if test -f $$d$$p; then \
  323. + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  324. + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  325. + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  326. + else :; fi; \
  327. + done
  328. -util: libnet install
  329. - cd util; make
  330. +uninstall-binSCRIPTS:
  331. + @$(NORMAL_UNINSTALL)
  332. + @list='$(bin_SCRIPTS)'; for p in $$list; do \
  333. + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  334. + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  335. + rm -f "$(DESTDIR)$(bindir)/$$f"; \
  336. + done
  337. -example: libnet install
  338. - cd example; make
  339. +mostlyclean-libtool:
  340. + -rm -f *.lo
  341. -install: libnet
  342. - $(ENSUREDIR) $(DESTDIR)$(prefix) 755
  343. - $(ENSUREDIR) $(DESTDIR)$(LIB_PREFIX) 755
  344. - $(ENSUREDIR) $(DESTDIR)$(INC_PREFIX)$(LIBNET) 755
  345. - $(ENSUREDIR) $(DESTDIR)$(INC_PREFIX) 755
  346. - $(ENSUREDIR) $(DESTDIR)$(MAN_PREFIX) 755
  347. - $(ENSUREDIR) $(DESTDIR)$(BIN_PREFIX) 755
  348. - $(INSTALL_DATA) $(LIB) $(DESTDIR)$(LIB_PREFIX)
  349. - rm -f $(DESTDIR)$(LIB_PREFIX)$(LIBPWRITE).a
  350. - cd $(DESTDIR)$(LIB_PREFIX); $(LN) -f -s $(LIBNET).a $(LIBPWRITE).a
  351. - $(INSTALL_DATA) $(INCLUDE) $(DESTDIR)$(INC_PREFIX)
  352. - $(INSTALL_DATA) $(INCLUDE-H) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  353. - $(INSTALL_DATA) $(INCLUDE-F) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  354. - $(INSTALL_DATA) $(INCLUDE-S) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  355. - $(INSTALL_DATA) $(INCLUDE-M) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  356. - $(INSTALL_DATA) $(INCLUDE-A) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  357. - $(INSTALL_DATA) $(INCLUDE-O) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
  358. - $(INSTALL_DATA) $(MAN) $(DESTDIR)$(MAN_PREFIX)
  359. - $(INSTALL_DATA) $(CONFIG) $(DESTDIR)$(BIN_PREFIX)
  360. +clean-libtool:
  361. + -rm -rf .libs _libs
  362. +distclean-libtool:
  363. + -rm -f libtool
  364. +uninstall-info-am:
  365. +# This directory's subdirectories are mostly independent; you can cd
  366. +# into them and run `make' without going through this Makefile.
  367. +# To change the values of `make' variables: instead of editing Makefiles,
  368. +# (1) if the variable is set in `config.status', edit `config.status'
  369. +# (which will cause the Makefiles to be regenerated when you run `make');
  370. +# (2) otherwise, pass the desired values on the `make' command line.
  371. +$(RECURSIVE_TARGETS):
  372. + @set fnord $$MAKEFLAGS; amf=$$2; \
  373. + dot_seen=no; \
  374. + target=`echo $@ | sed s/-recursive//`; \
  375. + list='$(SUBDIRS)'; for subdir in $$list; do \
  376. + echo "Making $$target in $$subdir"; \
  377. + if test "$$subdir" = "."; then \
  378. + dot_seen=yes; \
  379. + local_target="$$target-am"; \
  380. + else \
  381. + local_target="$$target"; \
  382. + fi; \
  383. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  384. + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  385. + done; \
  386. + if test "$$dot_seen" = "no"; then \
  387. + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  388. + fi; test -z "$$fail"
  389. -clean:
  390. - if test -f test/Makefile; then \
  391. - cd test && make clean; \
  392. - fi
  393. - if test -f example/Makefile; then \
  394. - cd example && make clean; \
  395. - fi
  396. - if test -f util/Makefile; then \
  397. - cd util && make clean; \
  398. - fi
  399. - if test -f support/bpf-lkm/etherspoof; then \
  400. - cd support/bpf-lkm/etherspoof && make clean; \
  401. - fi
  402. - rm -f *.core src/*.o $(LIB)
  403. +mostlyclean-recursive clean-recursive distclean-recursive \
  404. +maintainer-clean-recursive:
  405. + @set fnord $$MAKEFLAGS; amf=$$2; \
  406. + dot_seen=no; \
  407. + case "$@" in \
  408. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  409. + *) list='$(SUBDIRS)' ;; \
  410. + esac; \
  411. + rev=''; for subdir in $$list; do \
  412. + if test "$$subdir" = "."; then :; else \
  413. + rev="$$subdir $$rev"; \
  414. + fi; \
  415. + done; \
  416. + rev="$$rev ."; \
  417. + target=`echo $@ | sed s/-recursive//`; \
  418. + for subdir in $$rev; do \
  419. + echo "Making $$target in $$subdir"; \
  420. + if test "$$subdir" = "."; then \
  421. + local_target="$$target-am"; \
  422. + else \
  423. + local_target="$$target"; \
  424. + fi; \
  425. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  426. + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  427. + done && test -z "$$fail"
  428. +tags-recursive:
  429. + list='$(SUBDIRS)'; for subdir in $$list; do \
  430. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  431. + done
  432. +ctags-recursive:
  433. + list='$(SUBDIRS)'; for subdir in $$list; do \
  434. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  435. + done
  436. -distclean: clean
  437. - if test -f test/Makefile; then \
  438. - cd test && make distclean; \
  439. - fi
  440. - if test -f example/Makefile; then \
  441. - cd example && make distclean; \
  442. - fi
  443. - if test -f util/Makefile; then \
  444. - cd util && make distclean; \
  445. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  446. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  447. + unique=`for i in $$list; do \
  448. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  449. + done | \
  450. + $(AWK) ' { files[$$0] = 1; } \
  451. + END { for (i in files) print i; }'`; \
  452. + mkid -fID $$unique
  453. +tags: TAGS
  454. +
  455. +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  456. + $(TAGS_FILES) $(LISP)
  457. + tags=; \
  458. + here=`pwd`; \
  459. + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  460. + include_option=--etags-include; \
  461. + empty_fix=.; \
  462. + else \
  463. + include_option=--include; \
  464. + empty_fix=; \
  465. + fi; \
  466. + list='$(SUBDIRS)'; for subdir in $$list; do \
  467. + if test "$$subdir" = .; then :; else \
  468. + test ! -f $$subdir/TAGS || \
  469. + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  470. + fi; \
  471. + done; \
  472. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  473. + unique=`for i in $$list; do \
  474. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  475. + done | \
  476. + $(AWK) ' { files[$$0] = 1; } \
  477. + END { for (i in files) print i; }'`; \
  478. + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  479. + test -n "$$unique" || unique=$$empty_fix; \
  480. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  481. + $$tags $$unique; \
  482. fi
  483. - if test -f support/bpf-lkm/etherspoof; then \
  484. - cd support/bpf-lkm/etherspoof && rm -rf Makefile; \
  485. +ctags: CTAGS
  486. +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  487. + $(TAGS_FILES) $(LISP)
  488. + tags=; \
  489. + here=`pwd`; \
  490. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  491. + unique=`for i in $$list; do \
  492. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  493. + done | \
  494. + $(AWK) ' { files[$$0] = 1; } \
  495. + END { for (i in files) print i; }'`; \
  496. + test -z "$(CTAGS_ARGS)$$tags$$unique" \
  497. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  498. + $$tags $$unique
  499. +
  500. +GTAGS:
  501. + here=`$(am__cd) $(top_builddir) && pwd` \
  502. + && cd $(top_srcdir) \
  503. + && gtags -i $(GTAGS_ARGS) $$here
  504. +
  505. +distclean-tags:
  506. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  507. +
  508. +distdir: $(DISTFILES)
  509. + $(am__remove_distdir)
  510. + mkdir $(distdir)
  511. + $(mkdir_p) $(distdir)/.
  512. + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  513. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  514. + list='$(DISTFILES)'; for file in $$list; do \
  515. + case $$file in \
  516. + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  517. + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  518. + esac; \
  519. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  520. + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  521. + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  522. + dir="/$$dir"; \
  523. + $(mkdir_p) "$(distdir)$$dir"; \
  524. + else \
  525. + dir=''; \
  526. + fi; \
  527. + if test -d $$d/$$file; then \
  528. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  529. + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  530. + fi; \
  531. + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  532. + else \
  533. + test -f $(distdir)/$$file \
  534. + || cp -p $$d/$$file $(distdir)/$$file \
  535. + || exit 1; \
  536. + fi; \
  537. + done
  538. + list='$(SUBDIRS)'; for subdir in $$list; do \
  539. + if test "$$subdir" = .; then :; else \
  540. + test -d "$(distdir)/$$subdir" \
  541. + || mkdir "$(distdir)/$$subdir" \
  542. + || exit 1; \
  543. + (cd $$subdir && \
  544. + $(MAKE) $(AM_MAKEFLAGS) \
  545. + top_distdir="../$(top_distdir)" \
  546. + distdir="../$(distdir)/$$subdir" \
  547. + distdir) \
  548. + || exit 1; \
  549. + fi; \
  550. + done
  551. + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  552. + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  553. + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  554. + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  555. + || chmod -R a+r $(distdir)
  556. +dist-gzip: distdir
  557. + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  558. + $(am__remove_distdir)
  559. +
  560. +dist-bzip2: distdir
  561. + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
  562. + $(am__remove_distdir)
  563. +
  564. +dist-tarZ: distdir
  565. + $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
  566. + $(am__remove_distdir)
  567. +
  568. +dist-shar: distdir
  569. + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  570. + $(am__remove_distdir)
  571. +
  572. +dist-zip: distdir
  573. + -rm -f $(distdir).zip
  574. + zip -rq $(distdir).zip $(distdir)
  575. + $(am__remove_distdir)
  576. +
  577. +dist dist-all: distdir
  578. + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  579. + $(am__remove_distdir)
  580. +
  581. +# This target untars the dist file and tries a VPATH configuration. Then
  582. +# it guarantees that the distribution is self-contained by making another
  583. +# tarfile.
  584. +distcheck: dist
  585. + case '$(DIST_ARCHIVES)' in \
  586. + *.tar.gz*) \
  587. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
  588. + *.tar.bz2*) \
  589. + bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
  590. + *.tar.Z*) \
  591. + uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
  592. + *.shar.gz*) \
  593. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  594. + *.zip*) \
  595. + unzip $(distdir).zip ;;\
  596. + esac
  597. + chmod -R a-w $(distdir); chmod a+w $(distdir)
  598. + mkdir $(distdir)/_build
  599. + mkdir $(distdir)/_inst
  600. + chmod a-w $(distdir)
  601. + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  602. + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  603. + && cd $(distdir)/_build \
  604. + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  605. + $(DISTCHECK_CONFIGURE_FLAGS) \
  606. + && $(MAKE) $(AM_MAKEFLAGS) \
  607. + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  608. + && $(MAKE) $(AM_MAKEFLAGS) check \
  609. + && $(MAKE) $(AM_MAKEFLAGS) install \
  610. + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  611. + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  612. + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  613. + distuninstallcheck \
  614. + && chmod -R a-w "$$dc_install_base" \
  615. + && ({ \
  616. + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  617. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  618. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  619. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  620. + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  621. + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  622. + && rm -rf "$$dc_destdir" \
  623. + && $(MAKE) $(AM_MAKEFLAGS) dist \
  624. + && rm -rf $(DIST_ARCHIVES) \
  625. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  626. + $(am__remove_distdir)
  627. + @(echo "$(distdir) archives ready for distribution: "; \
  628. + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  629. + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  630. +distuninstallcheck:
  631. + @cd $(distuninstallcheck_dir) \
  632. + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  633. + || { echo "ERROR: files left after uninstall:" ; \
  634. + if test -n "$(DESTDIR)"; then \
  635. + echo " (check DESTDIR support)"; \
  636. + fi ; \
  637. + $(distuninstallcheck_listfiles) ; \
  638. + exit 1; } >&2
  639. +distcleancheck: distclean
  640. + @if test '$(srcdir)' = . ; then \
  641. + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  642. + exit 1 ; \
  643. fi
  644. - rm -f config.log config.cache config.status Makefile include/config.h \
  645. - version.h support/bpf-lkm/etherspoof conftest* libnet-config
  646. + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  647. + || { echo "ERROR: files left in build directory after distclean:" ; \
  648. + $(distcleancheck_listfiles) ; \
  649. + exit 1; } >&2
  650. +check-am: all-am
  651. +check: check-recursive
  652. +all-am: Makefile $(SCRIPTS)
  653. +installdirs: installdirs-recursive
  654. +installdirs-am:
  655. + for dir in "$(DESTDIR)$(bindir)"; do \
  656. + test -z "$$dir" || $(mkdir_p) "$$dir"; \
  657. + done
  658. +install: install-recursive
  659. +install-exec: install-exec-recursive
  660. +install-data: install-data-recursive
  661. +uninstall: uninstall-recursive
  662. -# EOF
  663. +install-am: all-am
  664. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  665. +
  666. +installcheck: installcheck-recursive
  667. +install-strip:
  668. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  669. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  670. + `test -z '$(STRIP)' || \
  671. + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  672. +mostlyclean-generic:
  673. +
  674. +clean-generic:
  675. +
  676. +distclean-generic:
  677. + -rm -f $(CONFIG_CLEAN_FILES)
  678. + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  679. +
  680. +maintainer-clean-generic:
  681. + @echo "This command is intended for maintainers to use"
  682. + @echo "it deletes files that may require special tools to rebuild."
  683. +clean: clean-recursive
  684. +
  685. +clean-am: clean-generic clean-libtool mostlyclean-am
  686. +
  687. +distclean: distclean-recursive
  688. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  689. + -rm -f Makefile
  690. +distclean-am: clean-am distclean-generic distclean-libtool \
  691. + distclean-tags
  692. +
  693. +dvi: dvi-recursive
  694. +
  695. +dvi-am:
  696. +
  697. +html: html-recursive
  698. +
  699. +info: info-recursive
  700. +
  701. +info-am:
  702. +
  703. +install-data-am:
  704. +
  705. +install-exec-am: install-binSCRIPTS
  706. +
  707. +install-info: install-info-recursive
  708. +
  709. +install-man:
  710. +
  711. +installcheck-am:
  712. +
  713. +maintainer-clean: maintainer-clean-recursive
  714. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  715. + -rm -rf $(top_srcdir)/autom4te.cache
  716. + -rm -f Makefile
  717. +maintainer-clean-am: distclean-am maintainer-clean-generic
  718. +
  719. +mostlyclean: mostlyclean-recursive
  720. +
  721. +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
  722. +
  723. +pdf: pdf-recursive
  724. +
  725. +pdf-am:
  726. +
  727. +ps: ps-recursive
  728. +
  729. +ps-am:
  730. +
  731. +uninstall-am: uninstall-binSCRIPTS uninstall-info-am
  732. +
  733. +uninstall-info: uninstall-info-recursive
  734. +
  735. +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
  736. + check-am clean clean-generic clean-libtool clean-recursive \
  737. + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  738. + dist-shar dist-tarZ dist-zip distcheck distclean \
  739. + distclean-generic distclean-libtool distclean-recursive \
  740. + distclean-tags distcleancheck distdir distuninstallcheck dvi \
  741. + dvi-am html html-am info info-am install install-am \
  742. + install-binSCRIPTS install-data install-data-am install-exec \
  743. + install-exec-am install-info install-info-am install-man \
  744. + install-strip installcheck installcheck-am installdirs \
  745. + installdirs-am maintainer-clean maintainer-clean-generic \
  746. + maintainer-clean-recursive mostlyclean mostlyclean-generic \
  747. + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  748. + tags tags-recursive uninstall uninstall-am \
  749. + uninstall-binSCRIPTS uninstall-info-am
  750. +
  751. +
  752. +version.h: VERSION
  753. + sed -e 's/.*/#define VERSION "&"/' < $< > $@
  754. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  755. +# Otherwise a system limit (for SysV at least) may be exceeded.
  756. +.NOEXPORT: