[Xlibs] compiling libXt from cvs

Sascha Hauer sascha.hauer@gyro-net.de
13 Jan 2004 10:51:38 +0100


Hi all,

First off all, thank you for the autotooled versions of the xlibs.
Compiling these can be fun :-)
I'm running these libs+xserver on an custom pxa based board and they
seem to work quite well.

I have a minor patch to make libXt compile. Additionally I needed to
move ObjectP.h to include/X11 and to add Xalloc.h. I know, Jeremy has
been working on another version of Xt, but the one from cvs works for
me.

greetings
     Sascha

diff -urN Xt-cvs/Makefile.am Xt-my/Makefile.am
--- Xt-cvs/Makefile.am	2003-12-02 23:38:25.000000000 +0100
+++ Xt-my/Makefile.am	2004-01-13 10:21:23.000000000 +0100
@@ -23,7 +23,7 @@
 
 SUBDIRS=include
 
-AM_CFLAGS = $(RENDER_CFLAGS) $(X_CFLAGS) -Iinclude/X11
+AM_CFLAGS = $(RENDER_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/include/X11
-I$(top_srcdir)/include
 
 lib_LTLIBRARIES = libXt.la
 
@@ -117,6 +117,8 @@
 
 $(BUILT_SOURCES): $(top_builddir)/util/makestrs
 	$(top_builddir)/util/makestrs $(STRINGSABIOPTIONS) < $(STRING_LIST) >
StringDefs.c
+	mv StringDefs.h Shell.h include/X11/
+	
 
 $(top_builddir)/util/makestrs$(EXEEXT): force
 	cd util; $(MAKE)

-- 
----------------------------------------
Sascha Hauer - developer

GYRO net GmbH
Davenstedter Str. 60
30453 Hannover
Germany
Tel: +49 (0)511/1236804
Fax: +49 (0)511/1236812
http://www.gyro-net.de