root/juggler/branches/2.2/modules/gadgeteer/drivers/Makefile.in

Revision 20220, 12.2 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 Gadgeteer.  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
38 #                     requires  that 'buildworld' be successfully completed
39 #                     beforehand.
40 # release           - Build and install a release version.
41 #
42 # all               - Build everything.
43 # all-abi           - Build everything using all supported ABIs.
44 # debug             - Build the Gadgeteer libraries (dynamic and static) with
45 #                     debugging symbols turned on.
46 # dbg               - Build the debugging, static copy of the libraries.
47 # dbg-dso           - Build the debugging, dynamic shared object version of
48 #                     the libraries.
49 # optim             - Build the Gadgeteer libraries (dynamic and static) with
50 #                     optimization flags enabled.
51 # opt               - Build the optimized, static version of the libraries.
52 # opt-dso           - Build the dynamic shared object version of the
53 #                     libraries.
54 # profiled          - Build the Gadgeteer libraries (dynamic and static) with
55 #                     profiling flags enabled.
56 # prof              - Build the profiled, static version of the libraries.
57 # prof-dso          - Build the profiled, dynamic shared object version of the
58 #                     libraries.
59 # obj               - Build the object files using the default value for
60 #                     $(OBJDIR).
61 #
62 # links             - Define links (for developer use only) that provide
63 #                     functionality allowing the use of the $GADGET_BASE_DIR
64 #                     environment variable.
65 # clean-links       - Remove the symlinks created by 'links'.
66 #
67 # hier              - Make the full directory hierarchy for the installation.
68 # install-all       - Install all versions of the libraries, all header files,
69 #                     the Data directory, and the test code.
70 # install-all-abi   - Install every ABI possible on the target platform.
71 # install           - Install the full debugging version of Gadgeteer (with
72 #                     both static and dynamic libraries).
73 # install-debug     - Same as 'install'.
74 # install-dbg       - Install the debugging, static version of the libraries.
75 # install-dbg-dso   - Install the debugging, dynamic shared object version of
76 #                     the libraries.
77 # install-optim     - Install the full optimized version of Gadgeteer (with
78 #                     both static and dynamic libraries).
79 # install-opt       - Install the optimized, static version of the libraries.
80 # install-opt-dso   - Install the dynamic shared object version of the
81 #                     libraries.
82 # install-headers   - Install only the header files.
83 # install-test      - Install only the test code.
84 # install-data      - Install only the Data directory.
85 #
86 # docs              - Build the internal and the public documentation.
87 # doc-internal      - Build only the internal documentation.
88 # doc-public        - Build only the public documentation.
89 #
90 # clean             - Clean up everything (uses common 'clean' target).
91 # cleandepend       - Clean up the dependency files (uses common 'cleandepend'
92 #                     target).
93 # clobber           - Clean up everything and remove the directories
94 #                     containing the compiled libraries and its object files.
95 #
96 # info              - Print out information about the build process that may
97 #                     be useful to the user.
98 #
99 # The default target is 'debug'.  'install' will install the debugging, static
100 # version of the libraries.
101 # -----------------------------------------------------------------------------
102
103 default: debug
104
105 # This is a hack to deal with GNU make's ignorance about defined targets.
106 # Without this, the 'default' set in dpp.subdir.mk becomes the default
107 # target, and that's not what we want.
108 DEFAULT_SET=    1
109
110 # Include common definitions.
111 include @topdir@/make.defs.mk
112
113 STARTTIME:=     $(shell LC_TIME=C date)
114
115 BUILD_PROF_C=   N
116 BUILD_PROF_CXX= N
117
118 # If we can build both C and C++ profiled objects, we will build profiled
119 # libraries.
120 #ifeq ($(BUILD_PROF_C), Y)
121 #ifeq ($(BUILD_PROF_CXX), Y)
122 #   BUILD_PROF_LIBS=    1
123 #endif
124 #endif
125
126 # =============================================================================
127 # Lists used for various types of recursion.
128 # =============================================================================
129
130 # Subdirectories used for recursion through the source tree.
131 SUBDIR= 3Dconnexion/SpaceBall           \
132         5DT/DataGlove                   \
133         ART/DTrack                      \
134         Ascension/Flock                 \
135         Ascension/MotionStar            \
136         Ascension/Wanda                 \
137         Elexol/Ether24                  \
138         EssentialReality/P5Glove        \
139         Fakespace/PinchGlove            \
140         Immersion/IBox                  \
141         Intersense/IS900                \
142         Intersense/IntersenseAPI        \
143         Logitech/ThreeDMouse            \
144         Open/DTK                        \
145         Open/LinuxJoydev                \
146         Open/Trackd                     \
147         Open/VRPN                       \
148         Polhemus/Fastrak                \
149         USDigital/SerialEncoder         \
150         VRCO/TrackdAPI                  \
151         VirtualTechnologies/CyberGlove  \
152         noDNA/X-IST
153
154 # =============================================================================
155 # Library targets.  The default is 'debug' as defined above.  The steps for
156 # building the 'dbg', 'dbg-dso', 'opt' and 'opt-dso' are as follows:
157 #
158 #    1) Build dependencies (if necessary).
159 #    2) Compile all object files that are out of date.
160 #    3) Compile the actual libraries from the object files.
161 #    4) Build the Java-based config editor (if necessary).
162 #    5) Set up the developer installation links.
163 # =============================================================================
164
165 # ------------------------------------------------
166 # Build and install everything (i.e., the world).
167 # ------------------------------------------------
168 world:
169         @echo "==============================================================="
170         @echo ">>> Gadgeteer Driver make world started $(STARTTIME)"
171         @echo "==============================================================="
172 ifndef NO_CLEAN
173         @$(MAKE) clobber
174 endif
175         @$(MAKE) $(BEFOREBUILD)
176         @$(MAKE) libs
177         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
178         @echo "---------------------------------------------------------------"
179         @echo "Beginning Gadgeteer Driver installation process"
180         @echo "---------------------------------------------------------------"
181         @$(MAKE) beforeinstall
182         @$(MAKE) install-libs
183         @$(MAKE) do-post-install
184         @echo "==============================================================="
185         @echo ">>> Gadgeteer Driver make world started $(STARTTIME)"
186         @echo ">>> Gadgeteer Driver make world completed `LTIME=C date`"
187         @echo "==============================================================="
188
189 # ------------------------------------------------------------------------
190 # Build and install everything (i.e., the world) using all possible ABIs.
191 # ------------------------------------------------------------------------
192 world-all-abi:
193         @echo "==============================================================="
194         @echo ">>> Gadgeteer Driver make world started on $(STARTTIME)"
195         @echo "==============================================================="
196 ifndef NO_CLEAN
197         @$(MAKE) clobber
198 endif
199         @$(MAKE) $(BEFOREBUILD)
200         @for abi in $(ABI_LIST) ; do                                    \
201             echo "------------------------------------------------" ;   \
202             echo "Building libraries using $$abi" ;                     \
203             echo "------------------------------------------------" ;   \
204             $(MAKE) driverABI=$$abi libs ;                              \
205           done
206         @$(MAKE) BUILD_TYPE=all $(AFTERBUILD)
207         @echo "---------------------------------------------------------------"
208         @echo "Beginning Gadgeteer Driver installation process"
209         @echo "---------------------------------------------------------------"
210         @$(MAKE) beforeinstall
211         @for abi in $(ABI_LIST) ; do                                    \
212             echo "------------------------------------------------" ;   \
213             echo "Installing $$abi version of libraries" ;              \
214             echo "------------------------------------------------" ;   \
215             $(MAKE) driverABI=$$abi install-libs ;                      \
216           done
217         @$(MAKE) do-post-install
218         @echo "==============================================================="
219         @echo ">>> Gadgeteer Driver make world started on $(STARTTIME)"
220         @echo ">>> Gadgeteer Driver make world completed on `LTIME=C date`"
221         @echo "==============================================================="
222
223 # -----------------------------------------------------------------------------
224 # A release is a superset of 'world' except that no profiled libraries are
225 # built.  Beyond this, the change log, release notes, etc. are installed.
226 # A special case is required for releases made in the "global" build.  Namely,
227 # the developer installation ("instlinks") must be created so that subsequent
228 # targets can find headers properly.
229 # -----------------------------------------------------------------------------
230 release:
231         @echo "==============================================================="
232         @echo ">>> Gadgeteer Driver make release started on $(STARTTIME)"
233         @echo "==============================================================="
234 ifndef NO_CLEAN
235         @$(MAKE) clobber
236 endif
237         @$(MAKE) $(BEFOREBUILD)
238         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N libs
239         @$(MAKE) BUILD_TYPE=opt $(AFTERBUILD)
240         @echo "---------------------------------------------------------------"
241         @echo "Beginning Gadgeteer Driver release installation process"
242         @echo "---------------------------------------------------------------"
243         @$(MAKE) beforeinstall
244         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N install-libs
245         @$(MAKE) BUILD_PROF_C=N BUILD_PROF_CXX=N do-post-install
246         @echo "Build time: `LTIME=C date`" > $(projdatadir)/BUILD_TIME
247         @echo "==============================================================="
248         @echo ">>> Gadgeteer Driver make release started on $(STARTTIME)"
249         @echo ">>> Gadgeteer Driver make release completed on `LTIME=C date`"
250         @echo "==============================================================="
251
252 # -------------------------------------
253 # Build all versions of the libraries.
254 # -------------------------------------
255 buildworld: all
256
257 # ------------------------------------------------------------------------
258 # Do a full installation all versions of the libraries and the associated
259 # files.
260 # ------------------------------------------------------------------------
261 installworld: install-all
262
263 # =============================================================================
264 # Human-readable information about the build system.
265 # =============================================================================
266 info:
267         @echo "\nInfo for the make of Gadgeteer Drivers"
268         @echo "\nOBJDIR: $(OBJDIR)"
269         @echo "DRIVER_ROOT_ABS: $(DRIVER_ROOT_ABS)"
270         @echo "Default ABI: $(ABI)"
271         @echo "Default instruction set architecture: $(ISA)"
272         @echo "ABI list: $(ABI_LIST)"
273         @echo "DBG_BUILDDIR: $(DBG_BUILDDIR)"
274         @echo "OPT_BUILDDIR: $(OPT_BUILDDIR)"
275         @echo "Installation prefix: $(prefix)"
276         @echo "includedir: $(includedir)"
277         @echo "libdir: $(libdir)"
278         @$(SHELL) $(scriptdir)/print-targets.sh
279
280 include $(MKPATH)/dpp.subdir.mk
281 include Makefile.inc
Note: See TracBrowser for help on using the browser.