version 1.1, 2012/02/21 22:14:23
|
version 1.1.1.3, 2023/09/27 11:11:38
|
Line 1
|
Line 1
|
# $Id$ |
|
# |
# |
# Libnet automake information file |
# Libnet automake information file |
# Copyright (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com> |
# Copyright (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com> |
Line 6
|
Line 5
|
# |
# |
# Process this file with automake to produce a Makefile.in script. |
# Process this file with automake to produce a Makefile.in script. |
|
|
include $(top_srcdir)/Makefile.am.common | EXTRA_DIST = libnet_dll.c common.h |
| AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir)/../include |
|
|
lib_LIBRARIES = libnet.a | lib_LTLIBRARIES = libnet.la |
|
|
libnet_a_SOURCES = libnet_asn1.c \ | libnet_la_SOURCES = libnet_asn1.c \ |
libnet_build_802.1q.c \ |
libnet_build_802.1q.c \ |
libnet_build_802.1x.c \ |
libnet_build_802.1x.c \ |
libnet_build_802.2.c \ |
libnet_build_802.2.c \ |
Line 24 libnet_a_SOURCES = libnet_asn1.c \
|
Line 24 libnet_a_SOURCES = libnet_asn1.c \
|
libnet_build_ethernet.c \ |
libnet_build_ethernet.c \ |
libnet_build_fddi.c \ |
libnet_build_fddi.c \ |
libnet_build_gre.c \ |
libnet_build_gre.c \ |
|
libnet_build_hsrp.c \ |
libnet_build_icmp.c \ |
libnet_build_icmp.c \ |
libnet_build_igmp.c \ |
libnet_build_igmp.c \ |
libnet_build_ip.c \ |
libnet_build_ip.c \ |
libnet_build_ipsec.c \ |
libnet_build_ipsec.c \ |
libnet_build_isl.c \ |
libnet_build_isl.c \ |
|
libnet_build_link.c \ |
libnet_build_mpls.c \ |
libnet_build_mpls.c \ |
libnet_build_ntp.c \ |
libnet_build_ntp.c \ |
libnet_build_ospf.c \ |
libnet_build_ospf.c \ |
Line 57 libnet_a_SOURCES = libnet_asn1.c \
|
Line 59 libnet_a_SOURCES = libnet_asn1.c \
|
libnet_version.c \ |
libnet_version.c \ |
libnet_write.c |
libnet_write.c |
|
|
EXTRA_libnet_a_SOURCES = libnet_link_bpf.c \ | libnet_la_LIBADD = @LTLIBOBJS@ |
libnet_link_dlpi.c \ | |
libnet_link_linux.c \ | |
libnet_link_nit.c \ | |
libnet_link_none.c \ | |
libnet_link_pf.c \ | |
libnet_link_snit.c \ | |
libnet_link_snoop.c \ | |
libnet_link_win32.c | |
|
|
libnet_a_LIBADD = @LIBOBJS@ | # Note: this version-info should NOT simply be the version of the libnet |
| # package. See: |
| # https://www.sourceware.org/autobook/autobook/autobook_61.html#Library-Versioning |
| # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html |
| # for the rules. |
| # |
| # Summary: |
| # |
| # Form is current:revision:age. |
| # |
| # Here are a set of rules to help you update your library version |
| # information: |
| # |
| # 1. If the library source code has changed at all since the last |
| # update, then increment REVISION (`C:R:A' becomes `C:r+1:A'). |
| # |
| # 2. If any interfaces have been added, removed, or changed since the |
| # last update, increment CURRENT, and set REVISION to 0. |
| # |
| # 3. If any interfaces have been added since the last public release, |
| # then increment AGE. |
| # |
| # 4. If any interfaces have been removed since the last public release, |
| # then set AGE to 0. |
| # |
| # Note: |
| # 1.1.2.1-fork is 5:0:4 |
| # 1.1.3 will be 6:0:5 -> new interfaces, backwards compatible |
| # 1.1.4 was 6:0:5 -> probably an error on my part |
| # 1.1.5 is 7:0:6 -> new APIs, backwards compatible |
| # 1.1.6 is 8:0:7 -> new APIs, backwards compatible |
| # 1.2 is 9:0:0 -> new APIs, removed __libnet_print_vers (internal, should not have been used, but linkable) APIs |
|
|
|
libnet_la_LDFLAGS = -version-info 9:0:0 |
|
|
|
## Windows stuff |
|
|
|
if WIN32 |
|
libnet_la_LDFLAGS += -no-undefined |
|
# don't do any of this if we're not building shared libnet |
|
if COND_SHARED |
|
libnet_la_SOURCES += libnet_dll_info.rc |
|
libnet_la_LDFLAGS += -Wl,--output-def, -Wl,libnet-9.def |
|
|
|
.rc.lo: |
|
$(AM_V_GEN)$(LIBTOOL) --mode=compile --silent $(WINDRES) $< -o $@ |
|
endif |
|
endif |
|
|