From: <ped...@us...> - 2008-09-24 01:04:28
|
Revision: 1184 http://cegcc.svn.sourceforge.net/cegcc/?rev=1184&view=rev Author: pedroalves Date: 2008-09-24 01:04:22 +0000 (Wed, 24 Sep 2008) Log Message: ----------- 2008-09-24 Pedro Alves <ped...@us...> * config.sub: Add support for cegcc. * libce/Makefile.in (inst_includedir, inst_libdir) [cegcc]: Set to a w32api subdir. (EXTRA_INCLUDES) [cegcc]: Point at newlib headers. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/config.sub trunk/cegcc/src/w32api/libce/Makefile.in Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-09-24 00:57:24 UTC (rev 1183) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-09-24 01:04:22 UTC (rev 1184) @@ -1,3 +1,10 @@ +2008-09-24 Pedro Alves <ped...@us...> + + * config.sub: Add support for cegcc. + * libce/Makefile.in (inst_includedir, inst_libdir) [cegcc]: Set to + a w32api subdir. + (EXTRA_INCLUDES) [cegcc]: Point at newlib headers. + 2008-09-04 Danny Backx <dan...@us...> * include/winbase.h: Fix SetSystemPowerState as indicated by Klaus Modified: trunk/cegcc/src/w32api/config.sub =================================================================== --- trunk/cegcc/src/w32api/config.sub 2008-09-24 00:57:24 UTC (rev 1183) +++ trunk/cegcc/src/w32api/config.sub 2008-09-24 01:04:22 UTC (rev 1184) @@ -411,6 +411,10 @@ basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -1133,7 +1137,7 @@ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* | -cegcc* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ Modified: trunk/cegcc/src/w32api/libce/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/libce/Makefile.in 2008-09-24 00:57:24 UTC (rev 1183) +++ trunk/cegcc/src/w32api/libce/Makefile.in 2008-09-24 01:04:22 UTC (rev 1184) @@ -43,8 +43,19 @@ endif datadir = @datadir@ infodir = @infodir@ -inst_includedir:=$(tooldir)/include + +ifneq (,$(findstring cegcc,$(host_alias))) +inst_includedir:=$(tooldir)/include/w32api +inst_libdir:=$(tooldir)/lib/w32api +else +ifneq (,$(with_cross_host)) +inst_includedir:=$(tooldir)/include/w32api inst_libdir:=$(tooldir)/lib +else +inst_includedir:=$(includedir) +inst_libdir:=$(libdir) +endif +endif INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -75,6 +86,12 @@ EXTRA_INCLUDES = -I$(srcdir)/../../mingw/include endif +# This would be better passed from configure. Not so important to do +# until winsup is cleaned up too. +ifneq (,$(findstring cegcc, $(host_alias))) +EXTRA_INCLUDES = -I$(srcdir)/../../include -I$(srcdir)/../../newlib/newlib/libc/include +endif + INCLUDES = -I$(srcdir)/../include $(EXTRA_INCLUDES) CFLAGS = @CFLAGS@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |