Author: cjcollier
Date: 2005-12-14 00:16:20 -0500 (Wed, 14 Dec 2005)
New Revision: 54340

Added:
   trunk/gtkglarea-sharp/examples/NeHe/Lesson05/
   trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Lesson05.cs
   trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.am
   trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.in
Modified:
   trunk/gtkglarea-sharp/configure.ac
   trunk/gtkglarea-sharp/examples/NeHe/Makefile.am
Log:
- added Lesson 5 and modified the makefiles


Modified: trunk/gtkglarea-sharp/configure.ac
===================================================================
--- trunk/gtkglarea-sharp/configure.ac  2005-12-14 02:33:24 UTC (rev 54339)
+++ trunk/gtkglarea-sharp/configure.ac  2005-12-14 05:16:20 UTC (rev 54340)
@@ -132,6 +132,7 @@
 examples/NeHe/Lesson02/Makefile
 examples/NeHe/Lesson03/Makefile
 examples/NeHe/Lesson04/Makefile
+examples/NeHe/Lesson05/Makefile
 sources/Makefile
 gtkgl-sharp-2.0.pc
 ])

Added: trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Lesson05.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Lesson05.cs    2005-12-14 
02:33:24 UTC (rev 54339)
+++ trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Lesson05.cs    2005-12-14 
05:16:20 UTC (rev 54340)
@@ -0,0 +1,264 @@
+// created on 12/13/2005 at 1:51 PM
+using System;
+using System.Timers;
+
+using Gtk;
+using GtkSharp;
+
+using GtkGL;
+
+using Tao.OpenGl;
+
+using gl=Tao.OpenGl.Gl;
+using glu=Tao.OpenGl.Glu;
+
+// This code is based on work from Alp Toker and the NeHe lesson here:
+// http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=01
+namespace NeHe.Lesson05
+{
+       public class Lesson05
+       {
+               /* GlArea is the widget defined in the GtkGL namespace and is a
+                * specialized GtkDrawingArea with GL cow powers.
+                */
+               
+               GLArea glarea;
+               
+               /*      attrList
+            *      Specifies a list of Boolean attributes and enum/integer
+                *      attribute/value pairs. The last attribute must be zero 
or
+                *      _GDK_GL_CONFIGS.None.
+                *      
+                *      See glXChooseVisual man page for explanation of
+                *      attrList.
+                *      
+                *      http://www.xfree86.org/4.4.0/glXChooseVisual.3.html
+                */
+                  
+               int[] attrlist = {
+               (int)GtkGL._GDK_GL_CONFIGS.Rgba,
+               (int)GtkGL._GDK_GL_CONFIGS.RedSize,1,
+               (int)GtkGL._GDK_GL_CONFIGS.GreenSize,1,
+               (int)GtkGL._GDK_GL_CONFIGS.BlueSize,1,
+               (int)GtkGL._GDK_GL_CONFIGS.DepthSize,1,
+               (int)GtkGL._GDK_GL_CONFIGS.Doublebuffer,
+               (int)GtkGL._GDK_GL_CONFIGS.None,
+               };      
+               
+               float           rtri;                                           
// Angle For The Triangle
+               float           rquad;                                          
// Angle For The Quad
+               
+               // This method is called "ReSizeGLScene" in the original lesson
+               void OnConfigure (object o, EventArgs e)
+               {
+                       if( glarea.MakeCurrent() == 0)
+                               return;
+                       
+                       int height = glarea.Allocation.Height,
+                               width  = glarea.Allocation.Width;
+                               
+                       Console.WriteLine("Width: {0}", width);
+                       Console.WriteLine("Height: {0}", height);
+                       
+                       
+                       if (height==0)                                          
                        // Prevent A Divide By Zero By
+                       {
+                               height=1;                                       
                                // Making Height Equal One
+                       }
+                               
+                       gl.glViewport (0, 0, width, height);
+                       
+                       gl.glMatrixMode(gl.GL_PROJECTION);                      
        // Select The Projection Matrix
+                       gl.glLoadIdentity();                                    
                // Reset The Projection Matrix
+
+                       // Calculate The Aspect Ratio Of The Window
+                       
glu.gluPerspective(45.0f,(float)width/(float)height,0.1f,100.0f);
+
+                       gl.glMatrixMode(gl.GL_MODELVIEW);                       
        // Select The Modelview Matrix
+                       gl.glLoadIdentity();            
+               }
+
+               bool InitGL()
+               {
+                       if (glarea.MakeCurrent() == 0)
+                               return false;
+
+                       gl.glShadeModel(gl.GL_SMOOTH);                          
                // Enables Smooth Shading
+                       gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);                
        // Black Background
+                       gl.glClearDepth(1.0f);                                  
                        // Depth Buffer Setup
+                       gl.glEnable(gl.GL_DEPTH_TEST);                          
                // Enables Depth Testing
+                       gl.glDepthFunc(gl.GL_LEQUAL);                           
                // The Type Of Depth Test To Do
+                       // Really Nice Perspective Calculations
+                       gl.glHint(gl.GL_PERSPECTIVE_CORRECTION_HINT, 
gl.GL_NICEST);     
+                       
+                       return true;
+               }
+               
+               // The correct time to init the gl window is at Realize time
+               void OnRealized (object o, EventArgs e)
+               {
+                       if(!InitGL())
+                               Console.WriteLine("Couldn't InitGL()");
+               }
+
+               // This method is called "DrawGLScene" in the original lesson   
        
+               void OnExposed (object o, EventArgs e)
+               {
+               
+                       if (glarea.MakeCurrent() == 0)
+                               return;
+                       
+                       // Clear The Screen And The Depth Buffer
+                       gl.glClear(gl.GL_COLOR_BUFFER_BIT | 
gl.GL_DEPTH_BUFFER_BIT);
+                       gl.glLoadIdentity();                                    
                // Reset The Current Modelview Matrix
+                       
+                       gl.glTranslatef(-1.5f,0.0f,-6.0f);                      
        // Move Left 1.5 Units And Into The Screen 6.0
+                       
+                       gl.glRotatef(rtri,0.0f,1.0f,0.0f);                      
        // Rotate The Pyramid On The Y axis
+                       
+                       gl.glBegin(gl.GL_TRIANGLES);                            
        // Start drawing the Pyramid
+                       
+                               gl.glColor3f(1.0f,0.0f,0.0f);                   
        // Red
+                               gl.glVertex3f( 0.0f, 1.0f, 0.0f);               
        // Top Of Triangle (Front)
+                               gl.glColor3f(0.0f,1.0f,0.0f);                   
        // Green
+                               gl.glVertex3f(-1.0f,-1.0f, 1.0f);               
        // Left Of Triangle (Front)
+                               gl.glColor3f(0.0f,0.0f,1.0f);                   
        // Blue
+                               gl.glVertex3f( 1.0f,-1.0f, 1.0f);               
        // Right Of Triangle (Front)
+                       
+                               gl.glColor3f(1.0f,0.0f,0.0f);                   
        // Red
+                               gl.glVertex3f( 0.0f, 1.0f, 0.0f);               
        // Top Of Triangle (Right)
+                               gl.glColor3f(0.0f,0.0f,1.0f);                   
        // Blue
+                               gl.glVertex3f( 1.0f,-1.0f, 1.0f);               
        // Left Of Triangle (Right)
+                               gl.glColor3f(0.0f,1.0f,0.0f);                   
        // Green
+                               gl.glVertex3f( 1.0f,-1.0f, -1.0f);              
        // Right Of Triangle (Right)
+                               
+                               gl.glColor3f(1.0f,0.0f,0.0f);                   
        // Red
+                               gl.glVertex3f( 0.0f, 1.0f, 0.0f);               
        // Top Of Triangle (Back)
+                               gl.glColor3f(0.0f,1.0f,0.0f);                   
        // Green
+                               gl.glVertex3f( 1.0f,-1.0f, -1.0f);              
        // Left Of Triangle (Back)
+                               gl.glColor3f(0.0f,0.0f,1.0f);                   
        // Blue
+                               gl.glVertex3f(-1.0f,-1.0f, -1.0f);              
        // Right Of Triangle (Back)
+                               
+                               gl.glColor3f(1.0f,0.0f,0.0f);                   
        // Red
+                               gl.glVertex3f( 0.0f, 1.0f, 0.0f);               
        // Top Of Triangle (Left)
+                               gl.glColor3f(0.0f,0.0f,1.0f);                   
        // Blue
+                               gl.glVertex3f(-1.0f,-1.0f,-1.0f);               
        // Left Of Triangle (Left)
+                               gl.glColor3f(0.0f,1.0f,0.0f);                   
        // Green
+                               gl.glVertex3f(-1.0f,-1.0f, 1.0f);               
        // Right Of Triangle (Left)
+
+                       gl.glEnd();                                             
                                // Finished Drawing The Pyramid
+                       
+                       gl.glLoadIdentity();                                    
                        // If this didn't happen, weird rotation happens
+                       gl.glTranslatef(1.5f,0.0f,-7.0f);                       
        // Move Right 1.5 Units And Into The Screen 6.0
+                       gl.glRotatef(rquad,1.0f,1.0f,1.0f);                     
        // Rotate The Quad On The X axis ( NEW )
+                       
+                       gl.glBegin(gl.GL_QUADS);                                
                // Draw a Cube
+                       
+                       gl.glColor3f(0.0f,1.0f,0.0f);                       // 
Set The Color To Green
+                       gl.glVertex3f( 1.0f, 1.0f,-1.0f);                       
// Top Right Of The Quad (Top)
+                       gl.glVertex3f(-1.0f, 1.0f,-1.0f);                       
// Top Left Of The Quad (Top)
+                       gl.glVertex3f(-1.0f, 1.0f, 1.0f);                       
// Bottom Left Of The Quad (Top)
+                       gl.glVertex3f( 1.0f, 1.0f, 1.0f);                       
// Bottom Right Of The Quad (Top)
+                       
+                       gl.glColor3f(1.0f,0.5f,0.0f);                           
// Set The Color To Orange
+                       gl.glVertex3f( 1.0f,-1.0f, 1.0f);                       
// Top Right Of The Quad (Bottom)
+                       gl.glVertex3f(-1.0f,-1.0f, 1.0f);                       
// Top Left Of The Quad (Bottom)
+                       gl.glVertex3f(-1.0f,-1.0f,-1.0f);                       
// Bottom Left Of The Quad (Bottom)
+                       gl.glVertex3f( 1.0f,-1.0f,-1.0f);                       
// Bottom Right Of The Quad (Bottom)
+                       
+                       gl.glColor3f(1.0f,0.0f,0.0f);                           
// Set The Color To Red
+                       gl.glVertex3f( 1.0f, 1.0f, 1.0f);                       
// Top Right Of The Quad (Front)
+                       gl.glVertex3f(-1.0f, 1.0f, 1.0f);                       
// Top Left Of The Quad (Front)
+                       gl.glVertex3f(-1.0f,-1.0f, 1.0f);                       
// Bottom Left Of The Quad (Front)
+                       gl.glVertex3f( 1.0f,-1.0f, 1.0f);                       
// Bottom Right Of The Quad (Front)
+                       
+                       gl.glColor3f(1.0f,1.0f,0.0f);                           
// Set The Color To Yellow
+                       gl.glVertex3f( 1.0f,-1.0f,-1.0f);                       
// Bottom Left Of The Quad (Back)
+                       gl.glVertex3f(-1.0f,-1.0f,-1.0f);                       
// Bottom Right Of The Quad (Back)
+                       gl.glVertex3f(-1.0f, 1.0f,-1.0f);                       
// Top Right Of The Quad (Back)
+                       gl.glVertex3f( 1.0f, 1.0f,-1.0f);                       
// Top Left Of The Quad (Back)
+                       
+                       gl.glColor3f(0.0f,0.0f,1.0f);                           
// Set The Color To Blue
+                       gl.glVertex3f(-1.0f, 1.0f, 1.0f);                       
// Top Right Of The Quad (Left)
+                       gl.glVertex3f(-1.0f, 1.0f,-1.0f);                       
// Top Left Of The Quad (Left)
+                       gl.glVertex3f(-1.0f,-1.0f,-1.0f);                       
// Bottom Left Of The Quad (Left)
+                       gl.glVertex3f(-1.0f,-1.0f, 1.0f);                       
// Bottom Right Of The Quad (Left)
+                       
+                       gl.glColor3f(1.0f,0.0f,1.0f);                           
// Set The Color To Violet
+                       gl.glVertex3f( 1.0f, 1.0f,-1.0f);                       
// Top Right Of The Quad (Right)
+                       gl.glVertex3f( 1.0f, 1.0f, 1.0f);                       
// Top Left Of The Quad (Right)
+                       gl.glVertex3f( 1.0f,-1.0f, 1.0f);                       
// Bottom Left Of The Quad (Right)
+                       gl.glVertex3f( 1.0f,-1.0f,-1.0f);                       
// Bottom Right Of The Quad (Right)
+                       
+                       gl.glEnd();                                             
                                // Done Drawing The Cube
+                       
+                       glarea.SwapBuffers ();                                  
                // Show the newly displayed contents
+               }
+
+               public static int Main (string[] argc)
+               {
+                       Gtk.Application.Init ();
+                       
+                       System.Timers.Timer t = new System.Timers.Timer();
+                       
+                       Lesson05 l = new Lesson05();
+                       
+                       GLib.Timeout.Add (50, new GLib.TimeoutHandler 
(l.RotateObjects));
+
+                       // Go, dog, go!
+                       Gtk.Application.Run ();
+
+                       return 1;
+               }
+               
+               private bool RotateObjects()
+               {
+                       rtri = (rtri % 360) + 1.0f;
+                       rquad = (rquad % 360) + 0.8f;
+                       
+                       if( glarea.MakeCurrent() == 0)
+                               return true;
+                       
+                       glarea.QueueDraw();
+                       
+                       return true;
+               }
+
+               public Lesson05()
+               {
+                       // Create a new GLArea widget and request a size
+                       glarea = new GLArea (attrlist);
+                       glarea.SetSizeRequest (300, 300);
+                       
+                       // Set some event handlers
+                       glarea.ExposeEvent += OnExposed;
+                       glarea.Realized += OnRealized;
+                       glarea.Unrealized += OnUnrealized;
+                       glarea.ConfigureEvent += OnConfigure;
+                                               
+                       // Create a new Vertical Box that the GLArea can live in
+                       VBox vb = new VBox (false, 0);
+                       
+                       // Pack the GLArea widget into the VBox
+                       vb.PackStart (glarea, true, true, 0);
+                       
+                       // Create a new window and name it appropriately
+                       Window win = new Window ("NeHe Lesson05");
+                       
+                       // Pack the VBox into the window
+                       win.Add (vb);
+
+                       // Show all of win's contained widgets
+                       win.ShowAll ();
+               }
+                               
+
+               
+               void OnUnrealized (object o, EventArgs e)
+               {
+                       Application.Quit();
+               }
+               
+
+       }
+}

Added: trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.am    2005-12-14 
02:33:24 UTC (rev 54339)
+++ trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.am    2005-12-14 
05:16:20 UTC (rev 54340)
@@ -0,0 +1,15 @@
+SRCS = Lesson04.cs
+
+CLEANFILES = Lesson04.exe
+
+all: Lesson04.exe
+
+Lesson04.exe: $(SRCS)
+       mcs \
+               -pkg:gtk-sharp-2.0 \
+               -pkg:gtkgl-sharp-2.0 \
+               -pkg:tao \
+               $(SRCS) \
+               -out:Lesson04.exe
+
+

Added: trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.in
===================================================================
--- trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.in    2005-12-14 
02:33:24 UTC (rev 54339)
+++ trunk/gtkglarea-sharp/examples/NeHe/Lesson05/Makefile.in    2005-12-14 
05:16:20 UTC (rev 54340)
@@ -0,0 +1,315 @@
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
[EMAIL PROTECTED]@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = examples/NeHe/Lesson05
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+API_VERSION = @API_VERSION@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASE_DEPENDENCIES_CFLAGS = @BASE_DEPENDENCIES_CFLAGS@
+BASE_DEPENDENCIES_LIBS = @BASE_DEPENDENCIES_LIBS@
+BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@
+BUILD_GTK_LIBS = @BUILD_GTK_LIBS@
+CSC = @CSC@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ENABLE_MONODOC_FALSE = @ENABLE_MONODOC_FALSE@
+ENABLE_MONODOC_TRUE = @ENABLE_MONODOC_TRUE@
+GACUTIL = @GACUTIL@
+GACUTIL_FLAGS = @GACUTIL_FLAGS@
+GAPI_CFLAGS = @GAPI_CFLAGS@
+GAPI_LIBS = @GAPI_LIBS@
+GTK_SHARP_CFLAGS = @GTK_SHARP_CFLAGS@
+GTK_SHARP_LIBS = @GTK_SHARP_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD_LIBRARY_PATH = @LD_LIBRARY_PATH@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIB_PREFIX = @LIB_PREFIX@
+LIB_SUFFIX = @LIB_SUFFIX@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+MCS = @MCS@
+MONO = @MONO@
+MONODOC = @MONODOC@
+MONODOC_DEPENDENCY_CFLAGS = @MONODOC_DEPENDENCY_CFLAGS@
+MONODOC_DEPENDENCY_LIBS = @MONODOC_DEPENDENCY_LIBS@
+MONODOC_REQUIRED_VERSION = @MONODOC_REQUIRED_VERSION@
+MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@
+MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH = @PATH@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+RUNTIME = @RUNTIME@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+WINBUILD_FALSE = @WINBUILD_FALSE@
+WINBUILD_TRUE = @WINBUILD_TRUE@
+ac_ct_STRIP = @ac_ct_STRIP@
+ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+SRCS = Lesson04.cs
+CLEANFILES = Lesson04.exe
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  
$(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  
examples/NeHe/Lesson05/Makefile'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --gnu  examples/NeHe/Lesson05/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 
$(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 
$(am__depfiles_maybe);; \
+       esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure 
$(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+       list='$(DISTFILES)'; for file in $$list; do \
+         case $$file in \
+           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+           $(top_srcdir)/*) file=`echo "$$file" | sed 
"s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+         esac; \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+           dir="/$$dir"; \
+           $(mkdir_p) "$(distdir)$$dir"; \
+         else \
+           dir=''; \
+         fi; \
+         if test -d $$d/$$file; then \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+           fi; \
+           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+         else \
+           test -f $(distdir)/$$file \
+           || cp -p $$d/$$file $(distdir)/$$file \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+         `test -z '$(STRIP)' || \
+           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+       -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am check check-am clean clean-generic distclean \
+       distclean-generic distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-exec \
+       install-exec-am install-info install-info-am install-man \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
+       uninstall-info-am
+
+
+all: Lesson04.exe
+
+Lesson04.exe: $(SRCS)
+       mcs \
+               -pkg:gtk-sharp-2.0 \
+               -pkg:gtkgl-sharp-2.0 \
+               -pkg:tao \
+               $(SRCS) \
+               -out:Lesson04.exe
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

Modified: trunk/gtkglarea-sharp/examples/NeHe/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/NeHe/Makefile.am     2005-12-14 02:33:24 UTC 
(rev 54339)
+++ trunk/gtkglarea-sharp/examples/NeHe/Makefile.am     2005-12-14 05:16:20 UTC 
(rev 54340)
@@ -2,4 +2,5 @@
        Lesson01 \
        Lesson02 \
        Lesson03 \
-       Lesson04
+       Lesson04 \
+       Lesson05

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to