1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
--- dwb-2014.03.07/dwbem/Makefile
+++ dwb-2014.03.07/dwbem/Makefile
@@ -27,12 +27,10 @@
all: $(TARGET)
$(TARGET): $(OBJ)
- @echo $(CC) -o $@
- @$(CC) $(OBJ) -o $@ $(LDFLAGS)
+ $(CC) $(OBJ) -o $@ $(LDFLAGS)
%.o: %.c
- @echo $(CC) $<
- @$(CC) $(CFLAGS) -c $< -o $@ $(CPPFLAGS)
+ $(CC) $(CFLAGS) -c $< -o $@ $(CPPFLAGS)
clean:
rm -f $(TARGET) $(OBJ)
--- dwb-2014.03.07/dwbremote/Makefile
+++ dwb-2014.03.07/dwbremote/Makefile
@@ -27,12 +27,10 @@
all: $(TARGET)
$(TARGET): $(SHARED_OBJ) main.o
- @echo $(CC) -o $@
- @$(CC) $(OBJ) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
+ $(CC) $(OBJ) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
%.o: %.c
- @echo $(CC) $<
- @$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
+ $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
debug:
make CFLAGS="$(DCFLAGS)"
--- dwb-2014.03.07/exar/Makefile
+++ dwb-2014.03.07/exar/Makefile
@@ -14,12 +14,10 @@
all: $(SHARED_OBJ)
$(TARGET): $(OBJ)
- @echo $(CC) -o $@
- @$(CC) $(OBJ) -o $@ $(CFLAGS) $(CPPFLAGS)
+ $(CC) $(OBJ) -o $@ $(CFLAGS) $(CPPFLAGS)
%.o: %.c
- @echo $(CC) $<
- @$(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
+ $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS)
debug:
make CFLAGS="$(DCFLAGS)"
--- dwb-2014.03.07/Makefile
+++ dwb-2014.03.07/Makefile
@@ -14,18 +14,18 @@
$(TARGET): $(SUBDIRS:%=%.subdir-make)
%.subdir-make: $(SUBDIR_BUILD_FIRST:%=%.subdir-buildfirst)
- @$(MAKE) $(MFLAGS) -C $*
+ $(MAKE) $(MFLAGS) -C $*
#$(SRCDIR)/%: $(SUBDIR_BUILD_FIRST:%=%.subdir-buildfirst)
%.subdir-buildfirst:
- @$(MAKE) $(MFLAGS) -C $*
+ $(MAKE) $(MFLAGS) -C $*
clean: $(SUBDIRS:%=%.subdir-clean) $(SUBDIR_BUILD_FIRST:%=%.subdir-cleanfirst) $(SUBDIR_BUILD_LIB:%=%.subdir-cleanlib)
-$(RM) -r sandbox
%.subdir-clean %.subdir-cleanfirst %.subdir-cleanlib:
- @$(MAKE) $(MFLAGS) clean -C $*
+ $(MAKE) $(MFLAGS) clean -C $*
install: $(TARGET) install-man install-data
--- dwb-2014.03.07/scripts/lib/Makefile
+++ dwb-2014.03.07/scripts/lib/Makefile
@@ -1,6 +1,6 @@
# See COPYING for copyright and license details
TARGETS := $(patsubst %.js.in, %.js, $(wildcard *.js.in))
-CFLAGS := -std=c99 -Wall -Wextra -pedantic -Werror -O2
+CFLAGS += -std=c99 -Wall -Wextra -pedantic
all: $(TARGETS)
@@ -9,7 +9,7 @@
@./minify $< $@
minify: minify.c
- $(CC) $< -o $@ ${CFLAGS} ${CPPFLAGS}
+ $(CC) $< -o $@ ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
clean:
$(RM) $(TARGETS)
--- dwb-2014.03.07/src/Makefile
+++ dwb-2014.03.07/src/Makefile
@@ -26,30 +26,25 @@
all: $(TARGET)
$(TARGET): $(OBJ)
- @echo $(CC) -o $@
- @$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
+ $(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
-include $(OBJ:.o=.d)
-include $(DOBJ:.do=.dd)
%.o: %.c %.h config.h dwb.h
- @echo $(CC) $<
- @$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
+ $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
debug: $(DTARGET)
deps.d: %.c %.h
- @echo "$(CC) -MM $@"
- @$(CC) $(CFLAGS) -MM $< -o $@
+ $(CC) $(CFLAGS) -MM $< -o $@
%.do: %.c %.h config.h
- @echo "${CC} $<"
- @$(CC) -c -o $@ $< $(DCFLAGS)
+ $(CC) -c -o $@ $< $(DCFLAGS)
$(DTARGET): $(DOBJ) ../exar/exar.o ../dwbremote/dwbremote.o
- @echo "$(CC) $@"
- @$(CC) $(DOBJ) ../exar/exar.o ../dwbremote/dwbremote.o -o $(DTARGET) $(LDFLAGS)
+ $(CC) $(DOBJ) ../exar/exar.o ../dwbremote/dwbremote.o -o $(DTARGET) $(LDFLAGS)
dependencies: $(DEPS)
--- dwb-2014.03.07/src/util/Makefile
+++ dwb-2014.03.07/src/util/Makefile
@@ -30,20 +30,16 @@
all: $(OUTFILES)
$(TLDS_H): $(TLDS_IN) $(MKTLDS)
- @echo gen $(notdir $@)
- @./$(MKTLDS) < $(TLDS_IN) > $@
+ ./$(MKTLDS) < $(TLDS_IN) > $@
$(MKTLDS): $(MKTLDS_SRC)
- @echo $(CC) $<
- @$(CC) -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
+ $(CC) -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
$(HSTS_PRELOAD): $(HSTS) $(TRANSPORT_SECURITY_CERTS) $(TRANSPORT_SECURITY_JSON)
- @echo gen $(notdir $@)
- @./$(HSTS) > $@
+ ./$(HSTS) > $@
$(HSTS): $(HSTS).c
- @echo $(CC) $<
- @$(CC) $(CFLAGS) $(CPPFLAGS) -o $(HSTS) $(HSTS).c $(LDFLAGS)
+ $(CC) $(CFLAGS) $(CPPFLAGS) -o $(HSTS) $(HSTS).c $(LDFLAGS)
clean:
$(RM) $(OUTFILES) $(GEN_TOOLS)
|