root/juggler/branches/2.2/modules/vapor/Makefile.in

Revision 20220, 12.4 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 # ***************** <VPR heading BEGIN do not edit this line> *****************
2 #
3 # VR Juggler Portable Runtime
4 #
5 # Original Authors:
6 #   Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira
7 #
8 # ****************** <VPR heading END do not edit this line> ******************
9
10 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
11 #
12 # VR Juggler is (C) Copyright 1998-2007 by Iowa State University
13 #
14 # Original Authors:
15 #   Allen Bierbaum, Christopher Just,
16 #   Patrick Hartling, Kevin Meinert,
17 #   Carolina Cruz-Neira, Albert Baker
18 #
19 # This library is free software; you can redistribute it and/or
20 # modify it under the terms of the GNU Library General Public
21 # License as published by the Free Software Foundation; either
22 # version 2 of the License, or (at your option) any later version.
23 #
24 # This library is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
27 # Library General Public License for more details.
28 #
29 # You should have received a copy of the GNU Library General Public
30 # License along with this library; if not, write to the
31 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
32 # Boston, MA 02111-1307, USA.
33 #
34 # *************** <auto-copyright.pl END do not edit this line> ***************
35
36 # -----------------------------------------------------------------------------
37 # Base Makefile.in for VR Juggler Portable Runtime.  It requires GNU make.
38 #
39 # Generated for use on @PLATFORM@
40 # -----------------------------------------------------------------------------
41 # __DZR_INFO_BEGIN__
42 #
43 # Targets are:
44 #
45 # T<world>           Build and install everything.
46 # T<world-all-abi>   Build and install everything using all supported ABIs.
47 # T<buildworld>      Build everything (same as 'all').
48 # T<installworld>    Install everything (same as 'install-all').  This requires
49 #                    that 'buildworld' be successfully completed beforehand.
50 # T<release>         Build and install a release version.
51 #
52 # T<all>             Build everything.
53 # T<all-abi>         Build everything using all supported ABIs.
54 # T<debug>           Build the VPR libraries (dynamic and static) with
55 #                    debugging symbols turned on.
56 # T<dbg>             Build the debugging, static copy of the libraries.
57 # T<dbg-dso>         Build the debugging, dynamic shared object version of the
58 #                    libraries.
59 # T<optim>           Build the VPR libraries (dynamic and static) with
60 #                    optimization flags enabled.
61 # T<opt>             Build the optimized, static version of the libraries.
62 # T<opt-dso>         Build the optimized, dynamic shared object version of the
63 #                    libraries.
64 # T<profiled>        Build the VPR libraries (dynamic and static) with
65 #                    profiling flags enabled.
66 # T<prof>            Build the profiled, static version of the libraries.
67 # T<prof-dso>        Build the profiled, dynamic shared object version of the
68 #                    libraries.
69 # T<obj>             Build the object files using the default value for
70 #                    $(OBJDIR).
71 #
72 # T<links>           Define links (for developer use only) that provide
73 #                    functionality allowing the use of the $VPR_BASE_DIR
74 #                    environment variable.
75 # T<clean-links>     Remove the symlinks created by 'links'.
76 #
77 # T<hier>            Make the full directory hierarchy for the installation.
78 # T<install-all>     Install all versions of the libraries, all header files,
79 #                    and the test code.
80 # T<install-all-abi> Install every ABI possible on the target platform.
81 # T<install>         Install the full debugging version of VPR (with both
82 #                    static and dynamic libraries).
83 # T<install-debug>   Same as 'install'.
84 # T<install-dbg>     Install the debugging, static version of the libraries.
85 # T<install-ddso>    Install the debugging, dynamic shared object version of
86 #                    the libraries.
87 # T<install-optim>   Install the full optimized version of VPR (with both
88 #                    static and dynamic libraries).
89 # T<install-opt>     Install the optimized, static version of the libraries.
90 # T<install-dso>     Install the dynamic shared object version of the
91 #                    libraries.
92 # T<install-headers> Install only the header files.
93 # T<install-test>    Install only the test code.
94 #
95 # T<docs>            Build the internal and the public documentation.
96 # T<doc-internal>    Build only the internal documentation.
97 # T<doc-public>      Build only the public documentation.
98 #
99 # T<clean>           Clean up everything (uses common 'clean' target).
100 # T<cleandepend>     Clean up the dependency files (uses common 'cleandepend'
101 #                    target).
102 # T<clobber>         Clean up everything and remove the directories containing
103 #                    the compiled libraries and its object files.
104 #
105 # T<info>            Print out information about the build process that may be
106 #                    useful to the user.
107 #
108 # __DZR_INFO_END__
109 #
110 # The default target is 'debug'.  'install' will install the debugging, static
111 # version of the libraries.
112 # -----------------------------------------------------------------------------
113
114 default: debug
115
116 # This is a hack to deal with GNU make's ignorance about defined targets.
117 # Without this, the 'default' set in dpp.subdir.mk becomes the default
118 # target, and that's not what we want.
119 DEFAULT_SET=    1
120
121 SRC_MKFILES=    Makefile
122
123 # Include common definitions.
124 include @topdir@/make.defs.mk
125
126 STARTTIME:=     $(shell LC_TIME=C date)
127
128 BUILD_PROF_C=   @BUILD_PROF_C@
129 BUILD_PROF_CXX= @BUILD_PROF_CXX@
130
131 # If we can build both C and C++ profiled objects, we will build profiled
132 # libraries.
133 #ifeq ($(BUILD_PROF_C), Y)
134 #ifeq ($(BUILD_PROF_CXX), Y)
135 #   BUILD_PROF_LIBS=    1
136 #endif
137 #endif
138
139 # =============================================================================
140 # Lists used for various types of recursion.
141 # =============================================================================
142
143 # Subdirectories used for recursion through the source tree.
144 SUBDIR=         vpr
145
146 # =============================================================================
147 # Library targets.  The default is 'debug' as defined above.  The steps for
148 # building the 'dbg', 'ddso', 'opt' and 'dso' are as follows:
149 #
150 #    1) Build dependencies (if necessary).
151 #    2) Compile all object files that are out of date.
152 #    3) Compile the actual libraries from the object files.
153 #    4) Build the Java-based config editor (if necessary).
154 #    5) Set up the developer installation links.
155 # =============================================================================
156
157 # ------------------------------------------------
158 # Build and install everything (i.e., the world).
159 # ------------------------------------------------
160 world:
161         @echo "==============================================================="
162         @echo ">>> VPR make world started $(STARTTIME)"
163         @echo "==============================================================="
164 ifndef NO_CLEAN
165         @$(MAKE) clobber
166 endif
167         @$(MAKE) $(BEFOREBUILD)
168         @$(MAKE) libs
169         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
170         @echo "---------------------------------------------------------------"
171         @echo "Beginning VPR installation process"
172         @echo "---------------------------------------------------------------"
173         @$(MAKE) beforeinstall
174         @$(MAKE) install-libs
175         @$(MAKE) do-post-install
176         @echo "==============================================================="
177         @echo ">>> VPR make world started $(STARTTIME)"
178         @echo ">>> VPR make world completed `LTIME=C date`"
179         @echo "==============================================================="
180
181 # ------------------------------------------------------------------------
182 # Build and install everything (i.e., the world) using all possible ABIs.
183 # ------------------------------------------------------------------------
184 world-all-abi:
185         @echo "==============================================================="
186         @echo ">>> VPR make world started on $(STARTTIME)"
187         @echo "==============================================================="
188 ifndef NO_CLEAN
189         @$(MAKE) clobber
190 endif
191         @$(MAKE) $(BEFOREBUILD)
192         @for abi in $(ABI_LIST) ; do                                    \
193             echo "------------------------------------------------" ;   \
194             echo "Building libraries using $$abi" ;                     \
195             echo "------------------------------------------------" ;   \
196             $(MAKE) vprABI=$$abi libs ;                                 \
197           done
198         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
199         @echo "---------------------------------------------------------------"
200         @echo "Beginning VPR installation process"
201         @echo "---------------------------------------------------------------"
202         @$(MAKE) beforeinstall
203         @for abi in $(ABI_LIST) ; do                                    \
204             echo "------------------------------------------------" ;   \
205             echo "Installing $$abi version of libraries" ;              \
206             echo "------------------------------------------------" ;   \
207             $(MAKE) vprABI=$$abi install-libs ;                         \
208           done
209         @$(MAKE) do-post-install
210         @echo "==============================================================="
211         @echo ">>> VPR make world started on $(STARTTIME)"
212         @echo ">>> VPR make world completed on `LTIME=C date`"
213         @echo "==============================================================="
214
215 # -------------------------------------------------------------
216 # Build and install everything (i.e., the world) for a release.
217 # -------------------------------------------------------------
218 .PHONY: release
219
220 # -----------------------------------------------------------------------------
221 # A release is a superset of 'world' except that no profiled libraries are
222 # built.  Beyond this, the change log, release notes, etc. are installed.
223 # A special case is required for releases made in the "global" build.  Namely,
224 # the developer installation ("instlinks") must be created so that subsequent
225 # targets can find headers properly.
226 # -----------------------------------------------------------------------------
227 release:
228         @echo "==============================================================="
229         @echo ">>> VPR make release started on $(STARTTIME)"
230         @echo "==============================================================="
231 ifndef NO_CLEAN
232         @$(MAKE) clobber
233 endif
234         @$(MAKE) $(BEFOREBUILD)
235         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N libs
236         @$(MAKE) BUILD_TYPE=opt $(AFTERBUILD)
237         @echo "---------------------------------------------------------------"
238         @echo "Beginning VPR release installation process"
239         @echo "---------------------------------------------------------------"
240         @$(MAKE) beforeinstall
241         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N install-libs
242         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N do-post-install
243         $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)                   \
244           $(EXTRA_INSTALL_ARGS) $(VPRROOT_ABS)/ChangeLog $(projdatadir)
245         $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)                   \
246           $(EXTRA_INSTALL_ARGS) $(JUGGLERROOT_ABS)/COPYING.txt $(projdatadir)
247         $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)                   \
248           $(EXTRA_INSTALL_ARGS) $(VPRROOT_ABS)/INSTALL.txt $(projdatadir)
249         $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)                   \
250           $(EXTRA_INSTALL_ARGS) $(VPRROOT_ABS)/README.txt $(projdatadir)
251         $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)                   \
252           $(EXTRA_INSTALL_ARGS) $(VPRROOT_ABS)/RELEASE_NOTES.txt $(projdatadir)
253         @echo "Build time: `LTIME=C date`" > $(projdatadir)/BUILD_TIME
254         @echo "==============================================================="
255         @echo ">>> VPR make release started on $(STARTTIME)"
256         @echo ">>> VPR make release completed on `LTIME=C date`"
257         @echo "==============================================================="
258
259 # -------------------------------------
260 # Build all versions of the libraries.
261 # -------------------------------------
262 buildworld: all
263
264 # ------------------------------------------------------------------------
265 # Do a full installation all versions of the libraries and the associated
266 # files.
267 # ------------------------------------------------------------------------
268 installworld: install-all
269
270 .PHONY: test
271
272 PROCS=  1
273
274 test:
275         $(MAKE) -C test/TestSuite -j $(PROCS) runner
276         test/TestSuite/runner noninteractive
277
278 # =============================================================================
279 # Automatically generated documentation.
280 # =============================================================================
281 docs: doc-internal doc-public
282
283 doc-internal:
284         $(MAKE) -C Doc SUBDIRS="$(SUBDIRS)" $@
285
286 doc-public:
287         $(MAKE) -C Doc SUBDIRS="$(SUBDIRS)" $@
288
289 include $(MKPATH)/dpp.info.mk
290 include $(MKPATH)/dpp.subdir.mk
291 include Makefile.inc
Note: See TracBrowser for help on using the browser.