]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/libopts/Makefile.am
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / libopts / Makefile.am
1 ## LIBOPTS Makefile
2 MAINTAINERCLEANFILES    = Makefile.in
3 if INSTALL_LIBOPTS
4 lib_LTLIBRARIES         = libopts.la
5 else
6 noinst_LTLIBRARIES      = libopts.la
7 endif
8 libopts_la_SOURCES      = libopts.c
9 libopts_la_CPPFLAGS     = -I$(srcdir)
10 libopts_la_LDFLAGS      = -version-info  41:0:16
11 EXTRA_DIST              =
12 BUILT_SOURCES           =
13 MOSTLYCLEANFILES        =
14
15 libopts.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
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; \
30         } > $@-t && \
31         mv $@-t $@
32 else
33 stdnoreturn.h: $(top_builddir)/config.status
34         rm -f $@
35 endif
36 MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t
37 EXTRA_DIST += stdnoreturn.in.h
38
39 EXTRA_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