[PATCH rt-tests 2/3] remove several unused Makefiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux