From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kacur Subject: Re: [PATCH rt-tests 2/3] remove several unused Makefiles Date: Mon, 5 Oct 2015 15:58:54 +0200 (CEST) Message-ID: References: <1443955723-23042-1-git-send-email-u.kleine-koenig@pengutronix.de> <1443955723-23042-3-git-send-email-u.kleine-koenig@pengutronix.de> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1463804494-285802491-1444053535=:14006" Cc: Clark Williams , linux-rt-users@vger.kernel.org, Henrik Austad , Josh Cartwright To: =?ISO-8859-15?Q?Uwe_Kleine-K=F6nig?= Return-path: Received: from mail-wi0-f175.google.com ([209.85.212.175]:37843 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbbJEN66 (ORCPT ); Mon, 5 Oct 2015 09:58:58 -0400 Received: by wicfx3 with SMTP id fx3so115792135wic.0 for ; Mon, 05 Oct 2015 06:58:57 -0700 (PDT) In-Reply-To: <1443955723-23042-3-git-send-email-u.kleine-koenig@pengutronix.de> Sender: linux-rt-users-owner@vger.kernel.org List-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463804494-285802491-1444053535=:14006 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Sun, 4 Oct 2015, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König > --- > src/hackbench/Makefile | 5 ---- > src/pi_tests/Makefile | 71 ------------------------------------------------ > src/pmqtest/Makefile | 16 ----------- > src/ptsematest/Makefile | 16 ----------- > src/sigwaittest/Makefile | 17 ------------ > src/svsematest/Makefile | 16 ----------- > 6 files changed, 141 deletions(-) > delete mode 100644 src/hackbench/Makefile > delete mode 100644 src/pi_tests/Makefile > delete mode 100644 src/pmqtest/Makefile > delete mode 100644 src/ptsematest/Makefile > delete mode 100644 src/sigwaittest/Makefile > delete mode 100644 src/svsematest/Makefile > > diff --git a/src/hackbench/Makefile b/src/hackbench/Makefile > deleted file mode 100644 > index 469cf25c3559..000000000000 > --- a/src/hackbench/Makefile > +++ /dev/null > @@ -1,5 +0,0 @@ > -hackbench: hackbench.c > - $(CC) $(CFLAGS) -o hackbench hackbench.c -g -Wall -O2 -lpthread > - > -clean : > - rm -f hackbench > diff --git a/src/pi_tests/Makefile b/src/pi_tests/Makefile > deleted file mode 100644 > index 6b9b595b24f5..000000000000 > --- a/src/pi_tests/Makefile > +++ /dev/null > @@ -1,71 +0,0 @@ > -PACKAGE := pi_tests > -SPEC := $(PACKAGE).spec > -VERSION := $(shell awk '/^Version:/ { print $$2 }' $(SPEC)) > -RELEASE := $(shell awk '/Release:/ { print $$2 }' ${PACKAGE}.spec) > -SRPM := $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm > -HERE := $(shell pwd) > -TARGET := $(shell uname -p) > -RPMARGS := --define "_sourcedir $(HERE)" \ > - --define "_builddir $(HERE)/BUILD" \ > - --define "_rpmdir $(HERE)/RPMS" \ > - --define "_srcrpmdir $(HERE)/SRPMS" > -CC := gcc > -OPT := -g -O > -CFLAGS := $(OPT) -Wall -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" > -LIBS := -lpthread -lrt > - > -SRC := classic_pi.c allprios.c tst-mutexpi10.c pi_stress.c sigtest.c > -DOC := pi_stress.8 README COPYING > -TARGETS := $(subst .c,,$(SRC)) > - > -all: classic_pi pi_stress > - > -classic_pi: classic_pi.c > - $(CC) $(CFLAGS) -o $@ $< $(LIBS) > - > -pi_stress: pi_stress.c > - $(CC) $(CFLAGS) -o $@ $< $(LIBS) > - > -tst-mutexpi10: tst-mutexpi10.c > - $(CC) $(CFLAGS) -o $@ $< $(LIBS) > - > -#tst-mutexpi10.c: classic_pi.c > -# indent --gnu-style classic_pi.c -o tst-mutexpi10.c > - > -allprios: allprios.c > - $(CC) $(CFLAGS) -o $@ $< $(LIBS) > - > -tarball: pi_tests-$(VERSION).tar.gz > - > -libctest: tst-mutexpi10 > - > -sigtest: sigtest.c > - $(CC) $(CFLAGS) -o $@ $< $(LIBS) > - > -pi_tests-$(VERSION).tar.gz: clean $(SRC) $(DOC) Makefile pi_tests.spec > - rm -rf $@ pi_tests-$(VERSION) > - mkdir pi_tests-$(VERSION) > - cp $(SRC) $(DOC) Makefile pi_tests.spec pi_tests-$(VERSION) > - tar -czvf pi_tests-$(VERSION).tar.gz pi_tests-$(VERSION) > - > -clean: > - rm -rf *~ *.[oi] $(TARGETS) *.tar.gz pi_tests-* > - > -rpm: rpmdirs $(SPEC) tarball > - rm -rf RPMS/$(TARGET) > - rpmbuild -ba --target $(TARGET) $(RPMARGS) $(SPEC) > - > -rpmdirs: > - @[ -d BUILD ] || mkdir BUILD > - @[ -d RPMS ] || mkdir RPMS > - @[ -d SRPMS ] || mkdir SRPMS > - > -rpmlint lint: rpm > - rpmlint -vi RPMS/*/* > - rpmlint -vi SRPMS/* > - > -DESTINATION := people.redhat.com:~williams/public_html/tests > - > -push: rpm > - scp pi_tests-$(VERSION).tar.gz $(DESTINATION) > - scp SRPMS/* $(DESTINATION) > diff --git a/src/pmqtest/Makefile b/src/pmqtest/Makefile > deleted file mode 100644 > index 0902c9b0352b..000000000000 > --- a/src/pmqtest/Makefile > +++ /dev/null > @@ -1,16 +0,0 @@ > -CFLAGS += -Wall -O2 > -LDFLAGS += -lpthread > - > -all: pmqtest > - @echo Done > - > -pmqtest.o: pmqtest.c > - > -pmqtest: > - > -clean: > - @rm -f *.o > - > -tar: clean > - @rm -f pmqtest > - $(shell bn=`basename $$PWD`; cd ..; tar -zcf $$bn.tgz $$bn) > diff --git a/src/ptsematest/Makefile b/src/ptsematest/Makefile > deleted file mode 100644 > index dc12bc26d334..000000000000 > --- a/src/ptsematest/Makefile > +++ /dev/null > @@ -1,16 +0,0 @@ > -CFLAGS += -Wall -O2 > -LDFLAGS += -lpthread > - > -all: ptsematest > - @echo Done > - > -ptsematest.o: ptsematest.c > - > -ptsematest: > - > -clean: > - @rm -f *.o > - > -tar: clean > - @rm -f ptsematest > - $(shell bn=`basename $$PWD`; cd ..; tar -zcf $$bn.tgz $$bn) > diff --git a/src/sigwaittest/Makefile b/src/sigwaittest/Makefile > deleted file mode 100644 > index 697e3d50d698..000000000000 > --- a/src/sigwaittest/Makefile > +++ /dev/null > @@ -1,17 +0,0 @@ > -CFLAGS += -Wall -O2 > -LDFLAGS += -lpthread -lrt > - > -all: sigwaittest > - @echo Done > - > -sigwaittest.o: sigwaittest.c > - > -sigwaittest: > - > -clean: > - @rm -f *.o > - > -tar: clean > - @rm -f sigwaittest > - $(shell bn=`basename $$PWD`; cd ..; tar -zcf $$bn.tgz $$bn) > - > diff --git a/src/svsematest/Makefile b/src/svsematest/Makefile > deleted file mode 100644 > index da8d32d847a4..000000000000 > --- a/src/svsematest/Makefile > +++ /dev/null > @@ -1,16 +0,0 @@ > -CFLAGS += -Wall -O2 > -LDFLAGS += -lpthread -lrt > - > -all: svsematest > - @echo Done > - > -svsematest.o: svsematest.c > - > -svsematest: > - > -clean: > - @rm -f *.o > - > -tar: clean > - @rm -f svsematest > - $(shell bn=`basename $$PWD`; cd ..; tar -zcf $$bn.tgz $$bn) > -- > 2.1.4 > > -- Signed-off-by: John Kacur Thanks ---1463804494-285802491-1444053535=:14006--