This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Xrandr
- Subject: RE: Xrandr
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- Date: Mon, 30 Jul 2001 20:07:44 +0200 (MEST)
- Cc: "'XFree86/Cygwin Mailing list'" <cygwin-xfree at sources dot redhat dot com>
On Sat, 28 Jul 2001, Suhaib Siddiqi wrote:
> Alexander
> Did you submit these patches to Xfree86 Organization?
>
No. Since I had no idea if it was correct, I just posted it for interested
people and for overlook. I also think it would be the best if you or Harold
collect those patches and send them to XFree86.
> I use nm to create *-def.cpp files from object file, then edit *-def.cpp
> file to add at the top LIBRARY AND VERSION information
>
> nm --demangle --defined-only *.o | sed -n 's/^.* T //p' > Temp-def.cpp
>
What about adding this to Library.tmpl. Then the file is automaticly created.
#ifdef __CYGWIN__
#ifndef NmProg
#define NmProg nm
#endif
$(LIBNAME)-def.cpp: $(OBJS)
( echo "LIBRARY $(LIBNAME)" ; echo "VERSION LIBRARY_VERSION" ; echo "EXPORTS"; NmProg --demangle --defined-only $(OBJS) | sed -n 's/^.* T //p' ) > $(LIBNAME)-def.cpp
#endif
> Suhaib
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org
phone: +49 3725 3498080 mobile: +49 172 7854017