AUTOMAKE_OPTIONS = foreign no-dependencies lib_LIBRARIES = librxspencer.a INCLUDES = -DPOSIX_MISTAKE -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS\ -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h librxspencer_a_SOURCES = regcomp.c regerror.c regexec.c regfree.c kernel.c noinst_HEADERS = cclass.h cname.h engine.c regex2.h utils.h man_MANS = rxspencer.3 rxspencer.7 BUILT_SOURCES = main.ih debug.ih regerror.ih engine.ih regcomp.ih regex.h test_SOURCES = split.c debug.c main.c re_d_objs = split.d debug.d main.d regcomp.d regerror.d regexec.d regfree.d re: $(BUILT_SOURCES) $(re_d_objs) $(LINK) -o re $(re_d_objs) SUFFIXES = .d .ih MKHFLAGS = .c.d: $(COMPILE) -c -DREDEBUG $< -o $@ .c.ih: sh $(srcdir)/mkh $(MKHFLAGS) -p $< > $@ REGEXHSRC = $(srcdir)/regex2.h $(srcdir)/regcomp.c $(srcdir)/regerror.c\ $(srcdir)/regexec.c $(srcdir)/regfree.c regex.h: $(REGEXHSRC) mkh sh $(srcdir)/mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) > regex.h install-data-local: $(mkinstalldirs) $(pkgincludedir) $(INSTALL_DATA) regex.h $(pkgincludedir) CLEANFILES = re *.d *.ih regex.h TESTS = test1.sh test2.sh test3.sh test1.sh: re EXTRA_DIST = COPYRIGHT WHATSNEW tests autogen.sh mkh\ Makefile.orig $(TESTS) $(test_SOURCES) $(man_MANS)\ fake/memmove.c fake/limits.h fake/stdlib.h debug.o: debug.c debug.ih regex.h utils.h regex2.h main.o: main.c main.ih regex.h regcomp.o: regcomp.c regcomp.ih cclass.h cname.h regex.h regex2.h utils.h regerror.o: regerror.c regerror.ih regex.h utils.h regexec.o: regexec.c engine.c engine.ih regex.h regex2.h utils.h split.o: split.c