root/juggler/tags/1.0.5/GUI/Makefile.in

Revision 7539, 4.2 kB (checked in by anonymous, 7 years ago)

This commit was manufactured by cvs2svn to create tag
'RELENG_1_0_5_RELEASE'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
2 #
3 # VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University
4 #
5 # Original Authors:
6 #   Allen Bierbaum, Christopher Just,
7 #   Patrick Hartling, Kevin Meinert,
8 #   Carolina Cruz-Neira, Albert Baker
9 #
10 # This library is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU Library General Public
12 # License as published by the Free Software Foundation; either
13 # version 2 of the License, or (at your option) any later version.
14 #
15 # This library is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 # Library General Public License for more details.
19 #
20 # You should have received a copy of the GNU Library General Public
21 # License along with this library; if not, write to the
22 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
24 #
25 # -----------------------------------------------------------------
26 # File:          $RCSfile$
27 # Date modified: $Date$
28 # Version:       $Revision$
29 # -----------------------------------------------------------------
30 #
31 # *************** <auto-copyright.pl END do not edit this line> ***************
32
33 # -----------------------------------------------------------------------------
34 # Makefile.in for juggler/GUI.  It requires GNU make.
35 #
36 # Generated for use on @PLATFORM@
37 # -----------------------------------------------------------------------------
38
39 default: VjControl.jar
40
41 srcdir  = @srcdir@
42
43 # JDK-related variables.  ${JAVAC_CMD} is the compile line for javac when
44 # building .java files.
45 JDK_HOME        = @JDK_HOME@
46 GUI_CLASSPATH   = ${srcdir}:${JDK_HOME}/lib/classes.zip
47 JAR             = @JAR@
48 JAVAC           = @JAVAC@
49
50 JAVAC_CMD       = ${JAVAC} -d .
51
52 # Prevent anything in this file from being built in parallel.
53 MAKEFLAGS       += -j 1
54
55 # Include common definitions.
56 include @topdir@/Makefile.base
57
58 # Include the .mk files for VjConfig and VjGUI so that the Java code in those
59 # directories can be built using this Makefile.
60 include ${srcdir}/VjConfig/VjConfig.mk
61 include ${srcdir}/VjPerf/VjPerf.mk
62 include ${srcdir}/VjGUI/VjGUI.mk
63 include ${srcdir}/VjGUI/chunkdesc/chunkdesc.mk
64 include ${srcdir}/VjGUI/configchunk/configchunk.mk
65 include ${srcdir}/VjGUI/util/util.mk
66
67 # Search path information.
68 vpath
69 vpath %.java @srcdir@ @srcdir@/VjConfig @srcdir@/VjPerf @srcdir@/VjGUI @srcdir@/VjGUI/chunkdesc @srcdir@/VjGUI/configchunk @srcdir@/VjGUI/util
70 vpath %.class VjConfig VjPerf VjGUI VjGUI/chunkdesc VjGUI/configchunk VjGUI/util
71
72 # -----------------------------------------------------------------------------
73 # Library targets.
74 # -----------------------------------------------------------------------------
75 all: VjControl.jar
76
77 # there's no way to append to a jar file, so this must all be done in one
78 # step.  This is incredibly stupid...
79 VjControl.jar: ${VJGUI_SOURCES} ${VJCONFIG_SOURCES} ${VJPERF_SOURCES}   \
80                ${VJGUICHUNKDESC_SOURCES}        \
81                ${VJGUICONFIGCHUNK_SOURCES} ${VJGUIUTIL_SOURCES} VjFiles
82         ${JAVAC_CMD} ${srcdir}/*/*.java ${srcdir}/*/*/*.java
83         ${JAR} cvf VjControl.jar VjGUI/*.class VjGUI/chunkdesc/*.class  \
84             VjGUI/configchunk/*.class VjGUI/util/*.class                \
85             VjConfig/*.class VjPerf/*.class VjFiles
86
87 VjFiles:
88         ${PERL} ${scriptdir}/install-dir.pl -i ${srcdir}/VjFiles        \
89             -o ${topdir}/GUI/VjFiles
90
91 # -----------------------------------------------------------------------------
92 # Clean-up.
93 # -----------------------------------------------------------------------------
94 CLEAN_FILES     += VjConfig/*.class VjConfig/*~                         \
95                    VjPerf/*.class VjPerf/*~                             \
96                    VjGUI/*.class VjGUI/*~                               \
97                    VjGUI/chunkdesc/*.class VjGUI/chunkdesc/*~           \
98                    VjGUI/configchunk/*.class VjGUI/configchunk/*~       \
99                    VjGUI/util/*.class VjGUI/util/*~
100
101 # Append VjFiles to ${CLEAN_DIRS} only if ${srcdir} is not the current
102 # directory.  If ${srcdir} is the current directory, removing VjFiles would
103 # blow away the VjFiles directory in the source tree.
104 ifneq (${srcdir}, .)
105     CLEAN_DIRS  += VjFiles
106 endif
107
108 clobber:
109         ${MAKE} clean
110         rm VjControl.jar
Note: See TracBrowser for help on using the browser.