1 ## Process this file with automake to produce Makefile.in.
3 supportincludedir = $(pkglibdir)/include
6 INCLUDES = -D_GNU_SOURCE
8 lib_LTLIBRARIES = libgnomesupport.la
10 supportinclude_HEADERS = gnome-argp.h getopt.h long-options.h argp.h error.h
12 # it is in _DATA since we don't want `gnomesupport.h' to be part of
13 # the distributed `.tar.gz' file
14 supportinclude_DATA = gnomesupport.h
16 # These are internal headers: they are used only when compiling and
17 # should not be installed
18 noinst_HEADERS = argp-fmtstream.h argp-namefrob.h gnomesupport-fake.h
20 # gnomesupport.h is listed here to ensure that it is built
21 libgnomesupport_la_SOURCES = gnomesupport.h long-options.c gnome-argp.c
22 libgnomesupport_la_LIBADD = @LTLIBOBJS@
23 libgnomesupport_la_LDFLAGS = -version-info 0:0:0
25 BUILT_SOURCES = gnomesupport.h
27 gnomesupport.h: gnomesupport.awk $(top_builddir)/config.h
28 $(AWK) -f $(srcdir)/gnomesupport.awk < $(top_builddir)/config.h > gsh-t
29 mv gsh-t gnomesupport.h
33 EXTRA_DIST = argp-test.c argp.texi gnomesupport.awk