diff options
-rw-r--r-- | userspace/ebtables2/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile index 89d3ea0..bdbf86f 100644 --- a/userspace/ebtables2/Makefile +++ b/userspace/ebtables2/Makefile @@ -68,7 +68,6 @@ ebtables: $(OBJECTS) $(CC) $(CFLAGS) -o $@ ebtables.o -I$(KERNEL_INCLUDES) -L/root/ \ -L. -Lextensions/ -lebtc $(EXT_LIBSI) - $(MANDIR)/man8/ebtables.8: ebtables.8 mkdir -p $(@D) install -m 0644 -o root -g root $< $@ @@ -117,3 +116,12 @@ release: touch include/linux/* touch include/linux/netfilter_bridge/* cd ..;tar -c $(DIR) | gzip >$(DIR).tar.gz + +.PHONY: test_ulog +test_ulog: examples/ulog/test_ulog.c getethertype.o + $(CC) $(CFLAGS) $< -o test_ulog -I$(KERNEL_INCLUDES) -lc \ + getethertype.o + mv test_ulog examples/ulog/ + +.PHONY: examples +examples: test_ulog |