1## LIBOPTS Makefile 2MAINTAINERCLEANFILES = Makefile.in 3if INSTALL_LIBOPTS 4lib_LTLIBRARIES = libopts.la 5else 6noinst_LTLIBRARIES = libopts.la 7endif 8libopts_la_SOURCES = libopts.c 9libopts_la_CPPFLAGS = -I$(srcdir) 10libopts_la_LDFLAGS = -version-info 41:0:16 11EXTRA_DIST = 12BUILT_SOURCES = 13MOSTLYCLEANFILES = 14 15libopts.c: $(BUILT_SOURCES) 16 @: do-nothing rule to avoid default SCCS get 17 18 19# Makefile fragment from gnulib-s stdnoreturn module: 20# 21_NORETURN_H=$(srcdir)/compat/_Noreturn.h 22EXTRA_DIST += $(srcdir)/compat/_Noreturn.h 23BUILT_SOURCES += $(STDNORETURN_H) 24if GL_GENERATE_STDNORETURN_H 25stdnoreturn.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; \ 30 } > $@-t && \ 31 mv $@-t $@ 32else 33stdnoreturn.h: $(top_builddir)/config.status 34 rm -f $@ 35endif 36MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t 37EXTRA_DIST += stdnoreturn.in.h 38 39EXTRA_DIST += \ 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 \ 48 cook.c enum.c env.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 \ 60 usage.c version.c 61