Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 13:15:33 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r255881 - user/pho/stress2
Message-ID:  <201309261315.r8QDFXAT037897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Thu Sep 26 13:15:33 2013
New Revision: 255881
URL: http://svnweb.freebsd.org/changeset/base/255881

Log:
  Rename Makefile.gnu to GNUmakefile.
  
  Submitted by:	Garrett Cooper
  Sponsored by:	EMC / Isilon storage division

Added:
  user/pho/stress2/GNUmakefile
     - copied unchanged from r255867, user/pho/stress2/Makefile.gnu
Deleted:
  user/pho/stress2/Makefile.gnu

Copied: user/pho/stress2/GNUmakefile (from r255867, user/pho/stress2/Makefile.gnu)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/pho/stress2/GNUmakefile	Thu Sep 26 13:15:33 2013	(r255881, copy of r255867, user/pho/stress2/Makefile.gnu)
@@ -0,0 +1,28 @@
+#MAKE=gmake
+
+# Gnu Makefile by "Brad Knotwell" <bknotwell@yahoo.com>
+
+LIBOBJS=$(subst .c,.o,$(wildcard lib/*.c))
+TESTDIRS=run swap mkdir creat thr1 syscall rw sysctl tcp udp
+EXES=$(foreach dir,$(TESTDIRS),testcases/$(dir)/$(dir).test)
+OBJS=$(subst .test,.o,$(EXES)) 
+SRCS=$(subst .o,.c,$(OBJS))
+LIBS=./lib/libstress.a
+CFLAGS=-g -Wall -I./include
+
+all: $(EXES)
+
+lib/libstress.a: lib/libstress.a($(LIBOBJS))
+	ranlib lib/libstress.a
+
+lib/libstress.a(*.o): $(LIBOBJS)
+
+$(OBJS): %.o: %.c
+
+$(EXES): %.test: %.o lib/libstress.a
+
+%.test: %.o
+	$(CC) $(CFLAGS) $(LIBS) $< -o $@
+
+clean:
+	rm -fr $(LIBOBJS) lib/libstress.a $(EXES) $(OBJS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261315.r8QDFXAT037897>