summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/tools/Makefile b/tools/Makefile
deleted file mode 100644
index 681f5748f..000000000
--- a/tools/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-ROOTDEST = /export
-DEST = $(ROOTDEST)/Mandrake/mdkinst
-RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
-DIRS = ddcprobe serial_probe
-BASE = $(ROOTDEST)/Mandrake/base
-CFLAGS = -Wall
-
-.PHONY: clean install $(DIRS)
-
-all: $(BASE)/depslist.ordered $(BASE)/compss $(DIRS) xhost+ install
-
-$(DIRS):
- make -C $@
-
-install:
- install -d $(ROOTDEST)/misc/auto
- install make_mdkinst_stage2 $(ROOTDEST)/misc
- cd /usr/bin ; install packdrake $(ROOTDEST)/misc || { echo "packdrake is missing"; exit 1; }
- cd /usr/bin ; install gendistrib rpm2header $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; }
- eval `perl -V:version`; cd /usr/lib/perl5/site_perl/$$version/*-linux ; install packdrake.pm rpmtools.pm $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; }
- eval `perl -V:version`; cd /usr/lib/perl5/site_perl/$$version/*-linux/auto ; cp -rf rpmtools $(ROOTDEST)/misc/auto || { echo "install rpmtools first!" ; exit 1; }
- mkdir -p $(DEST)/usr/bin
-
-xhost+: %: %.c
- $(CC) $(CFLAGS) $< -L/usr/X11R6/lib -lX11 -o $@
-
-ddcprobe/ddcxinfos:
- $(MAKE) -C ddcprobe ddcxinfos
-
-$(BASE)/compss $(BASE)/depslist.ordered: $(BASE)/hdlists $(BASE)/hdlist.cz
- gendistrib --nohdlists --distrib $(ROOTDEST)
-
-$(BASE)/hdlist.cz: $(BASE)/hdlists $(RPMS)
- gendistrib --noclean --nobasefiles --distrib $(ROOTDEST)
-
-clean:
- for i in $(DIRS); do $(MAKE) -C $$i clean; done
- rm -rf *~ xhost+ ddcprobe/ddcxinfos */*.o