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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = man port scripts
sbin_PROGRAMS = rlinetd
rlinetd_LDFLAGS = -export-dynamic
EXTRA_HEADERS = installpaths.h
noinst_HEADERS = assemble.h buffer.h bytecode.h data.h db.h error.h grammar.h parse.h rlinetd.h signals.h stack.h strings.h util.h
rlinetd_SOURCES = buffer.c bytecode.c connect.c db.c error.c engine.c main.c stack.c strings.c signals.c
EXTRA_DIST = BUGS README.capabilities README.inetd THOUGHTS TODO examples auxiliary
pkglib_LTLIBRARIES = libparse.la
libparse_la_SOURCES = assemble.c cleanups.c data.c libdb.c lex.l grammar.y util.c
libparse_la_LDFLAGS = -module -avoid-version
rlinetd_LDADD = @libsrlinetd@ port/libport.a
AM_YFLAGS=-d
CLEANFILES = installpaths.h grammar.c lex.c grammar.h
lex.lo: grammar.lo grammar.h
grammar.lo: installpaths.h grammar.h
main.o: installpaths.h
installpaths.h: Makefile
echo '#ifndef RLH_PATHS' > installpaths.h
echo '#define RLH_PATHS' >> installpaths.h
echo '#define SYSCONFDIR "@sysconfdir@"' >> installpaths.h
echo '#define MODULESDIR "@libdir@/rlinetd"' >> installpaths.h
echo '#endif /* !RLH_PATHS */' >> installpaths.h
dist-hook:
find "$(distdir)" -name CVS -type d -print0 | xargs -0 rm -rf {}
(cd "$(distdir)" && rm -f installpaths.h grammar.c lex.c grammar.h)
|