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

Revision 20220, 6.9 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 # Makefile.in for config.  It requires GNU make.
29 #
30 # Generated for use on @PLATFORM@
31 # -----------------------------------------------------------------------------
32
33 default: all
34
35 # This is a hack to deal with GNU make's ignorance about defined targets.
36 # Without this, the 'default' set in dpp.subdir.mk becomes the default
37 # target, and that's not what we want.
38 DEFAULT_SET=    1
39
40 # Include common definitions.
41 include @topdir@/make.defs.mk
42
43 STARTTIME:=     $(shell LC_TIME=C date)
44
45 BUILD_PROF_C=   @BUILD_PROF_C@
46 BUILD_PROF_CXX= @BUILD_PROF_CXX@
47
48 # If we can build both C and C++ profiled objects, we will build profiled
49 # libraries.
50 #ifeq ($(BUILD_PROF_C), Y)
51 #ifeq ($(BUILD_PROF_CXX), Y)
52 #   BUILD_PROF_LIBS=    1
53 #endif
54 #endif
55
56 beandir=                $(projdatadir)/beans
57 javadir=                $(projdatadir)/java
58 srcdir=                 @srcdir@
59 top_srcdir=             @top_srcdir@
60 INSTALL=                @INSTALL@
61 INSTALL_FILES=         
62
63 # -----------------------------------------------------------------------------
64 # Java-related setup
65 # -----------------------------------------------------------------------------
66 JARS=           
67 BEANS=          jccl_config
68
69 # List the packages for which JavaDoc documentation will be generated.
70 DOC_PKGS=       $(CONFIG_PKG)
71 webroot=        $(HOME)/public_html/jugglerweb
72 instdir=        jccl/config/1.0
73 doc_prefix=     $(webroot)/$(instdir)
74 DOC_ROOT=       programmer.reference.java
75
76 _LOCAL_CLEAN=1
77
78 # -----------------------------------------------------------------------------
79 # C++-related setup
80 #               Just recurse to the sub directories and then link to a static library.
81 # -----------------------------------------------------------------------------
82 STATICLIB_EXT=  @STATICLIB_EXT@
83 DYNAMICLIB_EXT= @DYNAMICLIB_EXT@
84
85 #LIBS=          $(JCCL_CONFIG_LIBRARY)
86 #STATIC_LIBS=   $(LIBS)
87 #DYNAMIC_LIBS=  $(LIBS)
88
89 JCCL_CONFIG_LIB_STATIC=         $(JCCL_CONFIG_LIBRARY).$(STATICLIB_EXT)
90 JCCL_CONFIG_LIB_DYNAMIC=        $(JCCL_CONFIG_LIBRARY).$(DYNAMICLIB_EXT)
91 JCCL_CONFIG_PROF_LIB_STATIC=    $(JCCL_CONFIG_LIBRARY)$(PROFLIB_EXT).$(STATICLIB_EXT)
92 JCCL_CONFIG_PROF_LIB_DYNAMIC=   $(JCCL_CONFIG_LIBRARY)$(PROFLIB_EXT).$(DYNAMICLIB_EXT)
93
94 include $(MKPATH)/dpp.libs-basic.mk
95 include $(MKPATH)/dpp.obj-common.mk
96 include $(MKPATH)/dpp.clean.mk
97
98 # -----------------------------------------------------------------------------
99 # Recursive make setup
100 # -----------------------------------------------------------------------------
101 BUILD_CXX=      @BUILD_CXX@
102 DIRPRFX=        config/
103
104 ifeq ($(BUILD_CXX), Y)
105    SUBDIR=              jccl
106 endif
107
108 $(RECTARGET): recursive
109
110 include $(MKPATH)/dpp.subdir.mk
111
112 # -----------------------------------------------
113 # Construct the static version of the libraries.
114 # -----------------------------------------------
115 $(LIBDIR)/$(JCCL_CONFIG_LIB_STATIC) $(LIBDIR)/$(JCCL_CONFIG_PROF_LIB_STATIC): $(OBJDIR)/*.$(OBJEXT)
116 ifneq (@OS_TYPE@, Win32)
117         @echo "------------------------------------------------"
118         @echo "Creating $@"
119         @echo "------------------------------------------------"
120         @$(SHELL) $(MKINSTALLDIRS) $(LIBDIR)
121         $(AR) $(AR_NAME_FLAG)$@ $(OBJDIR)/*.$(OBJEXT)
122         $(RANLIB) $@
123         cd $(LIBDIR_BASE) && rm -f $(notdir $@) && $(LN_S) $@ ./
124         cd $(OBJDIR) && rm -rf ii_files
125         @echo "------------------------------------------------"
126         @echo "$@ done"
127         @echo "------------------------------------------------"
128 endif
129
130 # ------------------------------------------------
131 # Construct the dynamic version of the libraries.
132 # ------------------------------------------------
133 $(LIBDIR)/$(JCCL_CONFIG_LIB_DYNAMIC) $(LIBDIR)/$(JCCL_CONFIG_PROF_LIB_DYNAMIC): $(OBJDIR)/*.$(OBJEXT)
134         @echo "------------------------------------------------"
135         @echo "Creating $@"
136         @echo "------------------------------------------------"
137         @$(SHELL) $(MKINSTALLDIRS) $(LIBDIR)
138         $(LD) $(LDOPTS) $(DYLIB_NAME_FLAG) $(OBJDIR)/*.$(OBJEXT) $(DYLIB_DEPS)
139         cd $(LIBDIR_BASE) && rm -f $(notdir $@) && $(LN_S) $@ ./
140         cd $(OBJDIR) && rm -rf ii_files
141         @echo "------------------------------------------------"
142         @echo "$@ done"
143         @echo "------------------------------------------------"
144
145
146 # -----------------------------------------------------------------------------
147 # Uses ant to build the java classes and JARs
148 # -----------------------------------------------------------------------------
149 java:
150         @echo "------------------------------------------------"
151         @echo "Building java sources"
152         @echo "------------------------------------------------"
153         $(ANT)
154
155 BUILD_JAVA=     @BUILD_JAVA@
156
157 _clean:
158 ifeq ($(BUILD_JAVA), Y)
159         $(ANT) clean
160 endif
161 # -----------------------------------------------------------------------------
162 # Extra targets.
163 # -----------------------------------------------------------------------------
164 docs:
165         $(JDK_HOME)/bin/javadoc -d $(DOC_ROOT) -sourcepath $(srcdir)    \
166           -classpath $(CLASSPATH) $(DOC_PKGS)
167
168 # This cannot be named 'install' because Doozer++ already defines that.
169 config-install:
170         @echo "------------------------------------------------"
171         @echo "Installing the JCCL config Java code base"
172         @echo "------------------------------------------------"
173         $(MTREE_CMD) -Ude -f $(mtreedir)/JCCL.java.dist -p $(projdatadir)
174 ifneq ($(JARS), )
175         for jar in $(JARS) ; \
176           do \
177               $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \
178                 $(EXTRA_INSTALL_ARGS) $(topdir)/config/$$jar $(javadir) \
179               || exit 1; \
180           done
181 endif
182 ifneq ($(BEANS), )
183         for bean in $(BEANS) ; \
184           do \
185               $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \
186                 $(EXTRA_INSTALL_ARGS) $(topdir)/config/$$bean.jar $(beandir) \
187               || exit 1; \
188               $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \
189                 $(EXTRA_INSTALL_ARGS) $(top_srcdir)/config/$$bean.xml \
190                   $(beandir) || exit 1; \
191           done
192 endif
193
194 install-docs:
195         $(MKINSTALLDIRS) $(doc_prefix)
196         rm -rf $(doc_prefix)/$(DOC_ROOT)
197         mv $(DOC_ROOT) $(doc_prefix)
198
199 ifdef GLOBAL_BUILD
200    CLEAN_DIRS+= $(top_srcdir)/bin
201 endif
202
203 include Makefile.inc
Note: See TracBrowser for help on using the browser.