aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2000-11-18 13:02:12 +0000
committerSven Gothel <[email protected]>2000-11-18 13:02:12 +0000
commitfabcdf910e5f7d0189f6c55162afdd0955fd79d5 (patch)
tree557640d68540fe6fd6047902a1923ed52c00481a /makefile
parent95d86e79bb033aa3acca622d17cf0e43efc727c2 (diff)
Diffstat (limited to 'makefile')
-rw-r--r--makefile31
1 files changed, 25 insertions, 6 deletions
diff --git a/makefile b/makefile
index 494cfc5..00867c1 100644
--- a/makefile
+++ b/makefile
@@ -419,7 +419,7 @@ mac : cleanup gljni \
$(CNATIVEDIR)/winstuff.h
-w32 : cleanup gljni \
+w32 : cleanupw32 gljni \
$(FILES_w32.class) \
$(FILES_msw32.class) \
$(FILES.class) \
@@ -626,9 +626,28 @@ $(CNATIVEDIR)/GLUCallbackJNI.o: $(CNATIVEDIR)/jnitools.h \
#
######################################################################
-cleanup:
+cleanup: $(CHEADERDIR) archive binpkg
rm -f errors
+cleanupw32: cleanup Win32VC6/libs Win32VC6/temp
+
+
+Win32VC6/libs:
+ mkdir -p Win32VC6/libs
+
+Win32VC6/temp:
+ mkdir -p Win32VC6/temp
+
+archive:
+ mkdir archive
+
+binpkg:
+ mkdir binpkg
+
+
+$(CHEADERDIR):
+ mkdir $(CHEADERDIR)
+
# clean out the *.o files and machine generated files from javah
cleannative:
rm -f `find . -name \*~ -o -name \*.swp -o -name \*.bak -o -name \*.obj -o -name \*.o` \
@@ -644,7 +663,7 @@ cleannative:
# clean out the *.o files and machine generated files from javah
clean: cleannative
- rm -f CClassHeaders/* errors gl4java/*~ CNativeCode/*~ \
+ rm -f $(CHEADERDIR)/* errors gl4java/*~ CNativeCode/*~ \
$(FILE.gen1.h) $(FILE.gen2.h) \
$(FILE.gen3.h) $(FILE.gen4.h) $(FILE.gen5.h) \
gl4java/GLContext.java
@@ -827,15 +846,15 @@ archivsrc: archivclean
GL4Java/*.txt GL4Java/symbols.mak.* GL4Java/makefile \
GL4Java/capsapi_classes.zip \
GL4Java/*.html GL4Java/C2J \
- GL4Java/CClassHeaders GL4Java/CNativeCode GL4Java/gl4java \
+ GL4Java/$(CHEADERDIR) GL4Java/CNativeCode GL4Java/gl4java \
GL4Java/Win32VC6 \
GL4Java/MacOS9PPC/MacOS9PPC \
GL4Java/MacOS9PPC/java11X \
GL4Java/docs-src GL4Java/mklibs \
GL4Java/Installer/*.java GL4Java/Installer/*.skel \
GL4Java/Installer/*.sh GL4Java/Installer/*.bat \
- GL4Java/Installer/*.txt GL4Java/Installer/*.html \
- GL4Java/Installer/*.crt
+ GL4Java/Installer/*.txt GL4Java/Installer/*.html
+
cd archive; \
$(GZIP) -9 GL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-src.tar