| Newsgroups |
perl.cvs.mod_parrot |
| Message-ID |
<[email protected]> |
cvsuser 01/12/01 21:01:03
Modified: . Makefile
Log:
- remove some Ask'isms and Onion'isms
- rename some variables
- update for new Parrot
Revision Changes Path
1.2 +10 -10 mod_parrot/Makefile
Index: Makefile
===================================================================
RCS file: /cvs/public/mod_parrot/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- Makefile 2001/09/16 02:26:34 1.1
+++ Makefile 2001/12/02 05:01:02 1.2
@@ -1,23 +1,23 @@
-PREFIX=/home/ask/src/apt
+APACHEDIR=/usr/local/apache
-# the parrot dir is really .../parrot/ but the includes in the parrot code
-# are badly broken, so reference the directory above.
-PARROT_DIR=/home/ask/src
+PARROT_DIR=../parrot
-all: mod_parrot.so install
+all: mod_parrot.so
mod_parrot.so: mod_parrot.c
- $(PREFIX)/bin/apxs -I $(PARROT_DIR) -I /home/ask/src -c -n parrot mod_parrot.c -L$(PARROT_DIR)/parrot/ -lparrot
+ $(APACHEDIR)/bin/apxs -Wall -I $(PARROT_DIR)/include -c -n parrot mod_parrot.c -L$(PARROT_DIR) -lparrot
install: mod_parrot.so
- $(PREFIX)/bin/apxs -i -a -n parrot mod_parrot.so
+ $(APACHEDIR)/bin/apxs -i -a -n parrot mod_parrot.so
hs:
- $(PREFIX)/bin/apachectl stop
+ $(APACHEDIR)/bin/apachectl stop
sleep 1
- LD_LIBRARY_PATH=$(PARROT_DIR)/parrot $(PREFIX)/bin/apachectl start
+ LD_LIBRARY_PATH=$(PARROT_DIR) $(APACHEDIR)/bin/apachectl start
+
hsd:
- LD_LIBRARY_PATH=$(PARROT_DIR)/parrot $(PREFIX)/bin/httpd -X
+ LD_LIBRARY_PATH=$(PARROT_DIR) $(APACHEDIR)/bin/httpd -X
+