Buildpatch for cygdps.dll
Alexander Gottwald
Alexander.Gottwald@s1999.tu-chemnitz.de
Mon Dec 30 16:03:00 GMT 2002
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
More information about the Cygwin-xfree
mailing list