From: John Kacur <jkacur@redhat.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Clark Williams <williams@redhat.com>,
linux-rt-users@vger.kernel.org, Henrik Austad <haustad@cisco.com>,
Josh Cartwright <joshc@ni.com>
Subject: Re: [PATCH rt-tests 2/3] remove several unused Makefiles
Date: Mon, 5 Oct 2015 15:58:54 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.20.1510051558250.14006@riemann> (raw)
In-Reply-To: <1443955723-23042-3-git-send-email-u.kleine-koenig@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 5255 bytes --]
On Sun, 4 Oct 2015, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> 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 <jkacur@redhat.com>
Thanks
next prev parent reply other threads:[~2015-10-05 13:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-04 10:48 [PATCH rt-tests 0/3] autotools for rt-tests 0.94+ Uwe Kleine-König
2015-10-04 10:48 ` [PATCH rt-tests 1/3] backfire: remove unused header file Uwe Kleine-König
2015-10-05 13:58 ` John Kacur
2015-10-04 10:48 ` [PATCH rt-tests 2/3] remove several unused Makefiles Uwe Kleine-König
2015-10-05 13:58 ` John Kacur [this message]
2015-10-04 10:48 ` [PATCH rt-tests 3/3] convert build system to autotools Uwe Kleine-König
2015-10-05 14:00 ` John Kacur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.20.1510051558250.14006@riemann \
--to=jkacur@redhat.com \
--cc=haustad@cisco.com \
--cc=joshc@ni.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).