2 MAINTAINERCLEANFILES = Makefile.in
4 lib_LTLIBRARIES = libopts.la
6 noinst_LTLIBRARIES = libopts.la
8 libopts_la_SOURCES = libopts.c
9 libopts_la_CPPFLAGS = -I$(srcdir)
10 libopts_la_LDFLAGS = -version-info 41:0:16
15 libopts.c: $(BUILT_SOURCES)
16 @: do-nothing rule to avoid default SCCS get
19 # Makefile fragment from gnulib-s stdnoreturn module:
21 _NORETURN_H=$(srcdir)/compat/_Noreturn.h
22 EXTRA_DIST += $(srcdir)/compat/_Noreturn.h
23 BUILT_SOURCES += $(STDNORETURN_H)
24 if GL_GENERATE_STDNORETURN_H
25 stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
26 $(AM_V_GEN)rm -f $@-t $@ && \
27 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
28 sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \
29 < $(srcdir)/stdnoreturn.in.h; \
33 stdnoreturn.h: $(top_builddir)/config.status
36 MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t
37 EXTRA_DIST += stdnoreturn.in.h
40 COPYING.gplv3 COPYING.lgplv3 COPYING.mbsd \
41 MakeDefs.inc README ag-char-map.h \
42 alias.c ao-strs.c ao-strs.h \
43 autoopts/project.h autoopts/options.h autoopts/usage-txt.h \
44 autoopts.c autoopts.h boolean.c \
45 check.c compat/snprintf.c compat/strchr.c \
46 compat/strdup.c compat/_Noreturn.h compat/pathfind.c \
47 compat/compat.h compat/windows-config.h configfile.c \
49 file.c find.c genshell.c \
50 genshell.h gettext.h init.c \
51 intprops.h load.c m4/stdnoreturn.m4 \
52 m4/liboptschk.m4 m4/libopts.m4 makeshell.c \
53 nested.c numeric.c option-value-type.c \
54 option-value-type.h option-xat-attribute.c option-xat-attribute.h \
55 parse-duration.c parse-duration.h pgusage.c \
56 proto.h putshell.c reset.c \
57 restore.c save.c sort.c \
58 stack.c stdnoreturn.in.h streqvcmp.c \
59 text_mmap.c time.c tokenize.c \