Sfoglia il codice sorgente

* Introduced Unix dir structure for opengl.

marco 24 anni fa
parent
commit
eed786f0d4

+ 6 - 0
packages/opengl/Makefile

@@ -131,6 +131,12 @@ override TARGET_UNITS+=glx
 endif
 override TARGET_EXAMPLEDIRS+=examples
 override INSTALL_FPCPACKAGE=y
+ifeq ($(OS_TARGET),linux)
+override COMPILER_INCLUDEDIR+=unix
+endif
+ifeq ($(OS_TARGET),freebsd)
+override COMPILER_INCLUDEDIR+=unix
+endif
 override COMPILER_SOURCEDIR+=$(OS_TARGET)
 override COMPILER_TARGETDIR+=$(OS_TARGET)
 ifndef ECHO

+ 2 - 0
packages/opengl/Makefile.fpc

@@ -21,6 +21,8 @@ exampledirs=examples
 [compiler]
 sourcedir=$(OS_TARGET)
 targetdir=$(OS_TARGET)
+includedir_freebsd=unix
+includedir_linux=unix
 
 [install]
 fpcpackage=y

+ 8 - 2
packages/opengl/linux/gl.pp → packages/opengl/unix/gl.pp

@@ -2039,7 +2039,10 @@ finalization
 end.
 {
   $Log$
-  Revision 1.6  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.6  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.5  2000/10/01 22:17:58  peter
@@ -2059,7 +2062,10 @@ end.
 
 {
   $Log$
-  Revision 1.6  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.6  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.5  2000/10/01 22:17:58  peter

+ 8 - 2
packages/opengl/linux/glu.pp → packages/opengl/unix/glu.pp

@@ -359,7 +359,10 @@ end.
 
 {
   $Log$
-  Revision 1.3  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.3  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.2  2000/10/01 22:17:59  peter
@@ -379,7 +382,10 @@ end.
 
 {
   $Log$
-  Revision 1.3  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.3  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.2  2000/10/01 22:17:59  peter

+ 4 - 1
packages/opengl/linux/glut.pp → packages/opengl/unix/glut.pp

@@ -451,7 +451,10 @@ end.
 
 {
   $Log$
-  Revision 1.6  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.6  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.5  2000/10/01 22:17:59  peter

+ 8 - 2
packages/opengl/linux/glx.pp → packages/opengl/unix/glx.pp

@@ -246,7 +246,10 @@ end.
 
 {
   $Log$
-  Revision 1.3  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.3  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.2  2000/10/01 22:17:59  peter
@@ -266,7 +269,10 @@ end.
 
 {
   $Log$
-  Revision 1.3  2001-06-20 13:59:20  marco
+  Revision 1.2  2001-06-20 14:22:48  marco
+   * Introduced Unix dir structure for opengl.
+
+  Revision 1.3  2001/06/20 13:59:20  marco
    * Fixed breaking of Freebsd. Still requires copying linux to freebsd dir.
 
   Revision 1.2  2000/10/01 22:17:59  peter