Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/netmap/Makefile
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# For multiple programs using a single source file each, | # For multiple programs using a single source file each, | ||||
# we can just define 'progs' and create custom targets. | # we can just define 'progs' and create custom targets. | ||||
PROGS = pkt-gen bridge vale-ctl | PROGS = pkt-gen bridge vale-ctl | ||||
CLEANFILES = $(PROGS) *.o | CLEANFILES = $(PROGS) *.o | ||||
MAN= | MAN= | ||||
CFLAGS += -Werror -Wall # -nostdinc -I/usr/include -I../../../sys | CFLAGS += -Werror -Wall # -nostdinc -I/usr/include -I../../../sys | ||||
CFLAGS += -Wextra | # CFLAGS += -Wextra | ||||
LDFLAGS += -lpthread | LDFLAGS += -lpthread | ||||
.ifdef WITHOUT_PCAP | .ifdef WITHOUT_PCAP | ||||
CFLAGS += -DNO_PCAP | CFLAGS += -DNO_PCAP | ||||
.else | .else | ||||
LDFLAGS += -lpcap | LDFLAGS += -lpcap | ||||
.endif | .endif | ||||
Show All 13 Lines |