Projet

Général

Profil

Télécharger (900 octets) Statistiques
| Branche: | Révision:

univnautes-tools / pfPorts / filterlog / files / Makefile @ 8135339c

1
MAINTAINER?=	eri@pfsense.org
2
COMMENT?=	filterlog
3

    
4
PROG=           filterlog
5
PREFIX?=        /usr/local
6
BINDIR?=        ${PREFIX}/sbin
7
DATAMODE=       0444
8
INSTALL?=       /usr/bin/install
9

    
10
OBJS=           print-ip.o print-ip6.o print-ip6opts.o print-icmp.o print-tcp.o print-mobility.c filterlog.o
11

    
12
WARNS=          -Wsystem-headers -Wall -Wno-format-y2k -W \
13
                -Wno-unused-parameter -Wstrict-prototypes \
14
                -Wmissing-prototypes -Wpointer-arith -Wreturn-type \
15
                -Wcast-qual -Wwrite-strings -Wswitch -Wshadow \
16
                -Wunused-parameter -Wchar-subscripts -Winline \
17
                -Wnested-externs -Wredundant-decls -Wno-pointer-sign
18
LDD=            -lsbuf -lpcap
19
CFLAGS+= -O2 -pipe ${WARNS}
20

    
21
all: ${PROG}
22

    
23
${PROG}: ${OBJS}
24
	cc ${CFLAGS} -o ${PROG} ${OBJS} ${LDD}
25

    
26
install: all
27
	${INSTALL} ${PROG} ${BINDIR}/
28

    
29
clean:
30
	rm -f ${PROG} ${PROG}.core *.o
(1-1/11)