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

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