blob: ab0cc9e1ffebfb16f8e9f6ce0512f92fbf2a9136 (
plain) (
blame)
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
|
--- ./Makefile.orig 2008-01-07 07:44:50.000000000 +0100
+++ ./Makefile 2014-03-09 18:38:09.000000000 +0100
@@ -1,10 +1,11 @@
##
## Makefile -- Build procedure for mod_layout Apache module
##
-builddir=$(shell pwd)
+#builddir=$(shell pwd)
# the used tools
-APXS=apxs
+APXS=${LOCALBASE}/sbin/apxs
+APXS_STAGE= @APXS_STAGE@
APACHECTL=apachectl
CC=`$(APXS) -q CC`
INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME
@@ -57,8 +58,8 @@
header.o : header.c
$(APXS) -c header.c
# install the shared object file into Apache
-install:
- $(APXS) -iac $(INCLUDES) $(LIBS) $(SRC)
+install: mod_layout.so
+ $(APXS) $(APXS_STAGE) -i -n layout mod_layout.la
@echo "+--------------------------------------------------------+"; \
echo "| All done. |"; \
echo "| |"; \
|