# # Libnet automake information file # Copyright (c) 1998 - 2004 Mike D. Schiffman # All rights reserved. # # Process this file with automake to produce a Makefile.in script. EXTRA_DIST = libnet_dll.c common.h AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir)/../include lib_LTLIBRARIES = libnet.la libnet_la_SOURCES = libnet_asn1.c \ libnet_build_802.1q.c \ libnet_build_802.1x.c \ libnet_build_802.2.c \ libnet_build_802.3.c \ libnet_build_arp.c \ libnet_build_bgp.c \ libnet_build_cdp.c \ libnet_build_data.c \ libnet_build_dhcp.c \ libnet_build_dns.c \ libnet_build_ethernet.c \ libnet_build_fddi.c \ libnet_build_gre.c \ libnet_build_hsrp.c \ libnet_build_icmp.c \ libnet_build_igmp.c \ libnet_build_ip.c \ libnet_build_ipsec.c \ libnet_build_isl.c \ libnet_build_link.c \ libnet_build_mpls.c \ libnet_build_ntp.c \ libnet_build_ospf.c \ libnet_build_rip.c \ libnet_build_rpc.c \ libnet_build_sebek.c \ libnet_build_snmp.c \ libnet_build_stp.c \ libnet_build_tcp.c \ libnet_build_token_ring.c \ libnet_build_udp.c \ libnet_build_vrrp.c \ libnet_advanced.c \ libnet_checksum.c \ libnet_cq.c \ libnet_crc.c \ libnet_error.c \ libnet_if_addr.c \ libnet_init.c \ libnet_internal.c \ libnet_pblock.c \ libnet_port_list.c \ libnet_prand.c \ libnet_raw.c \ libnet_resolve.c \ libnet_version.c \ libnet_write.c libnet_la_LIBADD = @LTLIBOBJS@ # 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