head	1.2;
access;
symbols
	RELENG_9:1.2.0.2;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.01.53.15;	author svnexp;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2012.09.14.11.51.49;	author glebius;	state Exp;
branches;
next	;

1.2.2.1
date	2012.11.17.01.53.15;	author svnexp;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2012.11.22.12.16.38;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switching exporter and resync
@
text
@#
# $FreeBSD: head/sys/netpfil/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)
@


1.2.2.1
log
@file Makefile was added on branch RELENG_9 on 2012-11-22 12:16:38 +0000
@
text
@d1 51
@


1.2.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 243401
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243401 | glebius | 2012-11-22 12:11:32 +0000 (Thu, 22 Nov 2012) | 3 lines
## SVN ##
## SVN ##   Partially merge r240494, which moved netinet/ipfw to netpfil/ipfw,
## SVN ## to make it easier to merge ipfw commits back to stable/9.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@a0 51
#
# $FreeBSD: stable/9/sys/netpfil/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)
@


1.1
log
@SVN rev 240494 on 2012-09-14 11:51:49Z by glebius

o Create directory sys/netpfil, where all packet filters should
  reside, and move there ipfw(4) and pf(4).

o Move most modified parts of pf out of contrib.

Actual movements:

sys/contrib/pf/net/*.c		-> sys/netpfil/pf/
sys/contrib/pf/net/*.h		-> sys/net/
contrib/pf/pfctl/*.c		-> sbin/pfctl
contrib/pf/pfctl/*.h		-> sbin/pfctl
contrib/pf/pfctl/pfctl.8	-> sbin/pfctl
contrib/pf/pfctl/*.4		-> share/man/man4
contrib/pf/pfctl/*.5		-> share/man/man5

sys/netinet/ipfw		-> sys/netpfil/ipfw

The arguable movement is pf/net/*.h -> sys/net. There are
future plans to refactor pf includes, so I decided not to
break things twice.

Not modified bits of pf left in contrib: authpf, ftp-proxy,
tftp-proxy, pflogd.

The ipfw(4) movement is planned to be merged to stable/9,
to make head and stable match.

Discussed with:		bz, luigi
@
text
@d2 1
a2 1
# $FreeBSD$
@

