| 1 |
# Makefile for popt library. |
| 2 |
|
| 3 |
EXTRA_DIST = lookup3.c libpopt.vers |
| 4 |
|
| 5 |
AM_CPPFLAGS = -I. -I$(top_srcdir) |
| 6 |
AM_CPPFLAGS += -DPOPT_SYSCONFDIR="\"$(sysconfdir)\"" |
| 7 |
|
| 8 |
noinst_HEADERS = poptint.h system.h |
| 9 |
|
| 10 |
include_HEADERS = popt.h |
| 11 |
lib_LTLIBRARIES = libpopt.la |
| 12 |
|
| 13 |
libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c |
| 14 |
|
| 15 |
libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ |
| 16 |
# libtool current:revision:age info |
| 17 |
libpopt_la_LDFLAGS += -version-info 0:2:0 |
| 18 |
|
| 19 |
if HAVE_LD_VERSION_SCRIPT |
| 20 |
libpopt_la_LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/libpopt.vers |
| 21 |
endif |
| 22 |
|