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