From owner-svn-src-user@FreeBSD.ORG Thu Sep 26 13:15:34 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0D53E62E; Thu, 26 Sep 2013 13:15:34 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EF7692926; Thu, 26 Sep 2013 13:15:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8QDFX7n037898; Thu, 26 Sep 2013 13:15:33 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8QDFXAT037897; Thu, 26 Sep 2013 13:15:33 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <201309261315.r8QDFXAT037897@svn.freebsd.org> From: Peter Holm Date: Thu, 26 Sep 2013 13:15:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r255881 - user/pho/stress2 X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 13:15:34 -0000 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" + +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)