This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Buildpatch for cygdps.dll
- From: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 31 Dec 2002 00:21:15 +0100 (MET)
- Subject: Buildpatch for cygdps.dll
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
the patch fixes some dependency problems with crosscompiling libdps.
The Imakefile has a build dependency for ProgramTargetName(pswrap) which
is pswrap.exe for cygwin, but should be pswrap when crosscompiling. This
caused libdps to be recompiled whenever make or make install waas called
for libdps. The patch changes the ProgramTargetName to HostProgramTargetName.
Index: Imakefile
===================================================================
RCS file: /cvs/xc/lib/dps/Imakefile,v
retrieving revision 1.15
diff -u -r1.15 Imakefile
--- Imakefile 2002/06/06 01:40:21 1.15
+++ Imakefile 2002/12/30 23:16:57
@@ -201,7 +201,7 @@
includes:: $(DPSOPSCFILES) $(PSOPSCFILES) $(HEADERS)
-$(DPSOPSCFILES) $(PSOPSCFILES): ProgramTargetName($(PSWRAP))
+$(DPSOPSCFILES) $(PSOPSCFILES): HostProgramTargetName($(PSWRAP))
SRCS = \
${COMMONSOURCEFILES} \
@@ -224,13 +224,13 @@
.SUFFIXES: .psw .h
-.psw.c : ProgramTargetName($(PSWRAP))
+.psw.c : HostProgramTargetName($(PSWRAP))
RunProgram(PSWRAP,-a -o $*.c -h $*.h $<)
-.psw.h : ProgramTargetName($(PSWRAP))
+.psw.h : HostProgramTargetName($(PSWRAP))
RunProgram(PSWRAP,-a -h $*.h $< > /dev/null)
-ProgramTargetName($(PSWRAP)):
+HostProgramTargetName($(PSWRAP)):
@echo "checking $@ over in $(PSWRAPSRC) first..."; \
cd $(PSWRAPSRC) && $(MAKE); \
echo "okay, continuing in $(CURRENT_DIR)"
NP: VNV Nation - Saviour
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723