projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update .last_packet in cluster_handle_bytes only when there have
[l2tpns.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0bff86f
..
1235b0e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,21
+9,16
@@
statedir = /var/lib/l2tpns
DEFINES =
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
DEFINES =
DEFINES += -DLIBDIR='"$(libdir)"'
DEFINES += -DETCDIR='"$(etcdir)"'
-DEFINES += -DSTATEDIR='"$(statedir)"'
OPTIM =
OPTIM += -g
OPTIM += -O3
OPTIM =
OPTIM += -g
OPTIM += -O3
-OPTIM += -funroll-loops
-OPTIM += -fomit-frame-pointer
-OPTIM += -finline-functions
-#OPTIM += -fstrength-reduce
CC = gcc
LD = gcc
INCLUDES = -I.
CPPFLAGS = $(INCLUDES) $(DEFINES)
CC = gcc
LD = gcc
INCLUDES = -I.
CPPFLAGS = $(INCLUDES) $(DEFINES)
-CFLAGS = -Wall $(OPTIM)
+CFLAGS = -Wall
-Wformat-security -Wno-format-zero-length
$(OPTIM)
LDFLAGS =
LDLIBS =
INSTALL = install -c -D -o root -g root
LDFLAGS =
LDLIBS =
INSTALL = install -c -D -o root -g root
@@
-61,16
+56,16
@@
depend:
mv Makefile Makefile.bak
mv Makefile.tmp Makefile
mv Makefile Makefile.bak
mv Makefile.tmp Makefile
-l2tpns:
$(OBJS)
+l2tpns: $(OBJS)
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
-nsctl: nsctl.o control.o
+nsctl: nsctl.o control.o
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
-generateload:
test/generateload.o
+generateload: test/generateload.o
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
-bounce:
test/bounce.o
+bounce: test/bounce.o
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
%.o: %.c
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) $($@.LIBS)
%.o: %.c