[svn:mod_parrot] r216 - mod_parrot/branches/reorg

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Tue Aug 23 12:00:54 2005
New Revision: 216

Modified:
   mod_parrot/branches/reorg/Makefile.in
Log:
replace hardcoded "src" directories with SRC_DIR
don't rebuild nci_sig_test every time



Modified: mod_parrot/branches/reorg/Makefile.in
==============================================================================
--- mod_parrot/branches/reorg/Makefile.in	(original)
+++ mod_parrot/branches/reorg/Makefile.in	Tue Aug 23 12:00:54 2005
@@ -34,7 +34,7 @@ MPLIBS=	lib/Apache/RequestRec \
 
 all: gen-src src/mod_parrot.la
 
-src/mod_parrot.la: $(SOURCE_FILES)
+$(SRC_DIR)/mod_parrot.la: $(SOURCE_FILES)
 	$(APXS) -c $(DEFINES) $(CFLAGS) $(LDFLAGS) $(LIBS) $(SOURCE_FILES) $(PARROT_OBJS)
 
 files-clean:
@@ -72,12 +72,12 @@ clean: files-clean libraries-clean gen-s
 distclean: clean test-clean
 	rm -f Makefile Makefile.old
 
-install: src/mod_parrot.la
+install: $(SRC_DIR)/mod_parrot.la
 	$(APXS) -i -n parrot -a mod_parrot.la
 
-nci_sig_test: $(TEST_SRC_DIR)/nci_sig_test.o
-	$(CC) -o $(TEST_SRC_DIR)/$@ $(CFLAGS) $(TEST_SRC_DIR)/nci_sig_test.c $(PARROT_OBJS) $(LDFLAGS) $(LIBS)
+$(TEST_SRC_DIR)/nci_sig_test: $(TEST_SRC_DIR)/nci_sig_test.o
+	$(CC) -o $@ $(CFLAGS) $(TEST_SRC_DIR)/nci_sig_test.c $(PARROT_OBJS) $(LDFLAGS) $(LIBS)
 
-test: src/mod_parrot.la libraries nci_sig_test
+test: $(SRC_DIR)/mod_parrot.la libraries $(TEST_SRC_DIR)/nci_sig_test
 	$(PARROT) -o t/lib/handlers.pbc t/lib/handlers.pir
 	$(PERL) t/TEST
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.