root/juggler/branches/1.0/GUI/Makefile.in

Revision 8789, 4.2 kB (checked in by patrickh, 7 years ago)

Copyright update.

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