This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Buildpatch for cygdps.dll
- From: Harold L Hunt <huntharo at msu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 30 Dec 2002 20:09:42 EST
- Subject: Re: Buildpatch for cygdps.dll
- Reply-to: cygwin-xfree at cygwin dot com
Alexander,
Good catch!
Alan - do you want to commit this directly?
Harold
Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de> said:
> 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
>
>