diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2011-06-19 11:35:21 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2011-06-19 11:35:21 +0000 |
commit | cc17a4173a9ca3a53ea4645c79453e9958c88534 (patch) | |
tree | 10c014dc0d8df06251dfa917ec82aef83b825df0 | |
parent | 410ebf9d318de6e0debaf932252b7aa6099639ae (diff) | |
download | ebtables-cc17a4173a9ca3a53ea4645c79453e9958c88534.tar.gz ebtables-cc17a4173a9ca3a53ea4645c79453e9958c88534.tar.bz2 ebtables-cc17a4173a9ca3a53ea4645c79453e9958c88534.zip |
rename the libebtc target to libebtc.so and remove the .PHONY for libebtc (thanks to Bertrand Jacquin)
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -82,11 +82,10 @@ ebtables.o: ebtables.c include/ebtables_u.h ebtables-standalone.o: ebtables-standalone.c include/ebtables_u.h $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES) -.PHONY: libebtc -libebtc: $(OBJECTS2) +libebtc.so: $(OBJECTS2) $(CC) -shared $(LDFLAGS) -Wl,-soname,libebtc.so -o libebtc.so -lc $(OBJECTS2) -ebtables: $(OBJECTS) ebtables-standalone.o libebtc +ebtables: $(OBJECTS) ebtables-standalone.o libebtc.so $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(LDFLAGS) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ -Wl,-rpath,$(LIBDIR) @@ -96,14 +95,14 @@ ebtablesu: ebtablesu.c ebtablesd.o: ebtablesd.c include/ebtables_u.h $(CC) $(CFLAGS) $(PROGSPECSD) -c $< -o $@ -I$(KERNEL_INCLUDES) -ebtablesd: $(OBJECTS) ebtablesd.o libebtc +ebtablesd: $(OBJECTS) ebtablesd.o libebtc.so $(CC) $(CFLAGS) -o $@ ebtablesd.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ -Wl,-rpath,$(LIBDIR) ebtables-restore.o: ebtables-restore.c include/ebtables_u.h $(CC) $(CFLAGS) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES) -ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc +ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc.so $(CC) $(CFLAGS) $(LDFLAGS) -o $@ ebtables-restore.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ -Wl,-rpath,$(LIBDIR) |