diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/Makefile.in b/Makefile.in index 27ba01f..5b1d1ec 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -5,7 +5,11 @@ SUBDIRS = Documentation | |||
5 | SOURCES = \ | 5 | SOURCES = \ |
6 | @PACKAGE_NAME@.c | 6 | @PACKAGE_NAME@.c |
7 | 7 | ||
8 | HEADERS = | 8 | HEADERS = functions.h \ |
9 | functions13.h \ | ||
10 | functions20.h \ | ||
11 | apache13.h \ | ||
12 | apache20.h | ||
9 | 13 | ||
10 | CFLAGS = -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing | 14 | CFLAGS = -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing |
11 | 15 | ||
@@ -15,7 +19,7 @@ LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@ | |||
15 | 19 | ||
16 | EXTRA_DIST = INSTALL LICENSE CHANGELOG make_combined_log.pl | 20 | EXTRA_DIST = INSTALL LICENSE CHANGELOG make_combined_log.pl |
17 | 21 | ||
18 | TARGET = @APACHE_OUTPUT_NAME@ | 22 | TARGET = @PACKAGE_NAME@@APXS_EXTENSION@ |
19 | 23 | ||
20 | #Don't modify anything below here | 24 | #Don't modify anything below here |
21 | 25 | ||
@@ -59,7 +63,7 @@ all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs: | |||
59 | fi; \ | 63 | fi; \ |
60 | done; | 64 | done; |
61 | 65 | ||
62 | $(TARGET): | 66 | $(TARGET): $(SOURCES) $(HEADERS) |
63 | @@APXS_BIN@ -c -o $(TARGET) $(INCLUDES) @MOD_SSL_CFLAGS@ $(CFLAGS) \ | 67 | @@APXS_BIN@ -c -o $(TARGET) $(INCLUDES) @MOD_SSL_CFLAGS@ $(CFLAGS) \ |
64 | $(LDADD) @DEFS@ @APACHE_DEFS@ $(SOURCES) | 68 | $(LDADD) @DEFS@ @APACHE_DEFS@ $(SOURCES) |
65 | 69 | ||
@@ -74,7 +78,7 @@ activate: activate-subdirs | |||
74 | @@APXS_BIN@ -i -a $(TARGET) | 78 | @@APXS_BIN@ -i -a $(TARGET) |
75 | 79 | ||
76 | clean: clean-subdirs | 80 | clean: clean-subdirs |
77 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGET) .deps | 81 | $(RM) $(OBJ) $(SLO) $(LO) $(TARGET) |
78 | $(RM) -r .libs | 82 | $(RM) -r .libs |
79 | 83 | ||
80 | distclean: clean distclean-subdirs | 84 | distclean: clean distclean-subdirs |
@@ -110,16 +114,6 @@ local-dist: $(DISTFILES) | |||
110 | @mkdir -p $(DESTDIR); \ | 114 | @mkdir -p $(DESTDIR); \ |
111 | cp -dp --parents $(DISTFILES) $(DESTDIR); | 115 | cp -dp --parents $(DISTFILES) $(DESTDIR); |
112 | 116 | ||
113 | $(builddir)/.deps: depend | ||
114 | |||
115 | depend: $(SOURCES) $(HEADERS) | ||
116 | if test -n "`ls $(srcdir)/*.c 2> /dev/null`"; then \ | ||
117 | $(CC) -MM -I@APACHE_INCDIR@ @MOD_SSL_CFLAGS@ $(INCLUDES) @DEFS@ \ | ||
118 | @APACHE_DEFS@ $(srcdir)/*.c > $(builddir)/.deps || true; \ | ||
119 | fi | ||
120 | |||
121 | include $(builddir)/.deps | ||
122 | |||
123 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ | 117 | .PHONY: include all-subdirs activate-subdirs install-subdirs \ |
124 | clean-subdirs distclean-subdirs dist | 118 | clean-subdirs distclean-subdirs dist |
125 | 119 | ||