version 1.1.1.2, 2013/07/22 11:54:42
|
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 |
|
|
EXTRA_DIST = libnet_dll.c |
|
|
|
lib_LTLIBRARIES = libnet.la |
lib_LTLIBRARIES = libnet.la |
|
|
libnet_la_SOURCES = libnet_asn1.c \ |
libnet_la_SOURCES = libnet_asn1.c \ |
Line 65 libnet_la_LIBADD = @LTLIBOBJS@
|
Line 63 libnet_la_LIBADD = @LTLIBOBJS@
|
|
|
# Note: this version-info should NOT simply be the version of the libnet |
# Note: this version-info should NOT simply be the version of the libnet |
# package. See: |
# package. See: |
# http://www.sourceware.org/autobook/autobook/autobook_91.html | # 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. |
# for the rules. |
# |
# |
# Summary: |
# Summary: |
# |
# |
# Form is current:revision:age. |
# Form is current:revision:age. |
# |
# |
# New APIs, backwards compatible, increment current and age. | # Here are a set of rules to help you update your library version |
# Bug fix, no new APIs, increment revision. | # 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: |
# Note: |
# 1.1.2.1-fork is 5:0:4 |
# 1.1.2.1-fork is 5:0:4 |
# 1.1.3 will be 6:0:5 -> new interfaces, backwards compatible |
# 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.4 was 6:0:5 -> probably an error on my part |
# 1.1.5 is 7:0:6 -> new APIs, backwards compat | # 1.1.5 is 7:0:6 -> new APIs, backwards compatible |
# 1.1.6 is 8:0:7 -> new APIs, backwards compat | # 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 8:0:7 -Wl | 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 |
|
|