The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netpfil/ipfw/test/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #
    2 # $FreeBSD$
    3 #
    4 # Makefile for building userland tests
    5 # this is written in a form compatible with gmake
    6 
    7 SCHED_SRCS = test_dn_sched.c
    8 SCHED_SRCS += dn_sched_fifo.c
    9 SCHED_SRCS += dn_sched_prio.c
   10 SCHED_SRCS += dn_sched_qfq.c
   11 SCHED_SRCS += dn_sched_rr.c
   12 SCHED_SRCS += dn_sched_wf2q.c
   13 SCHED_SRCS += dn_heap.c
   14 SCHED_SRCS += main.c
   15 
   16 SCHED_OBJS=$(SCHED_SRCS:.c=.o)
   17 
   18 HEAP_SRCS = dn_heap.c test_dn_heap.c
   19 HEAP_OBJS=$(HEAP_SRCS:.c=.o)
   20 
   21 VPATH=  .:..
   22 
   23 CFLAGS = -I.. -I. -Wall -Werror -O3 -Wextra
   24 TARGETS= test_sched # no test_heap by default
   25 
   26 all:    $(TARGETS)
   27 
   28 test_heap : $(HEAP_OBJS)
   29         $(CC) -o $@ $(HEAP_OBJS)
   30 
   31 test_sched : $(SCHED_OBJS)
   32         $(CC) -o $@ $(SCHED_OBJS)
   33 
   34 $(SCHED_OBJS): dn_test.h
   35 main.o: mylist.h
   36 
   37 clean:
   38         - rm *.o $(TARGETS) *.core
   39 
   40 ALLSRCS = $(SCHED_SRCS) dn_test.h mylist.h \
   41         dn_sched.h dn_heap.h ip_dn_private.h Makefile
   42 TMPBASE = /tmp/testXYZ
   43 TMPDIR = $(TMPBASE)/test
   44 
   45 tgz:
   46         -rm -rf $(TMPDIR)
   47         mkdir -p $(TMPDIR)
   48         -cp -p $(ALLSRCS) $(TMPDIR)
   49         -(cd ..; cp -p $(ALLSRCS) $(TMPDIR))
   50         ls -la  $(TMPDIR)
   51         (cd $(TMPBASE); tar cvzf /tmp/test.tgz test)

Cache object: 4707a6672765e5f55b5f5a7f9aa24f1b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.