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

Revision 7539, 4.6 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/Kernel.  It requires GNU make.
35 #
36 # Generated for use on @PLATFORM@
37 # -----------------------------------------------------------------------------
38
39 default: all
40
41 # Define ${_LOCAL_CLEAN} and ${_LOCAL_CLEANDEP} to inform the shared 'clean'
42 # target and shared 'cleandepend' target that there are local '_clean' and
43 # '_cleandepend' targets to be run besides the standard targets.
44 _LOCAL_CLEAN    = 1
45 _LOCAL_CLEANDEP = 1
46
47 # Include common definitions.
48 include @topdir@/Makefile.base
49
50 includedir      = @includedir@/Kernel
51 srcdir          = @srcdir@
52 top_srcdir      = @top_srcdir@
53 INSTALL         = @INSTALL@
54 VJROOT          = ${top_srcdir}
55 VJ_SRCDIR       = @VJ_SRCDIR@/Kernel
56 WORKDIR         = ${topdir}/Kernel
57
58 # Add 'install-recursive' to ${INSTALL_DEPS} so installations will be
59 # completed.  This has to be done before including <vj.install.mk>
60 # unfortunately.
61 INSTALL_DEPS    += install-recursive
62
63 # Prefix for recursive stuff.
64 DIRPRFX         = Kernel/
65 SUBDIRS         = OSG
66
67 # Subdirectories to compile.
68 ifeq (@OPENGL_API@, Y)
69     SUBDIRS     += GL
70 endif
71
72 ifeq (@PERFORMER_API@, Y)
73     SUBDIRS     += Pf
74 endif
75
76 # Search path for source code and object files.
77 vpath
78 vpath %.c @srcdir@
79 vpath %.cpp @srcdir@
80 vpath %.${OBJ_FILE_SUFFIX} ${OBJDIR}
81
82 KERNEL_SRCS     := vjAPI.cpp                    \
83                    vjApp.cpp                    \
84                    vjConfigManager.cpp          \
85                    vjConfigChunkHandler.cpp     \
86                    vjDebug.cpp                  \
87                    vjDependencyManager.cpp      \
88                    vjDisplay.cpp                \
89                    vjDisplayManager.cpp         \
90                    vjDrawManager.cpp            \
91                    vjFrustum.cpp                \
92                    vjKernel.cpp                 \
93                    vjProjection.cpp             \
94                    vjStreamLock.cpp             \
95                    vjTrackedWallProjection.cpp  \
96                    vjUser.cpp                   \
97                    vjWallProjection.cpp
98
99 ifeq (@OS_TYPE@, Win32)
100     KERNEL_SRCS += vjWin32SystemFactory.cpp
101 else
102     KERNEL_SRCS += vjSGISystemFactory.cpp
103 endif
104
105 KERNEL_OBJECTS  := ${addprefix ${OBJDIR}/,${KERNEL_SRCS:.cpp=.${OBJ_FILE_SUFFIX}}}
106 DEPEND_FILES    := ${KERNEL_SRCS:.cpp=.d}
107
108 # Include source building, recursive, dependency and installation targets.
109 include ${MKPATH}/vj.compile.mk
110 include ${MKPATH}/vj.rec.mk
111 include ${MKPATH}/vj.dep.mk
112 include ${MKPATH}/vj.install.mk
113
114 # -----------------------------------------------------------------------------
115 # Library targets.
116 # -----------------------------------------------------------------------------
117 all dbg opt dso ddso obj: ${KERNEL_OBJECTS}
118         @${MAKE} RECTARGET="$@" OPTIMIZER="${OPTIMIZER}"        \
119             BASE_OBJDIR="${BASE_OBJDIR}" recursive
120
121 install-recursive:
122         @target=`echo $@ | sed s/-recursive//` ;                \
123             ${MAKE} RECTARGET="$$target" recursive
124
125 # -----------------------------------------------------------------------------
126 # Clean-up.
127 # -----------------------------------------------------------------------------
128 CLEAN_FILES     += ${KERNEL_OBJECTS}
129
130 _clean:
131         @${MAKE} RECTARGET="clean" recursive
132
133 _cleandepend:
134         @${MAKE} DO_CLEANDEPEND=1 RECTARGET="cleandepend" recursive
135
136 # -----------------------------------------------------------------------------
137 # Include dependencies generated by make automatically.
138 # -----------------------------------------------------------------------------
139 ifndef DO_CLEANDEPEND
140     -include ${DEPEND_FILES}
141 endif
Note: See TracBrowser for help on using the browser.