Update of /cvsroot/csdopenglnet/csdOpenGL/Cg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30177/Cg
Modified Files:
Makefile cg.xml cgGL.xml
Log Message:
new build system
Index: cg.xml
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/cg.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** cg.xml 11 Sep 2004 12:27:21 -0000 1.4
--- cg.xml 20 Oct 2004 09:12:10 -0000 1.5
***************
*** 1,4 ****
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
! <xmlInput>cg_8h.xml</xmlInput>
<linkLibrary>cg.dll</linkLibrary>
<className>csdCgBase</className>
--- 1,4 ----
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
! <xmlInput>../xml/cg_8h.xml</xmlInput>
<linkLibrary>cg.dll</linkLibrary>
<className>csdCgBase</className>
Index: cgGL.xml
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/cgGL.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** cgGL.xml 11 Sep 2004 12:27:21 -0000 1.5
--- cgGL.xml 20 Oct 2004 09:12:10 -0000 1.6
***************
*** 1,4 ****
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
! <xmlInput>cgGL_8h.xml</xmlInput>
<linkLibrary>cgGL.dll</linkLibrary>
<className>csdCgGLBase</className>
--- 1,4 ----
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
! <xmlInput>../xml/cgGL_8h.xml</xmlInput>
<linkLibrary>cgGL.dll</linkLibrary>
<className>csdCgGLBase</className>
***************
*** 9,14 ****
<writeDefines>false</writeDefines>
<TypeDefs>
! <File>cg_8h.xml</File>
! <File>../GL/gl_8h.xml</File>
</TypeDefs>
<BaseTypes>
--- 9,14 ----
<writeDefines>false</writeDefines>
<TypeDefs>
! <File>../xml/cg_8h.xml</File>
! <File>../xml/gl_8h.xml</File>
</TypeDefs>
<BaseTypes>
Index: Makefile
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/Makefile,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Makefile 13 Sep 2004 17:13:17 -0000 1.18
--- Makefile 20 Oct 2004 09:12:10 -0000 1.19
***************
*** 1,13 ****
FILES=cg.xml.cs cgGL.xml.cs AssemblyInfo.cs csdCg.cs cgType.cs cgRessource.cs cgProfile.cs cgError.cs cgEnums.cs cgGLEnum.cs
! GEN=mono ../generator/generator.exe
! CC=mcs
- DEBUG=/d:DEBUG
- DEBUG=
- OPTS=$(DEBUG)
- MCS=$(CC) $(OPTS) -lib:../GL -r:csDragons.OpenGL.dll
- PACKAGE=csDragons
- GAC=gacutil $(GACUTIL_FLAGS)
DLL=csDragons.OpenGL.Cg.dll
DEMOS=demoCg.exe
--- 1,10 ----
+ include ../scripts/Makefile.Init
+
FILES=cg.xml.cs cgGL.xml.cs AssemblyInfo.cs csdCg.cs cgType.cs cgRessource.cs cgProfile.cs cgError.cs cgEnums.cs cgGLEnum.cs
! GEN=$(RUN) ../generator/generator.exe
! TARGETDIR=../build
! LIBS=-r:csDragons.OpenGL.dll
DLL=csDragons.OpenGL.Cg.dll
DEMOS=demoCg.exe
***************
*** 16,33 ****
$(DLL): $(FILES)
! $(MCS) -target:library $(FILES) -out:$@
!
!
! gl_8h.xml:
! ln -sf ../GL/gl_8h.xml .
%.xml.cs:%.xml
! $(GEN) $^
!
! demo: $(DEMOS) csDragons.OpenGL.dll
! csDragons.OpenGL.dll:
! ln -sf ../GL/csDragons.OpenGL.dll .
! ln -sf ../GL/csDragons.OpenGL.dll.config .
%.exe:%.cs
--- 13,23 ----
$(DLL): $(FILES)
! $(MCS) -target:library -lib:../build $(FILES) $(LIBS) -out:$@
! $(CP) $@ $@.config $(TARGETDIR)
%.xml.cs:%.xml
! $(GEN) -q $^
! demo: $(DEMOS)
%.exe:%.cs
***************
*** 45,59 ****
clean:
! rm -f $(DEMOS)
! rm -f csDragons.OpenGL.dll*
! rm -f $(DLL)
! rm -f *.xml.cs
!
! .IGNORE:
! clean
!
! .EXPORT_ALL_VARIABLES:
!
! .PHONY:
! clean
!
--- 35,40 ----
clean:
! $(RM) $(DEMOS)
! $(RM) csDragons.OpenGL.dll*
! $(RM) $(DLL)
! $(RM) *.xml.cs
|