2010-03-18 16:01:35 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
|
|
|
@@ -104,22 +104,18 @@ BINDIR?=$(DESTDIR)${PREFIX}/bin
|
|
|
|
MANDIR?=$(DESTDIR)${PREFIX}/share/man
|
|
|
|
|
|
|
|
|
|
|
|
-all: $(EXEC) pfc
|
|
|
|
+all: $(EXEC)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- rm -f $(OBJS) $(EXEC) pfc.o pfc
|
|
|
|
+ rm -f $(OBJS) $(EXEC)
|
|
|
|
|
|
|
|
$(EXEC): $(OBJS) $(HDRS)
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
|
|
|
|
|
|
|
-pfc:
|
|
|
|
- $(CC) $(CFLAGS) -c contrib/pfc.c
|
2011-03-11 20:04:43 +00:00
|
|
|
- $(CC) $(LDFLAGS) -o pfc pfc.o -lpcap $(LDLIBS)
|
2010-03-18 16:01:35 +00:00
|
|
|
-
|
|
|
|
romfs:
|
|
|
|
$(ROMFSINST) /bin/$(EXEC)
|
|
|
|
|
|
|
|
-install: ${EXEC} pfc
|
|
|
|
+install: ${EXEC}
|
|
|
|
install -d -m 0755 ${SBINDIR}
|
|
|
|
install -m 0755 $(EXEC) ${SBINDIR}/$(EXEC)
|
|
|
|
install -d -m 0755 ${MANDIR}/man5
|
|
|
|
@@ -127,11 +123,6 @@ install: ${EXEC} pfc
|
|
|
|
install -m 0644 doc/xl2tpd.8 ${MANDIR}/man8/
|
|
|
|
install -m 0644 doc/xl2tpd.conf.5 doc/l2tp-secrets.5 \
|
|
|
|
${MANDIR}/man5/
|
|
|
|
- # pfc
|
|
|
|
- install -d -m 0755 ${BINDIR}
|
|
|
|
- install -m 0755 pfc ${BINDIR}/pfc
|
|
|
|
- install -d -m 0755 ${MANDIR}/man1
|
|
|
|
- install -m 0644 contrib/pfc.1 ${MANDIR}/man1/
|
|
|
|
|
|
|
|
# openbsd
|
|
|
|
# install -d -m 0755 /var/run/xl2tpd
|