config root man

Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/iwnfw/iwn5150/@/netinet/ipfw/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/iwnfw/iwn5150/@/netinet/ipfw/test/Makefile

#
# $FreeBSD: release/9.1.0/sys/netinet/ipfw/test/Makefile 205417 2010-03-21 16:30:32Z luigi $
#
# Makefile for building userland tests
# this is written in a form compatible with gmake

SCHED_SRCS = test_dn_sched.c
SCHED_SRCS += dn_sched_fifo.c
SCHED_SRCS += dn_sched_prio.c
SCHED_SRCS += dn_sched_qfq.c
SCHED_SRCS += dn_sched_rr.c
SCHED_SRCS += dn_sched_wf2q.c
SCHED_SRCS += dn_heap.c
SCHED_SRCS += main.c

SCHED_OBJS=$(SCHED_SRCS:.c=.o)

HEAP_SRCS = dn_heap.c test_dn_heap.c
HEAP_OBJS=$(HEAP_SRCS:.c=.o)

VPATH=	.:..

CFLAGS = -I.. -I. -Wall -Werror -O3 -DIPFW
TARGETS= test_sched # no test_heap by default

all:	$(TARGETS)

test_heap : $(HEAP_OBJS)
	$(CC) -o $@ $(HEAP_OBJS)

test_sched : $(SCHED_OBJS)
	$(CC) -o $@ $(SCHED_OBJS)

$(SCHED_OBJS): dn_test.h
main.o: mylist.h

clean:
	- rm *.o $(TARGETS) *.core

ALLSRCS = $(SCHED_SRCS) dn_test.h mylist.h \
	dn_sched.h dn_heap.h ip_dn_private.h Makefile
TMPBASE = /tmp/testXYZ
TMPDIR = $(TMPBASE)/test

tgz:
	-rm -rf $(TMPDIR)
	mkdir -p $(TMPDIR)
	-cp -p $(ALLSRCS) $(TMPDIR)
	-(cd ..; cp -p $(ALLSRCS) $(TMPDIR))
	ls -la  $(TMPDIR)
	(cd $(TMPBASE); tar cvzf /tmp/test.tgz test)

Man Man