root/juggler/branches/2.2/modules/vrjuggler/plugins/Makefile.in

Revision 20220, 10.6 kB (checked in by patrick, 2 years ago)

MFT r20219: Disable building profiled libraries. Right now, Flagpoll does not

quite support what we need in order to be able to build profiled
libraries, and until that is resolved, there is no easy way for
the profiled build to be fixed.

  • 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-2007 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 # *************** <auto-copyright.pl END do not edit this line> ***************
26
27 # -----------------------------------------------------------------------------
28 # Base Makefile.in for the VR Juggler plug-ins.  It requires GNU make.
29 #
30 # Generated for use on @PLATFORM@
31 # -----------------------------------------------------------------------------
32 # Targets are:
33 #
34 # world           - Build and install everything.
35 # world-all-abi   - Build and install everything using all supported ABIs.
36 # buildworld      - Build everything (same as 'all').
37 # installworld    - Install everything (same as 'install-all').  This requires
38 #                   that 'buildworld' be successfully completed beforehand.
39 # release         - Build and install a release version.
40 #
41 # all             - Build everything.
42 # all-abi         - Build everything using all supported ABIs.
43 # debug           - Build the VR Juggler plug-ins with debugging symbols
44 #                   turned on.
45 # ddso            - Build the debugging, dynamic shared object version of the
46 #                   libraries.
47 # optim           - Build the VR Juggler plug-ins with optimization flags
48 #                   enabled.
49 # dso             - Build the dynamic shared object version of the libraries.
50 # obj             - Build the object files using the default value for
51 #                   $(OBJDIR).
52 #
53 # links           - Define links (for developer use only) that provide
54 #                   functionality allowing the use of the $TWEEK_BASE_DIR
55 #                   environment variable.
56 # clean-links     - Remove the symlinks created by 'links'.
57 #
58 # hier            - Make the full directory hierarchy for the installation.
59 # install-all     - Install all versions of the libraries, all header files,
60 #                   and the test code.
61 # install-all-abi - Install every ABI possible on the target platform.
62 # install         - Install the full debugging version of VR Juggler plug-ins.
63 # install-debug   - Same as 'install'.
64 # install-dbg     - Install the debugging, static version of the libraries.
65 # install-ddso    - Install the debugging, dynamic shared object version of
66 #                   the libraries.
67 # install-optim   - Install the full optimized version of VR Juggler plug-ins.
68 # install-opt     - Install the optimized, static version of the libraries.
69 # install-dso     - Install the dynamic shared object version of the libraries.
70 # install-headers - Install only the header files.
71 # install-test    - Install only the test code.
72 #
73 # docs            - Build the internal and the public documentation.
74 # doc-internal    - Build only the internal documentation.
75 # doc-public      - Build only the public documentation.
76 #
77 # clean           - Clean up everything (uses common 'clean' target).
78 # cleandepend     - Clean up the dependency files (uses common 'cleandepend'
79 #                   target).
80 # clobber         - Clean up everything and remove the directories containing
81 #                   the compiled libraries and its object files.
82 #
83 # info            - Print out information about the build process that may be
84 #                   useful to the user.
85 #
86 # The default target is 'debug'.  'install' will install the debugging, static
87 # version of the libraries.
88 # -----------------------------------------------------------------------------
89
90 default: debug
91
92 # This is a hack to deal with GNU make's ignorance about defined targets.
93 # Without this, the 'default' set in dpp.subdir.mk becomes the default
94 # target, and that's not what we want.
95 DEFAULT_SET=    1
96
97 # Include common definitions.
98 include @topdir@/make.defs.mk
99
100 STARTTIME:=     $(shell LC_TIME=C date)
101
102 BUILD_PROF_C=   N
103 BUILD_PROF_CXX= N
104
105 # If we can build both C and C++ profiled objects, we will build profiled
106 # libraries.
107 #ifeq ($(BUILD_PROF_C), Y)
108 #ifeq ($(BUILD_PROF_CXX), Y)
109 #   BUILD_PROF_LIBS=    1
110 #endif
111 #endif
112
113 # =============================================================================
114 # Lists used for various types of recursion.
115 # =============================================================================
116
117 # Subdirectories used for recursion through the source tree.
118 SUBDIR= corba_perf_mon
119
120 # =============================================================================
121 # Library targets.  The default is 'debug' as defined above.
122 # =============================================================================
123
124 # ------------------------------------------------
125 # Build and install everything (i.e., the world).
126 # ------------------------------------------------
127 world:
128         @echo "==============================================================="
129         @echo ">>> VR Juggler plug-in make world started $(STARTTIME)"
130         @echo "==============================================================="
131 ifndef NO_CLEAN
132         @$(MAKE) clobber
133 endif
134         @$(MAKE) $(BEFOREBUILD)
135         @$(MAKE) libs
136         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
137         @echo "---------------------------------------------------------------"
138         @echo "Beginning VR Juggler plug-in installation process"
139         @echo "---------------------------------------------------------------"
140         @$(MAKE) beforeinstall
141         @$(MAKE) install-libs
142         @$(MAKE) do-post-install
143         @echo "==============================================================="
144         @echo ">>> VR Juggler plug-in make world started $(STARTTIME)"
145         @echo ">>> VR Juggler plug-in make world completed `LTIME=C date`"
146         @echo "==============================================================="
147
148 # ------------------------------------------------------------------------
149 # Build and install everything (i.e., the world) using all possible ABIs.
150 # ------------------------------------------------------------------------
151 world-all-abi:
152         @echo "==============================================================="
153         @echo ">>> VR Juggler plug-in make world started on $(STARTTIME)"
154         @echo "==============================================================="
155 ifndef NO_CLEAN
156         @$(MAKE) clobber
157 endif
158         @$(MAKE) $(BEFOREBUILD)
159         @for abi in $(ABI_LIST) ; do                                    \
160             echo "------------------------------------------------" ;   \
161             echo "Building plug-ins using $$abi" ;                      \
162             echo "------------------------------------------------" ;   \
163             $(MAKE) pluginABI=$$abi libs ;                              \
164           done
165         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
166         @echo "---------------------------------------------------------------"
167         @echo "Beginning VR Juggler plug-in installation process"
168         @echo "---------------------------------------------------------------"
169         @$(MAKE) beforeinstall
170         @for abi in $(ABI_LIST) ; do                                    \
171             echo "------------------------------------------------" ;   \
172             echo "Installing $$abi version of plug-ins" ;               \
173             echo "------------------------------------------------" ;   \
174             $(MAKE) pluginABI=$$abi install-libs ;                      \
175           done
176         @$(MAKE) do-post-install
177         @echo "==============================================================="
178         @echo ">>> VR Juggler plug-in make world started on $(STARTTIME)"
179         @echo ">>> VR Juggler plug-in make world completed on `LTIME=C date`"
180         @echo "==============================================================="
181
182 # -----------------------------------------------------------------------------
183 # A release is a superset of 'world' except that no profiled libraries are
184 # built.  Beyond this, the change log, release notes, etc. are installed.
185 # A special case is required for releases made in the "global" build.  Namely,
186 # the developer installation ("instlinks") must be created so that subsequent
187 # targets can find headers properly.
188 # -----------------------------------------------------------------------------
189 release:
190         @echo "==============================================================="
191         @echo ">>> VR Juggler plug-in make release started on $(STARTTIME)"
192         @echo "==============================================================="
193 ifndef NO_CLEAN
194         @$(MAKE) clobber
195 endif
196         @$(MAKE) $(BEFOREBUILD)
197         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N libs
198         @$(MAKE) BUILD_TYPE=opt $(AFTERBUILD)
199         @echo "---------------------------------------------------------------"
200         @echo "Beginning VR Juggler plug-in release installation process"
201         @echo "---------------------------------------------------------------"
202         @$(MAKE) beforeinstall
203         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N install-libs
204         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N do-post-install
205         @echo "Build time: `LTIME=C date`" > $(projdatadir)/BUILD_TIME
206         @echo "==============================================================="
207         @echo ">>> VR Juggler plug-in make release started on $(STARTTIME)"
208         @echo ">>> VR Juggler plug-in make release completed on `LTIME=C date`"
209         @echo "==============================================================="
210
211 # -------------------------------------
212 # Build all versions of the libraries.
213 # -------------------------------------
214 buildworld: all
215
216 # ------------------------------------------------------------------------
217 # Do a full installation all versions of the libraries and the associated
218 # files.
219 # ------------------------------------------------------------------------
220 installworld: install-all
221
222 # =============================================================================
223 # Human-readable information about the build system.
224 # =============================================================================
225 info:
226         @echo "\nInfo for the make of VR Juggler plug-ins"
227         @echo "\nOBJDIR: $(OBJDIR)"
228         @echo "VRJugglerROOT_ABS: $(VRJugglerROOT_ABS)"
229         @echo "Default ABI: $(ABI)"
230         @echo "Default instruction set architecture: $(ISA)"
231         @echo "ABI list: $(ABI_LIST)"
232         @echo "DBG_BUILDDIR: $(DBG_BUILDDIR)"
233         @echo "OPT_BUILDDIR: $(OPT_BUILDDIR)"
234         @echo "Installation prefix: $(prefix)"
235         @echo "includedir: $(includedir)"
236         @echo "libdir: $(libdir)"
237         @$(SHELL) $(scriptdir)/print-targets.sh
238
239 include $(MKPATH)/dpp.subdir.mk
240 include Makefile.inc
Note: See TracBrowser for help on using the browser.