"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/Makefile.in" between
n2n-2.8.tar.gz and n2n-3.0.tar.gz

About: n2n is a layer-two peer-to-peer virtual private network (VPN) which allows bypassing intermediate firewalls.

Makefile.in  (n2n-2.8):Makefile.in  (n2n-3.0)
CC?=gcc #
DEBUG?=-g3 # This is not a standalone makefile, it must be called from the toplevel
OPTIMIZATION?=-O2 #-march=native # makefile to inherit the correct environment
WARN?=-Wall
INSTALL=install DEBUG?=-g3
INSTALL_PROG=$(INSTALL) -m755
MKDIR=mkdir -p
PREFIX?=$(DESTDIR)/usr
ifeq ($(OS),Darwin)
SBINDIR=$(PREFIX)/local/sbin
else
SBINDIR=$(PREFIX)/sbin
endif
LIBS_EDGE_OPT=@N2N_LIBS@
LIBS_EDGE+=$(LIBS_EDGE_OPT)
HEADERS=$(wildcard include/*.h) HEADERS=$(wildcard include/*.h)
CFLAGS+=-I../include @CFLAGS@ CFLAGS+=-I../include
ifeq ($(CONFIG_TARGET),mingw)
CFLAGS+=-I../win32
endif
CFLAGS+=$(DEBUG)
LDFLAGS+=-L.. LDFLAGS+=-L..
CFLAGS+=$(DEBUG) $(OPTIMIZATION) $(WARN)
LDFLAGS=@LDFLAGS@
N2N_LIB=../libn2n.a N2N_LIB=../libn2n.a
TOOLS=n2n-benchmark TOOLS=n2n-benchmark n2n-keygen
TOOLS+=@ADDITIONAL_TOOLS@ TOOLS+=@ADDITIONAL_TOOLS@
TESTS=tests-compress tests-elliptic tests-hashing tests-transform
TESTS+=tests-wire
.PHONY: all clean install .PHONY: all clean install
all: $(TOOLS) all: $(TOOLS) $(TESTS)
n2n-benchmark: benchmark.c $(N2N_LIB) $(HEADERS) n2n-benchmark.o: $(N2N_LIB) $(HEADERS) ../Makefile Makefile
$(CC) $(CFLAGS) $< $(LDFLAGS) $(N2N_LIB) $(LIBS_EDGE) -o $@ n2n-keygen.o: $(N2N_LIB) $(HEADERS) ../Makefile Makefile
n2n-decode: n2n_decode.c $(N2N_LIB) $(HEADERS) n2n-decode: n2n-decode.c $(N2N_LIB) $(HEADERS) ../Makefile Makefile
$(CC) $(CFLAGS) $< $(LDFLAGS) $(N2N_LIB) $(LIBS_EDGE) -lpcap -o $@ $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDLIBS) -lpcap -o $@
.c.o: $(HEADERS) ../Makefile Makefile # See comments in the topdir Makefile about how to generate coverage
$(CC) $(CFLAGS) -c $< -o $@ # data.
gcov:
gcov $(TOOLS) $(TESTS)
clean: clean:
rm -rf $(TOOLS) *.o *.dSYM *~ rm -rf $(TOOLS) *.o *.dSYM *~
rm -f $(TESTS) *.gcno *.gcda
install: $(TOOLS) install: $(TOOLS)
$(INSTALL_PROG) $(TOOLS) $(SBINDIR)/ $(INSTALL_PROG) $(TOOLS) $(SBINDIR)/
 End of changes. 12 change blocks. 
27 lines changed or deleted 23 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)