| Newsgroups |
perl.cvs.mod_parrot |
| Message-ID |
<[email protected]> |
cvsuser 02/09/10 13:16:58
Modified: . Makefile
Log:
This removes the substitution on config/init/data.pl and instead uses a
hack to pass arguments to Configure.pl
Revision Changes Path
1.10 +1 -6 mod_parrot/Makefile
Index: Makefile
===================================================================
RCS file: /cvs/public/mod_parrot/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- Makefile 7 Sep 2002 19:09:57 -0000 1.9
+++ Makefile 10 Sep 2002 20:16:58 -0000 1.10
@@ -9,10 +9,10 @@
all: mod_parrot.so
mod_parrot.so: mod_parrot.c
- (cd $(PARROT_DIR); make shared)
$(APACHEDIR)/bin/apxs -Wall -I $(PARROT_DIR)/include -c -n parrot mod_parrot.c -L$(PARROT_LIB_DIR) -lparrot
install: mod_parrot.so
+ (cd $(PARROT_DIR); perl Configure.pl --ccflags="`perl -MConfig -e 'print $$Config{ccflags}'` -I$(MODPARROT_DIR) -I$(APACHEDIR)/include" --libs="`perl -MConfig -e 'print $$Config{libs}'` -L$(MODPARROT_DIR)"; make shared)
$(APACHEDIR)/bin/apxs -i -a -n parrot mod_parrot.so
test:
@@ -26,13 +26,8 @@
hsd:
LD_LIBRARY_PATH=$(PARROT_LIB_DIR):$(LD_LIBRARY_PATH) $(APACHEDIR)/bin/httpd -X
-patch:
- perl -pi -ne 's#(.Config{ccflags})#"\1 -I$(MODPARROT_DIR) -I$(APACHEDIR)/include"#' $(PARROT_DIR)/config/init/data.pl
- perl -pi -ne 's#(.Config{libs})#"\1 -L$(MODPARROT_DIR)"#' $(PARROT_DIR)/config/init/data.pl
-
patchprint:
perl -pi -e 's/(\s+)printf\(/$1modparrot_printf(/g' $(PARROT_DIR)/core_ops.c
-
clean:
rm *.o *.so