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

Revision 20220, 4.5 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 editors.  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_editors
68
69 TABLE_LAYOUT_DIR=       $(JUGGLERROOT_ABS)/external/TableLayout
70 TABLE_LAYOUT_JARS=      $(TABLE_LAYOUT_DIR)/TableLayout.jar
71
72 # List the packages for which JavaDoc documentation will be generated.
73 DOC_PKGS=       $(EDITORS_PKG)
74 webroot=        $(HOME)/public_html/jugglerweb
75 instdir=        jccl/editors/1.0
76 doc_prefix=     $(webroot)/$(instdir)
77 DOC_ROOT=       programmer.reference.java
78
79 _LOCAL_CLEAN=   1
80 JAVA_AFTERBUILD=java_afterbuild
81
82 include $(MKPATH)/dpp.obj.mk
83
84 # -----------------------------------------------------------------------------
85 # Uses ant to build the java classes and JARs
86 # -----------------------------------------------------------------------------
87 java_afterbuild:
88         @echo "------------------------------------------------"
89         @echo "Building java sources"
90         @echo "------------------------------------------------"
91         $(ANT)
92
93 BUILD_JAVA=     @BUILD_JAVA@
94
95 _clean:
96 ifeq ($(BUILD_JAVA), Y)
97         $(ANT) clean
98 endif
99
100 # -----------------------------------------------------------------------------
101 # Extra targets.
102 # -----------------------------------------------------------------------------
103 docs:
104         $(JDK_HOME)/bin/javadoc -d $(DOC_ROOT) -sourcepath $(srcdir)    \
105           -classpath $(CLASSPATH) $(DOC_PKGS)
106
107 # This cannot be named 'install' because Doozer++ already defines that.
108 editors-install:
109         @echo "------------------------------------------------"
110         @echo "Installing the JCCL config editors"
111         @echo "------------------------------------------------"
112         $(MTREE_CMD) -Ude -f $(mtreedir)/JCCL.java.dist -p $(projdatadir)
113 ifneq ($(JARS), )
114         for jar in $(JARS) ; \
115           do \
116               $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \
117                 $(EXTRA_INSTALL_ARGS) $(topdir)/editors/$$jar $(javadir) \
118                   || exit 1; \
119           done
120 endif
121 ifneq ($(BEANS), )
122         for bean in $(BEANS) ; \
123           do \
124                 $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX) \
125                   $(EXTRA_INSTALL_ARGS) $(topdir)/editors/$$bean.jar \
126                   $(beandir) || exit 1; \
127           done
128 endif
129         for jar in `echo "$(TABLE_LAYOUT_JARS)" | sed -e 's/$(JCPS)/ /g'` ; \
130           do                                                            \
131               $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)         \
132                 $(GROUP_OPT_UNIX) $$jar $(javadir) || exit 1 ;          \
133           done
134
135 install-docs:
136         $(MKINSTALLDIRS) $(doc_prefix)
137         rm -rf $(doc_prefix)/$(DOC_ROOT)
138         mv $(DOC_ROOT) $(doc_prefix)
139
140 ifdef GLOBAL_BUILD
141    CLEAN_DIRS+= $(top_srcdir)/bin
142 endif
143
144 include Makefile.inc
Note: See TracBrowser for help on using the browser.