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 44 45 46 47 48 49 50 51
|
## $Id: Makefile 7585 2006-11-21 09:37:51Z eagle $
##
## Currently just handles creation of the automatically generated header
## files. Eventually, rules for installing INN's header files will go
## here.
include ../Makefile.global
top = ..
ALL = inn/system.h inn/version.h
EXTRA = config.h inn/paths.h
all: $(ALL) $(EXTRA)
warnings: all
bootstrap:
clean:
rm -f $(ALL)
clobber distclean maintclean: clean
rm -f $(EXTRA)
depend tags ctags:
profiled: all
$(EXTRA) $(FIXSCRIPT):
@echo Run configure before running make. See INSTALL for details.
@exit 1
## Build rules.
inn/system.h: config.h $(top)/support/mksystem
$(top)/support/mksystem $(AWK) config.h > $@
inn/version.h: $(top)/support/mkversion $(top)/Makefile.global
$(top)/support/mkversion '$(VERSION)' '$(VERSION_EXTRA)' > $@
## Installation rules.
install:
$(top)/support/install-sh $(OWNER) -m 0755 -d $D$(PATHINCLUDE)/inn
for F in inn/*.h ; do \
$(CP_RPUB) $$F $D$(PATHINCLUDE)/$$F ; \
done
|