1 # Makefile.am - two binaries crond and crontab
3 sbin_PROGRAMS += anacron/anacron
4 anacron_anacron_SOURCES = \
16 common_nodist += anacron-paths.h
17 nodist_anacron_anacron_SOURCES = $(common_nodist)
18 BUILT_SOURCES += $(common_nodist)
20 anacron_anacron_LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
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
28 @sed >$@ 's/ *\\$$//' <<\END #\
29 /* This file has been automatically generated. Do not edit. */ \
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_ */ \