]> granicus.if.org Git - cronie/blob - anacron/Makemodule.am
do not log carriage return
[cronie] / anacron / Makemodule.am
1 # Makefile.am - two binaries crond and crontab
2 if ANACRON
3 sbin_PROGRAMS += anacron/anacron
4 anacron_anacron_SOURCES = \
5         anacron-paths.h \
6         anacron/global.h \
7         anacron/gregor.c \
8         anacron/gregor.h \
9         anacron/lock.c \
10         anacron/log.c \
11         anacron/main.c \
12         anacron/matchrx.c \
13         anacron/matchrx.h \
14         anacron/readtab.c \
15         anacron/runjob.c
16 common_nodist += anacron-paths.h
17 nodist_anacron_anacron_SOURCES = $(common_nodist)
18 BUILT_SOURCES += $(common_nodist)
19
20 anacron_anacron_LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
21
22 # This header contains all the paths.
23 # If they are configurable, they are declared in configure script.
24 # Depends on this Makefile, because it uses make variables.
25 CLEANFILES += anacron-paths.h
26 anacron-paths.h: Makefile
27         @echo 'creating $@'
28         @sed >$@ 's/ *\\$$//' <<\END #\
29         /* This file has been automatically generated.  Do not edit. */ \
30         \
31         #ifndef _ANACRON_PATHS_H_ \
32         #define _ANACRON_PATHS_H_ \
33         #define ANACRON_SPOOL_DIR "$(ANACRON_SPOOL_DIR)" \
34         #define ANACRONTAB "$(ANACRONTAB)" \
35         #endif /* _ANACRON_PATHS_H_ */ \
36         END
37 endif