diff options
author | Mystery Man <unknown@mandriva.org> | 2003-03-16 15:30:56 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-03-16 15:30:56 +0000 |
commit | a030cfea974447d595cc068ab02657e9536d8ae5 (patch) | |
tree | cf79b8311ad00c2486bc3c8936561529d2771a26 /tools/Makefile | |
parent | 0f2158d02fe433bdef724be81aa2e1b4327c3dfc (diff) | |
download | drakx-backup-do-not-use-9_1_26mdk.tar drakx-backup-do-not-use-9_1_26mdk.tar.gz drakx-backup-do-not-use-9_1_26mdk.tar.bz2 drakx-backup-do-not-use-9_1_26mdk.tar.xz drakx-backup-do-not-use-9_1_26mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V9_1_26mdk'.V9_1_26mdk
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/Makefile b/tools/Makefile deleted file mode 100644 index 244b23bd9..000000000 --- a/tools/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -ROOTDEST = /export -DEST = $(ROOTDEST)/Mandrake/mdkinst -RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm) -DIRS = ddcprobe serial_probe aewm-drakx -BASE = $(ROOTDEST)/Mandrake/base -CFLAGS = -Wall - -ARCH := $(shell arch | egrep "(x86_64|sparc64|s390x)") -ifneq ("x$(ARCH)", "x") -LIB_NAME = lib64 -else -LIB_NAME = lib -endif - -.PHONY: clean install $(DIRS) - -all: $(DIRS) xhost+ rpcinfo-flushed 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:installvendorlib`; cd $$installvendorlib ; cp -rf packdrake.pm $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } - @eval `perl -V:installvendorarch`; cd $$installvendorarch ; cp -rf URPM* $(ROOTDEST)/misc || { echo "install perl-URPM first!" ; exit 1; } - @eval `perl -V:installvendorarch`; cd $$installvendorarch/auto ; cp -rf URPM $(ROOTDEST)/misc/auto || { echo "install perl-URPM first!" ; exit 1; } - @mkdir -p $(DEST)/usr/bin - -xhost+: %: %.c - $(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@ - -ddcprobe/ddcxinfos: - $(MAKE) -C ddcprobe ddcxinfos - -clean: - for i in $(DIRS); do $(MAKE) -C $$i clean; done - rm -rf *~ xhost+ rpcinfo-flushed ddcprobe/ddcxinfos */*.o |