summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2008-09-21 15:54:12 +0000
committerGravatar Edward Rudd 2008-09-21 15:54:12 +0000
commitba30ceeb705e9b4d40ce0d98f6a4e047d47ce919 (patch)
tree5768679317a303031c80be6cba683b6addeb07ac /contrib
parentd33662354f64354c601ae257bd5b1b043c484d97 (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.in53
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
18DISTFILES = $(STD_DIST) $(EXTRA_DIST) 18DISTFILES = $(STD_DIST) $(EXTRA_DIST)
19 19
20all: all-subdirs 20all:
21 21
22all-subdirs install-subdirs update-subdirs clean-subdirs distclean-subdirs: 22install:
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
37include: 24update:
38 rm -rf include
39 ln -s @APACHE_INCDIR@ include
40 25
41install: install-subdirs 26clean:
42 27
43update: update-subdirs 28distclean: clean
44
45clean: clean-subdirs
46
47distclean: clean distclean-subdirs
48 $(RM) Makefile 29 $(RM) Makefile
49 30
50DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@
51DESTTGZ = $(DESTDIR).tar.gz
52dist:
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
74local-dist: $(DISTFILES) 31local-dist: $(DISTFILES)
75 mkdir -p $(DESTDIR) 32 mkdir -p $(DESTDIR)
76 cp -dp --parents $(DISTFILES) $(DESTDIR) 33 cp -dp --parents $(DISTFILES) $(DESTDIR)