Annotation of embedaddon/libnet/src/Makefile.am, revision 1.1.1.3

1.1       misho       1: #
                      2: # Libnet automake information file
                      3: # Copyright (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com>
                      4: # All rights reserved.
                      5: #
                      6: # Process this file with automake to produce a Makefile.in script.
                      7: 
1.1.1.3 ! misho       8: EXTRA_DIST = libnet_dll.c common.h
        !             9: AM_CPPFLAGS = -I$(top_srcdir)/include -I$(builddir)/../include
1.1       misho      10: 
1.1.1.2   misho      11: lib_LTLIBRARIES = libnet.la
                     12: 
                     13: libnet_la_SOURCES = libnet_asn1.c \
1.1       misho      14:                        libnet_build_802.1q.c \
                     15:                        libnet_build_802.1x.c \
                     16:                        libnet_build_802.2.c \
                     17:                        libnet_build_802.3.c \
                     18:                        libnet_build_arp.c \
                     19:                        libnet_build_bgp.c \
                     20:                        libnet_build_cdp.c \
                     21:                        libnet_build_data.c \
                     22:                        libnet_build_dhcp.c \
                     23:                        libnet_build_dns.c \
                     24:                        libnet_build_ethernet.c \
                     25:                        libnet_build_fddi.c \
                     26:                        libnet_build_gre.c \
1.1.1.2   misho      27:                        libnet_build_hsrp.c \
1.1       misho      28:                        libnet_build_icmp.c \
                     29:                        libnet_build_igmp.c \
                     30:                        libnet_build_ip.c \
                     31:                        libnet_build_ipsec.c \
                     32:                        libnet_build_isl.c \
1.1.1.2   misho      33:                        libnet_build_link.c \
1.1       misho      34:                        libnet_build_mpls.c \
                     35:                        libnet_build_ntp.c \
                     36:                        libnet_build_ospf.c \
                     37:                        libnet_build_rip.c \
                     38:                        libnet_build_rpc.c \
                     39:                        libnet_build_sebek.c \
                     40:                        libnet_build_snmp.c \
                     41:                        libnet_build_stp.c \
                     42:                        libnet_build_tcp.c \
                     43:                        libnet_build_token_ring.c \
                     44:                        libnet_build_udp.c \
                     45:                        libnet_build_vrrp.c \
                     46:                        libnet_advanced.c \
                     47:                        libnet_checksum.c \
                     48:                        libnet_cq.c \
                     49:                        libnet_crc.c \
                     50:                        libnet_error.c \
                     51:                        libnet_if_addr.c \
                     52:                        libnet_init.c \
                     53:                        libnet_internal.c \
                     54:                        libnet_pblock.c \
                     55:                        libnet_port_list.c \
                     56:                        libnet_prand.c \
                     57:                        libnet_raw.c \
                     58:                        libnet_resolve.c \
                     59:                        libnet_version.c \
                     60:                        libnet_write.c
                     61: 
1.1.1.2   misho      62: libnet_la_LIBADD = @LTLIBOBJS@
                     63: 
                     64: # Note: this version-info should NOT simply be the version of the libnet
                     65: # package. See:
1.1.1.3 ! misho      66: #   https://www.sourceware.org/autobook/autobook/autobook_61.html#Library-Versioning
        !            67: #   http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
1.1.1.2   misho      68: # for the rules.
                     69: #
                     70: # Summary:
                     71: #
                     72: # Form is current:revision:age.
                     73: #
1.1.1.3 ! misho      74: # Here are a set of rules to help you update your library version
        !            75: # information:
        !            76: #
        !            77: # 1. If the library source code has changed at all since the last
        !            78: # update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
        !            79: #
        !            80: # 2. If any interfaces have been added, removed, or changed since the
        !            81: # last update, increment CURRENT, and set REVISION to 0.
        !            82: #
        !            83: # 3. If any interfaces have been added since the last public release,
        !            84: # then increment AGE.
        !            85: #
        !            86: # 4. If any interfaces have been removed since the last public release,
        !            87: # then set AGE to 0.
1.1.1.2   misho      88: #
                     89: # Note:
                     90: # 1.1.2.1-fork is 5:0:4
                     91: # 1.1.3 will be 6:0:5  -> new interfaces, backwards compatible
                     92: # 1.1.4 was 6:0:5 -> probably an error on my part
1.1.1.3 ! misho      93: # 1.1.5 is 7:0:6 -> new APIs, backwards compatible
        !            94: # 1.1.6 is 8:0:7 -> new APIs, backwards compatible
        !            95: # 1.2   is 9:0:0 -> new APIs, removed __libnet_print_vers (internal, should not have been used, but linkable) APIs
        !            96: 
        !            97: libnet_la_LDFLAGS = -version-info 9:0:0
        !            98: 
        !            99: ## Windows stuff
        !           100: 
        !           101: if WIN32
        !           102: libnet_la_LDFLAGS += -no-undefined
        !           103: # don't do any of this if we're not building shared libnet
        !           104: if COND_SHARED
        !           105: libnet_la_SOURCES += libnet_dll_info.rc
        !           106: libnet_la_LDFLAGS += -Wl,--output-def, -Wl,libnet-9.def
        !           107: 
        !           108: .rc.lo:
        !           109:                        $(AM_V_GEN)$(LIBTOOL) --mode=compile --silent $(WINDRES) $< -o $@
        !           110: endif
        !           111: endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>