This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Buildpatch for cygdps.dll
- From: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 31 Dec 2002 13:16:03 +0000
- Subject: Re: Buildpatch for cygdps.dll
- References: <200212310109.gBV19gc78070@pilot12.cl.msu.edu>
- Reply-to: cygwin-xfree at cygwin dot com
Done.
On Mon, Dec 30, 2002 at 08:09:42 -0500, Harold L Hunt wrote:
> 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
> >
> >
>
>