From e1db87b9b9e4a582e106fb9f24e6be21c8fa0917 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Dec 1999 18:42:28 +0000 Subject: no_comment --- tools/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index fec667eff..654345ef8 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -3,17 +3,22 @@ DEST = $(ROOTDEST)/Mandrake/mdkinst RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm) DIRS = ddcprobe pnp_serial BASE = $(ROOTDEST)/Mandrake/base +CFLAGS = -Wall .PHONY: clean install $(DIRS) -all: $(BASE)/depslist $(BASE)/hdlist $(DIRS) install +all: $(BASE)/depslist $(BASE)/hdlist $(DIRS) install $(DIRS): make -C $@ install: - $(MAKE) gendepslist rpm2header + $(MAKE) gendepslist rpm2header xhost+ install make_mdkinst_stage2 gendepslist rpm2header genhdlist $(ROOTDEST)/misc + install -s xhost+ $(DEST)/usr/bin + +xhost+: %: %.c + $(CC) $(CFLAGS) $< -L/usr/X11R6/lib -lX11 -o $@ gendepslist: %: %.cc $(CXX) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@ -- cgit v1.2.1