1ea906c41SOllivier Robert## LIBOPTS Makefile 2ea906c41SOllivier RobertMAINTAINERCLEANFILES = Makefile.in 3ea906c41SOllivier Robertif INSTALL_LIBOPTS 4ea906c41SOllivier Robertlib_LTLIBRARIES = libopts.la 5ea906c41SOllivier Robertelse 6ea906c41SOllivier Robertnoinst_LTLIBRARIES = libopts.la 7ea906c41SOllivier Robertendif 8ea906c41SOllivier Robertlibopts_la_SOURCES = libopts.c 9a466cc55SCy Schubertlibopts_la_LDFLAGS = -version-info 42:1:17 10a466cc55SCy Schubert 112b15cb3dSCy SchubertEXTRA_DIST = 122b15cb3dSCy SchubertBUILT_SOURCES = 132b15cb3dSCy SchubertMOSTLYCLEANFILES = 142b15cb3dSCy Schubert 15a466cc55SCy SchubertAM_CFLAGS = $(NTP_HARD_CFLAGS) $(CC_NOFORMAT) 16*f5f40dd6SCy SchubertAM_CPPFLAGS = $(NTP_HARD_CPPFLAGS) -I$(top_srcdir)/../include 17f0574f5cSXin LI 182b15cb3dSCy Schubertlibopts.c: $(BUILT_SOURCES) 192b15cb3dSCy Schubert @: do-nothing rule to avoid default SCCS get 202b15cb3dSCy Schubert 212b15cb3dSCy Schubert 222b15cb3dSCy Schubert# Makefile fragment from gnulib-s stdnoreturn module: 232b15cb3dSCy Schubert# 24a466cc55SCy Schubert_NORETURN_H=$(srcdir)/_Noreturn.h 25a466cc55SCy SchubertEXTRA_DIST += _Noreturn.h 262b15cb3dSCy SchubertBUILT_SOURCES += $(STDNORETURN_H) 272b15cb3dSCy Schubertif GL_GENERATE_STDNORETURN_H 282b15cb3dSCy Schubertstdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H) 292b15cb3dSCy Schubert $(AM_V_GEN)rm -f $@-t $@ && \ 302b15cb3dSCy Schubert { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 312b15cb3dSCy Schubert sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \ 322b15cb3dSCy Schubert < $(srcdir)/stdnoreturn.in.h; \ 332b15cb3dSCy Schubert } > $@-t && \ 342b15cb3dSCy Schubert mv $@-t $@ 352b15cb3dSCy Schubertelse 362b15cb3dSCy Schubertstdnoreturn.h: $(top_builddir)/config.status 372b15cb3dSCy Schubert rm -f $@ 382b15cb3dSCy Schubertendif 392b15cb3dSCy SchubertMOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t 402b15cb3dSCy SchubertEXTRA_DIST += stdnoreturn.in.h 412b15cb3dSCy Schubert 422b15cb3dSCy SchubertEXTRA_DIST += \ 432b15cb3dSCy Schubert COPYING.gplv3 COPYING.lgplv3 COPYING.mbsd \ 44a466cc55SCy Schubert MakeDefs.inc README _Noreturn.h \ 45a466cc55SCy Schubert ag-char-map.h alias.c ao-strs.c \ 46a466cc55SCy Schubert ao-strs.h autoopts.c autoopts.h \ 47a466cc55SCy Schubert autoopts/options.h autoopts/project.h autoopts/usage-txt.h \ 48a466cc55SCy Schubert boolean.c check.c compat/compat.h \ 49a466cc55SCy Schubert compat/pathfind.c compat/snprintf.c compat/strchr.c \ 50a466cc55SCy Schubert compat/strdup.c compat/windows-config.h configfile.c \ 512b15cb3dSCy Schubert cook.c enum.c env.c \ 522b15cb3dSCy Schubert file.c find.c genshell.c \ 532b15cb3dSCy Schubert genshell.h gettext.h init.c \ 54a466cc55SCy Schubert intprops.h load.c m4/libopts.m4 \ 55a466cc55SCy Schubert m4/liboptschk.m4 m4/stdnoreturn.m4 makeshell.c \ 562b15cb3dSCy Schubert nested.c numeric.c option-value-type.c \ 572b15cb3dSCy Schubert option-value-type.h option-xat-attribute.c option-xat-attribute.h \ 582b15cb3dSCy Schubert parse-duration.c parse-duration.h pgusage.c \ 592b15cb3dSCy Schubert proto.h putshell.c reset.c \ 60a466cc55SCy Schubert restore.c save-flags.c save-flags.h \ 61a466cc55SCy Schubert save.c sort.c stack.c \ 62a466cc55SCy Schubert stdnoreturn.in.h streqvcmp.c text_mmap.c \ 63a466cc55SCy Schubert time.c tokenize.c usage.c \ 64a466cc55SCy Schubert version.c 65