X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/e3f281ce02023aed0fa1a0cb14b82e63d3b718a0..ec4de7f8c59e136f02451f4adfbe87b6d7ef36af:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 8515c86..9cd6ff5 100644 --- a/Makefile +++ b/Makefile @@ -37,12 +37,11 @@ TESTS = generateload bounce DEFINES += -DSTATISTICS DEFINES += -DSTAT_CALLS DEFINES += -DRINGBUFFER +DEFINES += -DHAVE_EPOLL DEFINES += -DBGP OBJS += bgp.o -doit = echo $(1); $(1) - all: programs plugins tests programs: $(PROGRAMS) plugins: $(PLUGINS) @@ -95,18 +94,21 @@ install: all cmp -s etc/$$config.default $(DESTDIR)$(etcdir)/$$config && continue; \ suffix=.default; \ fi; \ - $(call doit,$(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix); \ + echo $(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix; \ + $(INSTALL) -m $$mode etc/$$config.default $(DESTDIR)$(etcdir)/$$config$$suffix; \ done @for plugin in $(PLUGINS); \ do \ - $(call doit,$(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin); \ + echo $(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin; \ + $(INSTALL) -m 0755 $$plugin $(DESTDIR)$(libdir)/$$plugin; \ done @if [ -z $(DESTDIR) ] && [ ! -e /dev/net/tun ]; \ then \ mkdir /dev/net; \ - $(call doit,mknod /dev/net/tun c 10 200); \ + echo mknod /dev/net/tun c 10 200; \ + mknod /dev/net/tun c 10 200; \ fi .PHONY: all clean depend install