diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -8,7 +8,7 @@ ifndef KERNEL_DIR KERNEL_DIR=/usr/src/linux endif -IPSET_VERSION:=2.3.0 +IPSET_VERSION:=2.3.1 PREFIX:=/usr/local LIBDIR:=$(PREFIX)/lib @@ -21,7 +21,7 @@ IPSET_LIB_DIR:=$(LIBDIR)/ipset RELEASE_DIR:=/tmp COPT_FLAGS:=-O2 -CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -I. -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG +CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -I. # -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG SH_CFLAGS:=$(CFLAGS) -fPIC SETTYPES:=ipmap portmap macipmap iphash nethash iptree iptreemap ipporthash @@ -32,6 +32,11 @@ INSTALL+=$(foreach T, $(SETTYPES), $(DESTDIR)$(LIBDIR)/ipset/libipset_$(T).so) all: $(PROGRAMS) $(SHARED_LIBS) +.PHONY: tests + +tests: + cd tests; ./runtest.sh + install: all $(INSTALL) clean: $(EXTRA_CLEANS) |