projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0faecd5
)
make static work with KERNEL_INCLUDES
author
Bart De Schuymer
<bdschuym@pandora.be>
Wed, 9 Aug 2006 10:28:14 +0000
(10:28 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Wed, 9 Aug 2006 10:28:14 +0000
(10:28 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c2b926f
..
6ddfdc9
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-140,7
+140,7
@@
static: extensions/ebt_*.c extensions/ebtable_*.c ebtables.c communication.c ebt
printf "extern void %s();\n" _t_$${arg}_init >> include/ebtables_u.h ; \
done ; \
printf "\n\tpseudomain(argc, argv);\n\treturn 0;\n}\n" >> ebtables-standalone.c ;\
- $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -I
include/
; \
+ $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -I
$(KERNEL_INCLUDES) -Iinclude
; \
for arg in $(EXT_FUNC) \
; do \
sed "s/ .*_init/ _init/" extensions/ebt_$${arg}.c > extensions/ebt_$${arg}.c_ ; \