You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/11/10 12:14:56 UTC
svn commit: r834431 -
/commons/sandbox/runtime/trunk/src/main/native/Makefile.in
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):