summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/sntp/libopts/Makefile.am
blob: ea1b56dfd2f22d8b09b621c53ed207a3fb969dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## LIBOPTS Makefile
MAINTAINERCLEANFILES    = Makefile.in
if INSTALL_LIBOPTS
lib_LTLIBRARIES         = libopts.la
else
noinst_LTLIBRARIES      = libopts.la
endif
libopts_la_SOURCES      = libopts.c
libopts_la_CPPFLAGS     = -I$(srcdir)
libopts_la_LDFLAGS      = -version-info  41:0:16
EXTRA_DIST		=
BUILT_SOURCES		=
MOSTLYCLEANFILES	=

libopts.c:		$(BUILT_SOURCES)
	@: do-nothing rule to avoid default SCCS get


# Makefile fragment from gnulib-s stdnoreturn module:
#
_NORETURN_H=$(srcdir)/compat/_Noreturn.h
EXTRA_DIST += $(srcdir)/compat/_Noreturn.h
BUILT_SOURCES += $(STDNORETURN_H)
if GL_GENERATE_STDNORETURN_H
stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
	$(AM_V_GEN)rm -f $@-t $@ && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
	  sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \
              < $(srcdir)/stdnoreturn.in.h; \
	} > $@-t && \
	mv $@-t $@
else
stdnoreturn.h: $(top_builddir)/config.status
	rm -f $@
endif
MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t
EXTRA_DIST += stdnoreturn.in.h

EXTRA_DIST += \
    COPYING.gplv3           COPYING.lgplv3          COPYING.mbsd  \
    MakeDefs.inc            README                  ag-char-map.h  \
    alias.c                 ao-strs.c               ao-strs.h  \
    autoopts/project.h      autoopts/options.h      autoopts/usage-txt.h  \
    autoopts.c              autoopts.h              boolean.c  \
    check.c                 compat/snprintf.c       compat/strchr.c  \
    compat/strdup.c         compat/_Noreturn.h      compat/pathfind.c  \
    compat/compat.h         compat/windows-config.h configfile.c  \
    cook.c                  enum.c                  env.c  \
    file.c                  find.c                  genshell.c  \
    genshell.h              gettext.h               init.c  \
    intprops.h              load.c                  m4/stdnoreturn.m4  \
    m4/liboptschk.m4        m4/libopts.m4           makeshell.c  \
    nested.c                numeric.c               option-value-type.c  \
    option-value-type.h     option-xat-attribute.c  option-xat-attribute.h  \
    parse-duration.c        parse-duration.h        pgusage.c  \
    proto.h                 putshell.c              reset.c  \
    restore.c               save.c                  sort.c  \
    stack.c                 stdnoreturn.in.h        streqvcmp.c  \
    text_mmap.c             time.c                  tokenize.c  \
    usage.c                 version.c
OpenPOWER on IntegriCloud