commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r834431 - /commons/sandbox/runtime/trunk/src/main/native/Makefile.in
Date Tue, 10 Nov 2009 11:14:56 GMT
Author: mturk
Date: Tue Nov 10 11:14:55 2009
New Revision: 834431

URL: http://svn.apache.org/viewvc?rev=834431&view=rev
Log:
Use directory based pattern rules

Modified:
    commons/sandbox/runtime/trunk/src/main/native/Makefile.in

Modified: commons/sandbox/runtime/trunk/src/main/native/Makefile.in
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/Makefile.in?rev=834431&r1=834430&r2=834431&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/Makefile.in (original)
+++ commons/sandbox/runtime/trunk/src/main/native/Makefile.in Tue Nov 10 11:14:55 2009
@@ -319,10 +319,31 @@
 
 all: $(STATICLIB) $(SHAREDLIB) @modules@
 
-.c.$(OBJ):
+$(SRCDIR)/port/%.$(OBJ) : $(SRCDIR)/port/%.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
 
-.S.$(OBJ):
+$(SRCDIR)/shared/%.$(OBJ) : $(SRCDIR)/shared/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/os/unix/%.$(OBJ) : $(SRCDIR)/os/unix/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/os/$(HOST)/%.$(OBJ) : $(SRCDIR)/os/$(HOST)/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/srclib/bzip2/%.$(OBJ) : $(SRCDIR)/srclib/bzip2/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/srclib/regex/%.$(OBJ) : $(SRCDIR)/srclib/regex/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/srclib/zlib/%.$(OBJ) : $(SRCDIR)/srclib/zlib/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/test/%.$(OBJ) : $(SRCDIR)/test/%.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $<
+
+$(SRCDIR)/os/$(HOST)/%.$(OBJ) : $(SRCDIR)/os/$(HOST)/%.S
 	$(AS) $(ASFLAGS) -o $@ $<
 
 .cpp.$(OBJ):



Mime
View raw message