summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/files/patch-dps
blob: 8c64dcec233cdadc1e26aebe282f5922f9ef60bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- lib/dps/Imakefile.orig	Tue Dec 31 13:15:41 2002
+++ lib/dps/Imakefile	Fri Jan 10 21:24:35 2003
@@ -29,7 +29,6 @@
             SED = sed
             AWK = awk
            SORT = sort
-         PSWRAP = PsWrap
 
 COMMONOBJECTFILES = \
 	dpsclient.o\
@@ -201,7 +200,7 @@
 
 includes:: $(DPSOPSCFILES) $(PSOPSCFILES) $(HEADERS)
 
-$(DPSOPSCFILES) $(PSOPSCFILES): HostProgramTargetName($(PSWRAP))
+$(DPSOPSCFILES) $(PSOPSCFILES): PsWrapDependency
 
 SRCS = \
 	${COMMONSOURCEFILES} \
@@ -224,16 +223,11 @@
 
 .SUFFIXES: .psw .h
 
-.psw.c : HostProgramTargetName($(PSWRAP))
+.psw.c : PsWrapDependency
 	RunProgram(PSWRAP,-a -o $*.c -h $*.h $<)
 
-.psw.h : HostProgramTargetName($(PSWRAP))
+.psw.h : PsWrapDependency
 	RunProgram(PSWRAP,-a -h $*.h $< > /dev/null)
-
-HostProgramTargetName($(PSWRAP)):
-	@echo "checking $@ over in $(PSWRAPSRC) first..."; \
-	cd $(PSWRAPSRC) && $(MAKE); \
-	echo "okay, continuing in $(CURRENT_DIR)"
 
 includes :: $(HEADERS)
 depend :: $(DPSOPSCFILES) $(PSOPSCFILES)