From 90bcb596e88898f807b39c9e7c85485ab8c006b6 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 15 Jun 2009 22:39:33 +0000 Subject: Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27 --- make/Manifest | 2 - make/build.xml | 488 ------------------------- make/dynlink-macosx.cfg | 25 -- make/dynlink-unix-CustomJavaCode.java | 18 - make/dynlink-unix.cfg | 22 -- make/dynlink-windows-CustomJavaCode.java | 11 - make/dynlink-windows.cfg | 30 -- make/gluegen-cpptasks.xml | 540 ---------------------------- make/gluegen.properties | 33 -- make/lib/JOGLDocLinksGeneratorAndLibs.jar | Bin 566650 -> 0 bytes make/lib/cdc_fp.jar | Bin 1494529 -> 0 bytes make/lib/cpptasks-patch.tar.gz | Bin 7743 -> 0 bytes make/lib/cpptasks-version.txt | 4 - make/lib/cpptasks.jar | Bin 345356 -> 0 bytes make/stub_includes/macosx/dynamic-linker.h | 46 --- make/stub_includes/unix/dynamic-linker.h | 47 --- make/stub_includes/windows/dynamic-linker.h | 32 -- make/validate-properties.xml | 51 --- 18 files changed, 1349 deletions(-) delete mode 100755 make/Manifest delete mode 100755 make/build.xml delete mode 100755 make/dynlink-macosx.cfg delete mode 100755 make/dynlink-unix-CustomJavaCode.java delete mode 100755 make/dynlink-unix.cfg delete mode 100755 make/dynlink-windows-CustomJavaCode.java delete mode 100755 make/dynlink-windows.cfg delete mode 100755 make/gluegen-cpptasks.xml delete mode 100755 make/gluegen.properties delete mode 100755 make/lib/JOGLDocLinksGeneratorAndLibs.jar delete mode 100755 make/lib/cdc_fp.jar delete mode 100644 make/lib/cpptasks-patch.tar.gz delete mode 100755 make/lib/cpptasks-version.txt delete mode 100755 make/lib/cpptasks.jar delete mode 100755 make/stub_includes/macosx/dynamic-linker.h delete mode 100755 make/stub_includes/unix/dynamic-linker.h delete mode 100755 make/stub_includes/windows/dynamic-linker.h delete mode 100755 make/validate-properties.xml (limited to 'make') diff --git a/make/Manifest b/make/Manifest deleted file mode 100755 index 1677feb..0000000 --- a/make/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -Main-Class: com.sun.gluegen.GlueGen -Class-Path: antlr.jar diff --git a/make/build.xml b/make/build.xml deleted file mode 100755 index f978f8b..0000000 --- a/make/build.xml +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/make/dynlink-macosx.cfg b/make/dynlink-macosx.cfg deleted file mode 100755 index 8ba4c51..0000000 --- a/make/dynlink-macosx.cfg +++ /dev/null @@ -1,25 +0,0 @@ -Style AllStatic -JavaClass MacOSXDynamicLinkerImpl -Package com.sun.gluegen.runtime -Implements MacOSXDynamicLinkerImpl DynamicLinker -JavaOutputDir ../src/java -NativeOutputDir ../src/native/macosx -HierarchicalNativeOutput false - -# Note that we can use the same CustomJavaCode as the unix -# implementation, but some of the constants (e.g. RTLD_GLOBAL) resolve -# to different values -IncludeAs CustomJavaCode MacOSXDynamicLinkerImpl dynlink-unix-CustomJavaCode.java -CustomCCode #include -CustomCCode #include - -ArgumentIsString dlopen 0 -ArgumentIsString dlsym 1 -ReturnsString dlerror -Opaque long void* - -# Hide the platform-specific functions -AccessControl dlopen PRIVATE -AccessControl dlsym PRIVATE -AccessControl dlclose PRIVATE -AccessControl dlerror PRIVATE diff --git a/make/dynlink-unix-CustomJavaCode.java b/make/dynlink-unix-CustomJavaCode.java deleted file mode 100755 index 5d10edf..0000000 --- a/make/dynlink-unix-CustomJavaCode.java +++ /dev/null @@ -1,18 +0,0 @@ -public long openLibrary(String pathname) { - // Note we use RTLD_GLOBAL visibility to allow this functionality to - // be used to pre-resolve dependent libraries of JNI code without - // requiring that all references to symbols in those libraries be - // looked up dynamically via the ProcAddressTable mechanism; in - // other words, one can actually link against the library instead of - // having to dlsym all entry points. System.loadLibrary() uses - // RTLD_LOCAL visibility so can't be used for this purpose. - return dlopen(pathname, RTLD_LAZY | RTLD_GLOBAL); -} - -public long lookupSymbol(long libraryHandle, String symbolName) { - return dlsym(libraryHandle, symbolName); -} - -public void closeLibrary(long libraryHandle) { - dlclose(libraryHandle); -} diff --git a/make/dynlink-unix.cfg b/make/dynlink-unix.cfg deleted file mode 100755 index d762c8f..0000000 --- a/make/dynlink-unix.cfg +++ /dev/null @@ -1,22 +0,0 @@ -Style AllStatic -JavaClass UnixDynamicLinkerImpl -Package com.sun.gluegen.runtime -Implements UnixDynamicLinkerImpl DynamicLinker -JavaOutputDir ../src/java -NativeOutputDir ../src/native/unix -HierarchicalNativeOutput false - -IncludeAs CustomJavaCode UnixDynamicLinkerImpl dynlink-unix-CustomJavaCode.java -CustomCCode #include -CustomCCode #include - -ArgumentIsString dlopen 0 -ArgumentIsString dlsym 1 -ReturnsString dlerror -Opaque long void* - -# Hide the platform-specific functions -AccessControl dlopen PRIVATE -AccessControl dlsym PRIVATE -AccessControl dlclose PRIVATE -AccessControl dlerror PRIVATE diff --git a/make/dynlink-windows-CustomJavaCode.java b/make/dynlink-windows-CustomJavaCode.java deleted file mode 100755 index 4101f4c..0000000 --- a/make/dynlink-windows-CustomJavaCode.java +++ /dev/null @@ -1,11 +0,0 @@ -public long openLibrary(String libraryName) { - return LoadLibraryW(libraryName); -} - -public long lookupSymbol(long libraryHandle, String symbolName) { - return GetProcAddressA(libraryHandle, symbolName); -} - -public void closeLibrary(long libraryHandle) { - FreeLibrary(libraryHandle); -} diff --git a/make/dynlink-windows.cfg b/make/dynlink-windows.cfg deleted file mode 100755 index fe69e1c..0000000 --- a/make/dynlink-windows.cfg +++ /dev/null @@ -1,30 +0,0 @@ -Style AllStatic -JavaClass WindowsDynamicLinkerImpl -Package com.sun.gluegen.runtime -Implements WindowsDynamicLinkerImpl DynamicLinker -JavaOutputDir ../src/java -NativeOutputDir ../src/native/windows -HierarchicalNativeOutput false - -IncludeAs CustomJavaCode WindowsDynamicLinkerImpl dynlink-windows-CustomJavaCode.java -CustomCCode #include -CustomCCode /* This typedef is apparently needed for compilers before VC8, -CustomCCode and for the embedded ARM compilers we're using */ -CustomCCode #if (_MSC_VER < 1400) || defined(UNDER_CE) -CustomCCode typedef int intptr_t; -CustomCCode #endif -CustomCCode /* GetProcAddress doesn't exist in A/W variants under desktop Windows */ -CustomCCode #ifndef UNDER_CE -CustomCCode #define GetProcAddressA GetProcAddress -CustomCCode #endif - -ArgumentIsString LoadLibraryW 0 -ArgumentIsString GetProcAddressA 1 -Opaque long HANDLE -Opaque long PROC - -# Hide the platform-specific functions -AccessControl GetLastError PRIVATE -AccessControl LoadLibraryW PRIVATE -AccessControl GetProcAddressA PRIVATE -AccessControl FreeLibrary PRIVATE diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml deleted file mode 100755 index 07befc3..0000000 --- a/make/gluegen-cpptasks.xml +++ /dev/null @@ -1,540 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/make/gluegen.properties b/make/gluegen.properties deleted file mode 100755 index cf69cac..0000000 --- a/make/gluegen.properties +++ /dev/null @@ -1,33 +0,0 @@ -############################################################################### -# The host specific properties. The build will inform you of required -# properties. This file must be copied into your home directory (pointed -# to by the Java system property user.home) and the copy modified appropriately. -############################################################################### -# -# The required antlr.jar property that is the full path to the antlr.jar -# including the name of the jar -# -# Windows -antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar -# Linux -# antlr.jar=/home/kbr/antlr-2.7.2/antlr.jar -# Mac OS X -# antlr.jar=/Users/kbr/antlr-2.7.2/antlr.jar -# Solaris -# antlr.jar=/export/kbr/ANTLR/antlr-2.7.2/antlr.jar - -# If you are building the native code for the GlueGen run-time library -# on Windows and have the Microsoft Visual C++ compilers installed, -# you can choose an alternate compiler with which to build the native -# code. Valid strings here are "vc6", "vc7", "vc8", "vc8_x64", and -# "mingw". -win32.c.compiler=vc6 - -# If you are building the native code for the GlueGen run-time library -# on a Mac OS X system supporting cross-compilation and want to -# generate fat (PPC and x86) binaries, uncomment the property below -# macosxfat=true -# If you are building on a 64-bit Mac OS X system supporting -# cross-compilation and want to generate fat (PPC64 and x86_64) binaries, -# uncomment the property below -# macosx64fat=true diff --git a/make/lib/JOGLDocLinksGeneratorAndLibs.jar b/make/lib/JOGLDocLinksGeneratorAndLibs.jar deleted file mode 100755 index b72764c..0000000 Binary files a/make/lib/JOGLDocLinksGeneratorAndLibs.jar and /dev/null differ diff --git a/make/lib/cdc_fp.jar b/make/lib/cdc_fp.jar deleted file mode 100755 index ada2e3b..0000000 Binary files a/make/lib/cdc_fp.jar and /dev/null differ diff --git a/make/lib/cpptasks-patch.tar.gz b/make/lib/cpptasks-patch.tar.gz deleted file mode 100644 index 22f1cde..0000000 Binary files a/make/lib/cpptasks-patch.tar.gz and /dev/null differ diff --git a/make/lib/cpptasks-version.txt b/make/lib/cpptasks-version.txt deleted file mode 100755 index 2e7dd72..0000000 --- a/make/lib/cpptasks-version.txt +++ /dev/null @@ -1,4 +0,0 @@ -Current cpptasks is from CVS repository at -:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ant-contrib -as of 10/5/2005 with patches applied for Forte C compiler (Bug -1314266) and fat binary generation on Mac OS X (Bug 1313421). diff --git a/make/lib/cpptasks.jar b/make/lib/cpptasks.jar deleted file mode 100755 index 005691c..0000000 Binary files a/make/lib/cpptasks.jar and /dev/null differ diff --git a/make/stub_includes/macosx/dynamic-linker.h b/make/stub_includes/macosx/dynamic-linker.h deleted file mode 100755 index 11afcdc..0000000 --- a/make/stub_includes/macosx/dynamic-linker.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Portions extracted from Mac OS X dlfcn.h */ - -/* - * Copyright (c) 2004-2005 Apple Computer, Inc. All rights reserved. - * - * @APPLE_LICENSE_HEADER_START@ - * - * This file contains Original Code and/or Modifications of Original Code - * as defined in and that are subject to the Apple Public Source License - * Version 2.0 (the 'License'). You may not use this file except in - * compliance with the License. Please obtain a copy of the License at - * http://www.opensource.apple.com/apsl/ and read it before using this - * file. - * - * The Original Code and all software distributed under the License are - * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER - * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, - * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. - * Please see the License for the specific language governing rights and - * limitations under the License. - * - * @APPLE_LICENSE_HEADER_END@ - */ - -/* - Based on the dlcompat work done by: - Jorge Acereda & - Peter O'Gorman -*/ - -extern int dlclose(void * __handle); -extern char * dlerror(void); -extern void * dlopen(const char * __path, int __mode); -extern void * dlsym(void * __handle, const char * __symbol); - -#define RTLD_LAZY 0x1 -#define RTLD_NOW 0x2 -#define RTLD_LOCAL 0x4 -#define RTLD_GLOBAL 0x8 - -/* - * Special handle arguments for dlsym(). - */ -#define RTLD_NEXT -1LL /* Search subsequent objects. */ -#define RTLD_DEFAULT -2LL /* Use default search algorithm. */ diff --git a/make/stub_includes/unix/dynamic-linker.h b/make/stub_includes/unix/dynamic-linker.h deleted file mode 100755 index 7071438..0000000 --- a/make/stub_includes/unix/dynamic-linker.h +++ /dev/null @@ -1,47 +0,0 @@ -/* Portions extracted from Solaris dlfcn.h */ - -/* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - * - * Copyright (c) 1989 AT&T - * All Rights Reserved - * - */ - -/* - * Valid values for handle argument to dlsym(3x). - */ -#define RTLD_NEXT -1LL /* look in `next' dependency */ -#define RTLD_DEFAULT -2LL /* look up symbol from scope */ - /* of current object */ -#define RTLD_SELF -3LL /* look in `ourself' */ -#define RTLD_PROBE -4LL /* look up symbol from scope */ - /* of current object, */ - /* using currently */ - /* loaded objects only. */ - -/* - * Valid values for mode argument to dlopen. - */ -#define RTLD_LAZY 0x00001 /* deferred function binding */ -#define RTLD_NOW 0x00002 /* immediate function binding */ -#define RTLD_NOLOAD 0x00004 /* don't load object */ - -#define RTLD_GLOBAL 0x00100 /* export symbols to others */ -#define RTLD_LOCAL 0x00000 /* symbols are only available */ - /* to group members */ -#define RTLD_PARENT 0x00200 /* add parent (caller) to */ - /* a group dependencies */ -#define RTLD_GROUP 0x00400 /* resolve symbols within */ - /* members of the group */ -#define RTLD_WORLD 0x00800 /* resolve symbols within */ - /* global objects */ -#define RTLD_NODELETE 0x01000 /* do not remove members */ -#define RTLD_FIRST 0x02000 /* only first object is */ - /* available for dlsym */ - -extern void *dlopen(const char *, int); -extern void *dlsym(void *, const char *); -extern int dlclose(void *); -extern char *dlerror(void); diff --git a/make/stub_includes/windows/dynamic-linker.h b/make/stub_includes/windows/dynamic-linker.h deleted file mode 100755 index 1b06902..0000000 --- a/make/stub_includes/windows/dynamic-linker.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Windows #defines and typedefs required for processing of extracts - from WINDOWS.H */ - -#define FAR -#define WINBASEAPI -#define WINAPI -#define CONST const -#define VOID void -typedef int BOOL; -typedef unsigned char BYTE; -typedef unsigned int DWORD; -typedef int INT; -typedef int INT32; -typedef __int64 INT64; -typedef float FLOAT; -typedef struct _handle* HANDLE; -typedef HANDLE HMODULE; -typedef long LONG; -typedef const char* LPCSTR; -typedef const short* LPCWSTR; -typedef void* LPVOID; -typedef struct _proc* PROC; -typedef unsigned int* PUINT; -typedef unsigned int UINT; -typedef unsigned short USHORT; -typedef unsigned short WORD; - -// Dynamic loading routines -WINBASEAPI DWORD WINAPI GetLastError(VOID); -WINBASEAPI HMODULE WINAPI LoadLibraryW(LPCWSTR lpLibFileName); -WINBASEAPI PROC WINAPI GetProcAddressA(HMODULE hModule, LPCSTR lpProcName); -WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE hLibModule); diff --git a/make/validate-properties.xml b/make/validate-properties.xml deleted file mode 100755 index 195fb2a..0000000 --- a/make/validate-properties.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - ******************************************************************** - ** The property "antlr.jar" was not set in the GlueGen properties ** - ** file ** - ** "${user.properties.file}" ** - ** (or this file was not found). ** - ** ** - ** Please set "antlr.jar" to to the full path of the ANTLR jar ** - ** including the jar itself. ** - ******************************************************************** - - - - - - - - ******************************************************************* - ** Your CLASSPATH environment variable appears to be set (some ** - ** GlueGen classes are currently visible to the build.) This can ** - ** cause the build to fail. Please unset your CLASSPATH ** - ** variable and restart the build. ** - ******************************************************************* - - - - - - - - -- cgit v1.2.3