1 | | diff -ur build.orig/rules/compile build/rules/compile |
2 | | --- build.orig/rules/compile 2008-05-15 12:56:50.000000000 +0200 |
3 | | +++ build/rules/compile 2008-05-15 12:58:19.000000000 +0200 |
4 | | @@ -32,49 +32,34 @@ |
5 | | # |
6 | | # Rules for compiling |
7 | | # |
8 | | -$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d |
9 | | +$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.cpp |
10 | | @echo "** Compiling" $< "(debug)" |
11 | | $(CXX) $(INCLUDE) $(CXXFLAGS) $(DEBUGOPT_CXX) $(STATICOPT_CXX) -c $< -o $@ |
12 | | |
13 | | -$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d |
14 | | +$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.cpp |
15 | | @echo "** Compiling" $< "(release)" |
16 | | $(CXX) $(INCLUDE) $(CXXFLAGS) $(RELEASEOPT_CXX) $(STATICOPT_CXX) -c $< -o $@ |
17 | | |
18 | | -$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d |
19 | | +$(OBJPATH_DEBUG_STATIC)/%.o: $(SRCDIR)/%.c |
20 | | @echo "** Compiling" $< "(debug)" |
21 | | $(CC) $(INCLUDE) $(CFLAGS) $(DEBUGOPT_CC) $(STATICOPT_CC) -c $< -o $@ |
22 | | |
23 | | -$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d |
24 | | +$(OBJPATH_RELEASE_STATIC)/%.o: $(SRCDIR)/%.c |
25 | | @echo "** Compiling" $< "(release)" |
26 | | $(CC) $(INCLUDE) $(CFLAGS) $(RELEASEOPT_CC) $(STATICOPT_CC) -c $< -o $@ |
27 | | |
28 | | -$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d |
29 | | +$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.cpp |
30 | | @echo "** Compiling" $< "(debug, shared)" |
31 | | $(CXX) $(INCLUDE) $(CXXFLAGS) $(DEBUGOPT_CXX) $(SHAREDOPT_CXX) -c $< -o $@ |
32 | | |
33 | | -$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.cpp $(DEPPATH)/%.d |
34 | | +$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.cpp |
35 | | @echo "** Compiling" $< "(release, shared)" |
36 | | $(CXX) $(INCLUDE) $(CXXFLAGS) $(RELEASEOPT_CXX) $(SHAREDOPT_CXX) -c $< -o $@ |
37 | | |
38 | | -$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d |
39 | | +$(OBJPATH_DEBUG_SHARED)/%.o: $(SRCDIR)/%.c |
40 | | @echo "** Compiling" $< "(debug, shared)" |
41 | | $(CC) $(INCLUDE) $(CFLAGS) $(DEBUGOPT_CC) $(SHAREDOPT_CC) -c $< -o $@ |
42 | | |
43 | | -$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.c $(DEPPATH)/%.d |
44 | | +$(OBJPATH_RELEASE_SHARED)/%.o: $(SRCDIR)/%.c |
45 | | @echo "** Compiling" $< "(release, shared)" |
46 | | $(CC) $(INCLUDE) $(CFLAGS) $(RELEASEOPT_CC) $(SHAREDOPT_CC) -c $< -o $@ |
47 | | - |
48 | | -# |
49 | | -# Rules for creating dependency information |
50 | | -# |
51 | | -$(DEPPATH)/%.d: $(SRCDIR)/%.cpp |
52 | | - @echo "** Creating dependency info for" $^ |
53 | | - $(MKDIR) $(DEPPATH) |
54 | | - $(DEP) $(SRCDIR)/$(patsubst %.d,%.cpp,$(notdir $@)) $@ $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_SHARED) $(OBJPATH_RELEASE_SHARED) $(INCLUDE) $(CXXFLAGS) |
55 | | - |
56 | | -$(DEPPATH)/%.d: $(SRCDIR)/%.c |
57 | | - @echo "** Creating dependency info for" $^ |
58 | | - $(MKDIR) $(DEPPATH) |
59 | | - $(DEP) $(SRCDIR)/$(patsubst %.d,%.c,$(notdir $@)) $@ $(OBJPATH_DEBUG_STATIC) $(OBJPATH_RELEASE_STATIC) $(OBJPATH_DEBUG_SHARED) $(OBJPATH_RELEASE_SHARED) $(INCLUDE) $(CFLAGS) |
60 | | - |
61 | | -depend: $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects))) |
62 | | diff -ur build.orig/rules/dylib build/rules/dylib |
63 | | --- build.orig/rules/dylib 2008-05-15 12:56:50.000000000 +0200 |
64 | | +++ build/rules/dylib 2008-05-15 12:58:40.000000000 +0200 |
65 | | @@ -70,8 +70,3 @@ |
66 | | @echo "** Building dynamic library (release)" $@ |
67 | | $(DYLIB) $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS) |
68 | | $(postbuild) |
69 | | - |
70 | | -# |
71 | | -# Include the automatically generated dependency files |
72 | | -# |
73 | | -sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects))) |
74 | | diff -ur build.orig/rules/exec build/rules/exec |
75 | | --- build.orig/rules/exec 2008-05-15 12:56:50.000000000 +0200 |
76 | | +++ build/rules/exec 2008-05-15 12:58:52.000000000 +0200 |
77 | | @@ -57,8 +57,3 @@ |
78 | | $(LINK) $(LINKFLAGS) $(RELEASEOPT_LINK) $(SHAREDOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS) |
79 | | $(STRIPCMD) |
80 | | $(postbuild) |
81 | | - |
82 | | -# |
83 | | -# Include the automatically generated dependency files |
84 | | -# |
85 | | -sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects))) |
86 | | diff -ur build.orig/rules/global build/rules/global |
87 | | --- build.orig/rules/global 2008-05-15 12:56:50.000000000 +0200 |
88 | | +++ build/rules/global 2008-05-15 12:59:10.000000000 +0200 |
89 | | @@ -104,11 +104,9 @@ |
90 | | LIBDIR = lib/$(OSNAME)/$(OSARCH) |
91 | | BINDIR = bin/$(OSNAME)/$(OSARCH) |
92 | | OBJDIR = obj/$(OSNAME)/$(OSARCH) |
93 | | -DEPDIR = .dep/$(OSNAME)/$(OSARCH) |
94 | | LIBPATH = $(POCO_BUILD)/$(LIBDIR) |
95 | | BINPATH = $(POCO_BUILD)/$(COMPONENT)/$(BINDIR) |
96 | | OBJPATH = $(POCO_BUILD)/$(COMPONENT)/$(OBJDIR) |
97 | | -DEPPATH = $(POCO_BUILD)/$(COMPONENT)/$(DEPDIR) |
98 | | |
99 | | ifeq ($(POCO_BASE),$(PROJECT_BASE)) |
100 | | POCO_LIBRARY = |
101 | | diff -ur build.orig/rules/lib build/rules/lib |
102 | | --- build.orig/rules/lib 2008-05-15 12:56:50.000000000 +0200 |
103 | | +++ build/rules/lib 2008-05-15 12:59:18.000000000 +0200 |
104 | | @@ -70,8 +70,3 @@ |
105 | | $(SHLIBLN) $(LIB_RELEASE_SHARED) $(LIB_RELEASE_SHARED_LINK) |
106 | | $(STRIPCMD) |
107 | | $(postbuild) |
108 | | - |
109 | | -# |
110 | | -# Include the automatically generated dependency files |
111 | | -# |
112 | | -sinclude $(addprefix $(DEPPATH)/,$(addsuffix .d,$(objects))) |
113 | | diff -ur build.orig/rules/sample build/rules/sample |
114 | | --- build.orig/rules/sample 2008-05-15 12:56:50.000000000 +0200 |
115 | | +++ build/rules/sample 2008-05-15 12:59:34.000000000 +0200 |
116 | | @@ -43,12 +43,10 @@ |
117 | | LIBDIR = lib |
118 | | BINDIR = bin |
119 | | OBJDIR = obj |
120 | | -DEPDIR = .dep |
121 | | INCPATH = $(POCO_BASE)/$(INCDIR) |
122 | | LIBPATH = $(POCO_BASE)/$(LIBDIR) |
123 | | BINPATH = $(BINDIR) |
124 | | OBJPATH = $(OBJDIR) |
125 | | -DEPPATH = $(DEPDIR) |
126 | | |
127 | | # |
128 | | # Determine link mode |