diff options
author | Edward Rudd | 2008-09-21 15:54:12 +0000 |
---|---|---|
committer | Edward Rudd | 2008-09-21 15:54:12 +0000 |
commit | ba30ceeb705e9b4d40ce0d98f6a4e047d47ce919 (patch) | |
tree | 5768679317a303031c80be6cba683b6addeb07ac /contrib | |
parent | d33662354f64354c601ae257bd5b1b043c484d97 (diff) |
moved all modules source to src subdirectory.. Moved header files into include subdirectory
cleaned up makefiles.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.in | 53 |
1 files changed, 5 insertions, 48 deletions
diff --git a/contrib/Makefile.in b/contrib/Makefile.in index b384fd0..c2bd203 100644 --- a/contrib/Makefile.in +++ b/contrib/Makefile.in | |||
@@ -17,60 +17,17 @@ STD_DIST = Makefile.in | |||
17 | 17 | ||
18 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) | 18 | DISTFILES = $(STD_DIST) $(EXTRA_DIST) |
19 | 19 | ||
20 | all: all-subdirs | 20 | all: |
21 | 21 | ||
22 | all-subdirs install-subdirs update-subdirs clean-subdirs distclean-subdirs: | 22 | install: |
23 | @otarget=`echo $@|sed s/-subdirs//`; \ | ||
24 | list=' $(SUBDIRS)'; \ | ||
25 | for i in $$list; do \ | ||
26 | if test -d "$$i"; then \ | ||
27 | target="$$otarget"; \ | ||
28 | echo "Making $$target in $$i"; \ | ||
29 | if test "$$i" = "."; then \ | ||
30 | made_local=yes; \ | ||
31 | target="local-$$target"; \ | ||
32 | fi; \ | ||
33 | (cd $$i && $(MAKE) $$target) || exit 1; \ | ||
34 | fi; \ | ||
35 | done; \ | ||
36 | 23 | ||
37 | include: | 24 | update: |
38 | rm -rf include | ||
39 | ln -s @APACHE_INCDIR@ include | ||
40 | 25 | ||
41 | install: install-subdirs | 26 | clean: |
42 | 27 | ||
43 | update: update-subdirs | 28 | distclean: clean |
44 | |||
45 | clean: clean-subdirs | ||
46 | |||
47 | distclean: clean distclean-subdirs | ||
48 | $(RM) Makefile | 29 | $(RM) Makefile |
49 | 30 | ||
50 | DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@ | ||
51 | DESTTGZ = $(DESTDIR).tar.gz | ||
52 | dist: | ||
53 | @rm -rf $(DESTDIR); \ | ||
54 | list=' $(SUBDIRS)'; \ | ||
55 | for i in $$list; do \ | ||
56 | if test -d "$$i"; then \ | ||
57 | target=local-dist; \ | ||
58 | echo "Making $$target in $$i"; \ | ||
59 | if test "$$i" = "."; then \ | ||
60 | made_local=yes; \ | ||
61 | target="local-dist"; \ | ||
62 | fi; \ | ||
63 | NEWDESTDIR=$(builddir)/$(DESTDIR)/$$i; \ | ||
64 | echo $(NEWDESTDIR); \ | ||
65 | (cd $$i && $(MAKE) DESTDIR=$(builddir)/$(DESTDIR)/$$i $$target) || exit 1; \ | ||
66 | fi; \ | ||
67 | done; | ||
68 | if test "$$made_local" != "yes"; then \ | ||
69 | $(MAKE) "local-dist" || exit 1; \ | ||
70 | fi | ||
71 | tar -zcf $(DESTTGZ) $(DESTDIR) | ||
72 | rm -rf $(DESTDIR) | ||
73 | |||
74 | local-dist: $(DISTFILES) | 31 | local-dist: $(DISTFILES) |
75 | mkdir -p $(DESTDIR) | 32 | mkdir -p $(DESTDIR) |
76 | cp -dp --parents $(DISTFILES) $(DESTDIR) | 33 | cp -dp --parents $(DISTFILES) $(DESTDIR) |