svn commit: r203495 - user/luigi/ipfw3-head/sys/netinet/ipfw/test

Luigi Rizzo luigi at FreeBSD.org
Thu Feb 4 17:26:11 UTC 2010


Author: luigi
Date: Thu Feb  4 17:26:11 2010
New Revision: 203495
URL: http://svn.freebsd.org/changeset/base/203495

Log:
  adapt to gmake and linux

Modified:
  user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile

Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile
==============================================================================
--- user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile	Thu Feb  4 17:13:38 2010	(r203494)
+++ user/luigi/ipfw3-head/sys/netinet/ipfw/test/Makefile	Thu Feb  4 17:26:11 2010	(r203495)
@@ -1,4 +1,5 @@
 # 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
@@ -16,15 +17,15 @@ HEAP_OBJS=$(HEAP_SRCS:.c=.o)
 VPATH=	.:..
 
 CFLAGS = -I.. -I. -Wall -Werror -O3 -DIPFW
-TARGETS= test_heap test_sched
+TARGETS= test_sched # no test_heap by default
 
 all:	$(TARGETS)
 
 test_heap : $(HEAP_OBJS)
-	$(CC) -o $@ $>
+	$(CC) -o $@ $(HEAP_OBJS)
 
 test_sched : $(SCHED_OBJS)
-	$(CC) -o $@ $>
+	$(CC) -o $@ $(SCHED_OBJS)
 
 $(SCHED_OBJS): dn_test.h
 main.o: mylist.h


More information about the svn-src-user mailing list