1 ## $Id: Makefile 6326 2003-05-05 21:47:43Z rra $
3 ## Currently just handles creation of the automatically generated header
4 ## files. Eventually, rules for installing INN's header files will go
7 include ../Makefile.global
11 ALL = inn/system.h inn/version.h
13 EXTRA = config.h paths.h
15 PUBLIC = config.h conffile.h dbz.h inndcomm.h libinn.h nntp.h ov.h \
23 clobber distclean: clean
30 $(EXTRA) $(FIXSCRIPT):
31 @echo Run configure before running make. See INSTALL for details.
37 inn/system.h: config.h $(top)/support/mksystem
38 $(top)/support/mksystem $(AWK) config.h > $@
40 inn/version.h: $(top)/support/mkversion $(top)/Makefile.global
41 $(top)/support/mkversion '$(VERSION)' '$(VERSION_EXTRA)' > $@
44 ## Installation rules.
47 for F in $(PUBLIC) ; do \
48 $(CP_RPUB) $$F $D$(PATHINCLUDE)/$$F ; \
50 $(top)/support/install-sh $(OWNER) -m 0755 -d $D$(PATHINCLUDE)/inn
51 for F in inn/*.h ; do \
52 $(CP_RPUB) $$F $D$(PATHINCLUDE)/$$F ; \