Changeset 16694

Show
Ignore:
Timestamp:
01/31/05 16:22:13 (4 years ago)
Author:
patrickh
Message:

Separate the build of VRJConfig from VR Juggler. Building the two
together dates back to the very early days of VR Juggler. Nowadays, when
doing VRJConfig development, I find it very annoying to have to go through
the build for modules/vrjuggler when what I really care about results from
building in modules/vrjuggler/vrjconfig. As part of this change, I have
removed the remaining useless build bits from the makefiles in the tree
rooted at modules/vrjuggler/vrjconfig.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/juggler/Makefile.docs

    r16658 r16694  
    5757                modules/vrjuggler/doc/programmer.guide 
    5858 
    59 JAVADOC_SUBDIR= modules/tweek/java     
    60                 modules/jackal         
    61                 modules/vrjuggler 
     59JAVADOC_SUBDIR= modules/tweek/java             
     60                modules/jackal                 
     61                modules/vrjuggler/vrjconfig 
    6262 
    6363all: 
  • trunk/juggler/juggler.cfg

    r16372 r16694  
    7272} 
    7373 
     74VRJConfig 
     75{ 
     76   depend Tweek; 
     77   depend JCCL; 
     78   modules/vrjuggler/vrjconfig; 
     79} 
     80 
     81// This depends on VRJConfig because it needs to have the installed VRJConfig 
     82// directory hierarchy in place to insert its JavaBean. 
    7483VRJPlugins 
    7584{ 
    7685   depend VRJuggler; 
     86   depend VRJConfig; 
    7787   modules/vrjuggler/plugins; 
    7888} 
  • trunk/juggler/modules/vrjuggler/ChangeLog

    r16643 r16694  
    11DATE        AUTHOR      CHANGE 
    22----------- ----------- ------------------------------------------------------- 
     3Jan-31-2005 patrickh    Separated the builds for VR Juggler and VRJConfig. 
     4 
    35[2.0 Beta 2 released - 1.18.2005]============================================== 
    46Jan-18-2005 patrickh    NEW VERSION: 1.1.167 
  • trunk/juggler/modules/vrjuggler/Makefile.in

    r16693 r16694  
    145145SUBDIR=         vrj 
    146146 
    147 ifeq (@BUILD_JAVA@, Y) 
    148    SUBDIR+=     vrjconfig 
    149 endif 
    150  
    151147# ============================================================================= 
    152148# Library targets.  The default is 'debug' as defined above.  The steps for  
     
    156152#    2) Compile all object files that are out of date. 
    157153#    3) Compile the actual libraries from the object files. 
    158 #    4) Build the Java-based config editor (if necessary). 
    159 #    5) Set up the developer installation links. 
     154#    4) Set up the developer installation links. 
    160155# ============================================================================= 
    161156 
  • trunk/juggler/modules/vrjuggler/Makefile.inc.in

    r16692 r16694  
    4646srcdir=         @srcdir@ 
    4747top_srcdir=     @top_srcdir@ 
    48  
    49 ifndef NO_JAVA 
    50    BUILD_JAVA=  @BUILD_JAVA@ 
    51 else 
    52    BUILD_JAVA=  N 
    53 endif 
    5448 
    5549# Extra compiler and linker options needed only by this file. 
     
    154148        @$(MAKE) $(PARAM_HEADER) 
    155149        @$(MAKE) $(PARAM_SOURCE) 
    156         @$(MAKE) vrjconfig-java 
    157150 
    158151$(PARAM_HEADER): $(VJROOT_ABS)/$(PARAM_HEADER).in $(VJROOT_ABS)/VERSION 
     
    319312 
    320313# ============================================================================= 
    321 # VRJConfig targets 
    322 # ============================================================================= 
    323 # Build the VRJConfig code base and the JAR files 
    324 vrjconfig-gui: 
    325         @$(MAKE) vrjconfig-java 
    326  
    327 # Build the java code and the JAR files 
    328 vrjconfig-java: 
    329 ifeq ($(BUILD_JAVA), Y) 
    330         @echo "===> vrjconfig" 
    331         $(MAKE) -C vrjconfig $@ 
    332         @echo "<=== vrjconfig" 
    333 else 
    334         @echo "------------------------------------------------" 
    335         @echo "VRJConfig build skipped" 
    336         @echo "------------------------------------------------" 
    337 endif 
    338  
    339 # ============================================================================= 
    340314# Make links for developer use that provide the needed functionality for 
    341315# the $VJ_BASE_DIR environment variable to be used when needed.  $VJ_BASE_DIR 
     
    390364#     4) Install the test programs. 
    391365#     5) Install the contents of the data directory. 
    392 #     6) Install the Java-based config editor (if possible). 
    393366# ============================================================================= 
    394367 
     
    412385        $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.include.dist -p $(prefix) 
    413386        $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.lib.dist -p $(prefix) 
     387        $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.java.dist -p $(projdatadir) 
    414388        $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.samples.dist -p $(projdatadir) 
    415389        $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.test.dist -p $(projdatadir) 
     
    431405# Do everything needed after installing the library binaries. 
    432406post-install: 
    433         @$(MAKE) install-java 
    434407        @$(MAKE) install-samples 
    435408        @$(MAKE) install-test 
     
    453426          $(GROUP_OPT_UNIX) -e .h -o $(includedir)/deprecated           \ 
    454427          -i $(VJROOT_ABS)/deprecated $(EXTRA_INSTALL_ARGS) 
    455  
    456 install-java: 
    457 ifeq ($(BUILD_JAVA), Y) 
    458         @$(MAKE) -C vrjconfig vrjconfig-install 
    459 endif 
    460428 
    461429# Install the sample applications. 
  • trunk/juggler/modules/vrjuggler/configure.in

    r16684 r16694  
    7676              _enable_pf_api="$enableval", _enable_pf_api='yes') 
    7777 
    78 # Specify where Java3D is located 
    79 AC_ARG_WITH(java3d, 
    80             [  --with-java3d=<PATH>    Path to Java3D JAR file(s) ], 
    81             JAVA3D_JAR="$withval", JAVA3D_JAR='none') 
    82  
    83 # Specify where JOGL is located 
    84 AC_ARG_WITH(jogl, 
    85             [  --with-jogl=<PATH>      Path to JOGL JAR file(s) ], 
    86             JOGL_JARS="$withval", JOGL_JARS='') 
    87  
    8878# -------------------------------------------- # 
    8979# --with-pkg[=arg] and --without-pkg arguments # 
     
    150140DPP_CXX_DYNAMIC_CAST(AC_MSG_ERROR(*** The library requires C++ dynamic_cast<> ***)) 
    151141 
    152 # Check for the JDK. 
    153 DPP_PATH_JAVA( , [BUILD_JAVA='Y'], [BUILD_JAVA='N']) 
    154  
    155 # If there is still no value in $JAVAC, then warn that VRJConfig will not be 
    156 # built 
    157 if test "x$BUILD_JAVA" = "xN" ; then 
    158    AC_MSG_WARN([*** VRJConfig requires the JDK -- it will not be built ***]) 
    159 fi 
    160  
    161 ANT="JAVA_HOME=\"$JDK_HOME\" \"$UNIX_JUGGLERROOT_ABS/external/ant/bin/ant\" --noconfig" 
    162  
    163142# Ensure that a version of Perl greater than or equal to 5.004 is available. 
    164143DPP_PERL_VER(5.004, , , [AC_MSG_ERROR([*** Perl is required ***])]) 
     
    175154VPR_PATH([0.41.0], , [AC_MSG_ERROR(*** VPR required for VR Juggler ***)]) 
    176155VPR_SUBSYSTEM=`$VPR_CONFIG --subsystem` 
    177 vrj_min_jccl_ver='0.91.1' 
    178 JCCL_PATH_CXX([$vrj_min_jccl_ver], , 
     156JCCL_PATH_CXX([0.91.1], , 
    179157              [AC_MSG_ERROR(*** JCCL C++ API required for VR Juggler ***)]) 
    180158GADGETEER_PATH([0.22.0], , 
     
    185163if test "x$VRJ_USE_X11" = "xyes" ; then 
    186164   AC_DEFINE([VRJ_USE_X11], , [Define if the X Window System will be used.]) 
    187 fi 
    188  
    189 if test "x$BUILD_JAVA" = "xY" ; then 
    190    TWEEK_PATH_JAVA([0.92.1], 
    191                    [JCCL_PATH_JAVA([$vrj_min_jccl_ver], , 
    192                        [AC_MSG_WARN([*** JCCL Java API required for VRJConfig ***]) 
    193                        BUILD_JAVA='N'])], 
    194                    [AC_MSG_WARN(*** Tweek Java API required for VRJConfig ***) 
    195                     BUILD_JAVA='N']) 
    196165fi 
    197166 
     
    276245 
    277246DPP_HAVE_CPPUNIT([1.9.10]) 
    278  
    279 # ---------------------- 
    280 # JDK 1.4 for VRJConfig. 
    281 # ---------------------- 
    282 if test "x$BUILD_JAVA" = "xY" ; then 
    283    DPP_JDK_VERSION([$JDK_HOME], [1.4], 
    284       [AC_MSG_WARN([*** JDK 1.4 or newer required for the VRJConfig Proxy Editor ***])]) 
    285 fi 
    286  
    287 # -------- 
    288 # Java3D. 
    289 # -------- 
    290 BUILD_JAVA_3D_EDITOR='N' 
    291 if test "x$BUILD_JAVA" = "xY" ; then 
    292    # If we are building VRJConfig, we can try to enable building the 
    293    # Java3D-based editor(s). 
    294    if test "x$BUILD_JAVA" = "xY" ; then 
    295       DPP_CHECK_JAVA_STATIC_METHOD(javax.media.j3d.VirtualUniverse, getJ3DThreadPriority() , , 
    296          BUILD_JAVA_3D_EDITOR='Y', 
    297          [ AC_MSG_WARN([*** Java3D required for Java3D custom editor ***]) 
    298            BUILD_JAVA_3D_EDITOR='N' ], 
    299          $JAVA3D_JAR) 
    300    fi 
    301 fi 
    302  
    303 # -------- 
    304 # JOGL. 
    305 # -------- 
    306 BUILD_JOGL_EDITOR='N' 
    307 if test "x$BUILD_JAVA" = "xY" ; then 
    308    # If we are building VRJConfig, we can try to enable building the 
    309    # JOGL-based editor(s). 
    310    if test "x$BUILD_JAVA" = "xY" ; then 
    311       DPP_CHECK_JAVA_STATIC_METHOD(net.java.games.jogl.Version, getVersion() , , 
    312          BUILD_JOGL_EDITOR='Y', 
    313          [ AC_MSG_WARN([*** JOGL required for JOGL custom editor ***]) 
    314            BUILD_JOGL_EDITOR='N' ], 
    315          $JOGL_JARS) 
    316       if test "x$BUILD_JOGL_EDITOR" = "xY" ; then 
    317          DPP_CHECK_JAVA_STATIC_METHOD(gleem.ManipManager, getManipManager() , , 
    318             BUILD_JOGL_EDITOR='Y', 
    319             [ AC_MSG_WARN([*** Gleem required for JOGL custom editor ***]) 
    320               BUILD_JOGL_EDITOR='N' ], 
    321             $JOGL_JARS) 
    322       fi 
    323    fi 
    324 fi 
    325247 
    326248# ----------------------------------------------------------------------------- 
     
    625547vrj_extra_ldflags_linker="$vrj_extra_ldflags_compiler" 
    626548 
    627 if test "x$PLATFORM" = "xDarwin" ; then 
    628    changequote(<<, >>) 
    629    vrjconfig_bundle_tweek_jardir=`echo $TWEEK_JARS | awk -F: '{ print $1 }' | sed -e 's/^\(.*\)\/[^/]*\.jar$/\1/'` 
    630    vrjconfig_bundle_jccl_jardir=`echo $JCCL_JARS | awk -F: '{ print $1 }' | sed -e 's/^\(.*\)\/[^/]*\.jar$/\1/'` 
    631  
    632    tweek_java_api_jars_bundle=`echo $TWEEK_JARS | sed -e "s|$vrjconfig_bundle_tweek_jardir/\([^/]*.jar\)|"'$JAVAROOT/\1|g'` 
    633    tweek_ext_java_api_jars_bundle=`echo $TWEEK_EXT_JARS | sed -e 's/:/ /g' -e "s|$vrjconfig_bundle_tweek_jardir/\([^/].jar\)|\1|g"` 
    634    changequote([, ]) 
    635  
    636    tweek_datadir=`echo $vrjconfig_bundle_tweek_jardir | sed -e 's/\(.*\)java$/\1/'` 
    637    vrjconfig_bundle_tweek_beandir="${tweek_datadir}beans" 
    638  
    639    jccl_datadir=`echo $vrjconfig_bundle_jccl_jardir | sed -e 's/\(.*\)java$/\1/'` 
    640    vrjconfig_bundle_jccl_beandir="${jccl_datadir}beans" 
    641    vrjconfig_bundle_jccl_datadir="${jccl_datadir}data" 
    642 fi 
    643  
    644549# ----------------------------------------------------------------------------- 
    645550# Do Makefile substitutions. 
     
    661566AC_SUBST(RM_LN) 
    662567AC_SUBST(VPR_SUBSYSTEM) 
    663  
    664 AC_SUBST(BUILD_JAVA) 
    665 AC_SUBST(BUILD_JAVA_3D_EDITOR) 
    666 AC_SUBST(JAVA3D_JAR) 
    667 AC_SUBST(JOGL_JARS) 
    668568 
    669569AC_SUBST(OPENGL_API) 
     
    707607AC_SUBST(tweek_java_api_jars_bundle) 
    708608AC_SUBST(tweek_ext_java_api_jars_bundle) 
    709 AC_SUBST(vrjconfig_bundle_tweek_beandir) 
    710 AC_SUBST(vrjconfig_bundle_tweek_jardir) 
    711 AC_SUBST(vrjconfig_bundle_jccl_beandir) 
    712 AC_SUBST(vrjconfig_bundle_jccl_datadir) 
    713 AC_SUBST(vrjconfig_bundle_jccl_jardir) 
    714609 
    715610# ----------------------------------------------------------------------------- 
     
    724619   Makefile.inc 
    725620   common.defs.mk 
    726    java.defs.mk 
    727621   make.defs.mk 
    728622   vrj/Makefile 
     
    739633   vrj/Util/Makefile 
    740634   vrj.appdefs.mk 
    741    vrjconfig/build.xml 
    742    vrjconfig/Info.plist 
    743    vrjconfig/Makefile 
    744    vrjconfig/Makefile.inc 
    745    vrjconfig/commoneditors/build.xml 
    746    vrjconfig/commoneditors/Makefile 
    747    vrjconfig/customeditors/Makefile 
    748    vrjconfig/customeditors/display_window/build.xml 
    749    vrjconfig/customeditors/display_window/Makefile 
    750    vrjconfig/customeditors/flock/build.xml 
    751    vrjconfig/customeditors/flock/Makefile 
    752    vrjconfig/customeditors/intersense/build.xml 
    753    vrjconfig/customeditors/intersense/Makefile 
    754    vrjconfig/customeditors/motionstar/build.xml 
    755    vrjconfig/customeditors/motionstar/Makefile 
    756    vrjconfig/customeditors/pinchglove/build.xml 
    757    vrjconfig/customeditors/pinchglove/Makefile 
    758    vrjconfig/customeditors/proxyeditor/build.xml 
    759    vrjconfig/customeditors/proxyeditor/Makefile 
    760    vrjconfig/customeditors/surfacedisplayeditor/build.xml 
    761    vrjconfig/customeditors/surfacedisplayeditor/Makefile 
    762635   samples/Makefile 
    763636   samples/OGL/Makefile 
  • trunk/juggler/modules/vrjuggler/make.defs.mk.in

    r16525 r16694  
    5555#                 only the name of the directory, not the full path to it. 
    5656# 
    57 # ANT           - Path to ant 
    5857# DPP_SCRIPTDIR - The directory containing Doozer++ helper scripts. 
    5958# MKDEPS_CC     - Compiler for C dependencies. 
     
    9190top_srcdir=             @top_srcdir@ 
    9291 
    93 ANT=                    @ANT@ 
    9492DPP_SCRIPTDIR=          $(JUGGLERROOT_ABS)/Doozer++/scripts 
    9593MAKEFLAGS+=             --no-print-directory 
  • trunk/juggler/modules/vrjuggler/vrjconfig/Makefile.in

    r16525 r16694  
    3939default: all 
    4040 
     41ifndef NO_JAVA 
     42   BUILD_JAVA=  @BUILD_JAVA@ 
     43else 
     44   BUILD_JAVA=  N 
     45endif 
     46 
    4147# Include common definitions. 
    4248include @topdir@/make.defs.mk 
    4349include @topdir@/java.defs.mk 
    4450 
     51instlinks=              $(topdir)/instlinks 
    4552srcdir=                 @srcdir@ 
    4653top_srcdir=             @top_srcdir@ 
     
    6370JCCL_BEAN_DIR=          @vrjconfig_bundle_jccl_beandir@ 
    6471 
    65 EXTRA_SRCS_PATH=        $(srcdir)/../tweek/idl 
    6672INSTALL=                @INSTALL@ 
    67 INSTALL_FILES=           
    68 JAVA_IDL_OPTS=          @JAVA_IDL_OPTS@ @JAVA_IDL_GENDIR_OPT@$(srcdir) 
    69 JAVA_IDL_INCLUDES=      @JAVA_IDL_INCFLAG@$(top_srcdir) 
    7073 
    7174JARS=   ClusterWizard.jar Devices.jar Simulator.jar NewDevice.jar 
    7275BEANS=  VRJConfig 
    7376 
    74 _LOCAL_CLEAN=   1 
    75 JAVA_AFTERBUILD=java_afterbuild 
    76  
    77 include $(MKPATH)/dpp.obj-subdir.mk 
    78  
    79 # Prefix for recursive stuff. 
    80 DIRPRFX=        vrjconfig/ 
    81  
    82 # Subdirectories used for recursion through the source tree. 
    83 SUBDIR=         commoneditors   \ 
    84                 customeditors 
    85  
    86 $(RECTARGET): recursive 
     77@SET_MAKE@ 
     78 
     79all world release: 
     80        @$(MAKE) build 
     81        @$(MAKE) install 
    8782 
    8883# ----------------------------------------------------------------------------- 
    8984# Uses ant to build the java classes and JARs 
    9085# ----------------------------------------------------------------------------- 
    91 java_afterbuild: 
    92         @echo "------------------------------------------------" 
    93         @echo "Building java sources" 
     86debug dbg dbg-dso optim opt opt-dso profiled prof prof-dso buildworld: 
     87ifeq ($(BUILD_JAVA), Y) 
     88        @echo "------------------------------------------------" 
     89        @echo "Building VRJConfig foundational code" 
    9490        @echo "------------------------------------------------" 
    9591        $(ANT) 
    96         @echo "------------------------------------------------" 
    97         @echo "Building Common Editors" 
    98         @echo "------------------------------------------------" 
    9992        @$(MAKE) -C commoneditors commoneditors 
    100         @echo "------------------------------------------------" 
    101         @echo "Building Custom Editors" 
    102         @echo "------------------------------------------------" 
    10393        @$(MAKE) -C customeditors customeditors 
    104  
    105 _clean: 
    106         $(ANT) clean 
    107         $(MAKE) -C commoneditors clean 
    108         $(MAKE) -C customeditors clean 
    109  
    110 # ----------------------------------------------------------------------------- 
    111 # Extra targets. 
    112 # ----------------------------------------------------------------------------- 
    113  
    114 # This cannot be named 'install' because Doozer++ already defines that. 
    115 vrjconfig-install: 
     94        @$(MAKE) links 
     95else 
     96        @echo "------------------------------------------------" 
     97        @echo "VRJConfig build skipped" 
     98        @echo "------------------------------------------------" 
     99endif 
     100 
     101links: 
     102        @$(MAKE) EXTRA_INSTALL_ARGS=-l prefix="$(instlinks)" installworld 
     103 
     104# ----------------------------------------------------------------------------- 
     105# Installation targets. 
     106# ----------------------------------------------------------------------------- 
     107 
     108install-debug install-optim install-profiled installworld: 
     109ifeq ($(BUILD_JAVA), Y) 
     110        @$(MAKE) do-install 
     111else 
     112        @echo "------------------------------------------------" 
     113        @echo "VRJConfig install skipped" 
     114        @echo "------------------------------------------------" 
     115endif 
     116 
     117do-install: 
    116118        @echo "------------------------------------------------" 
    117119        @echo "Installing the VRJConfig code base" 
     
    119121ifeq (@OS_TYPE@, UNIX) 
    120122        $(INSTALL) -m $(EXEC_PERMS) $(GROUP_OPT_UNIX)                   \ 
    121           $(EXTRA_INSTALL_ARGS) $(VJROOT_ABS)/vrjconfig/vrjconfig.sh    \ 
    122           $(bindir)/vrjconfig 
     123          $(EXTRA_INSTALL_ARGS) $(VJROOT_ABS)/vrjconfig.sh $(bindir)/vrjconfig 
    123124else 
    124125        $(INSTALL) -m $(EXEC_PERMS) $(GROUP_OPT_UNIX)                   \ 
    125           $(VJROOT_ABS)/vrjconfig/vrjconfig.bat $(bindir)/vrjconfig.bat 
     126          $(VJROOT_ABS)/vrjconfig.bat $(bindir)/vrjconfig.bat 
    126127endif   # if OS_TYPE == UNIX 
    127128        $(SHELL) $(MKINSTALLDIRS) $(projdatadir) 
    128         $(MTREE_CMD) -Ude -f $(mtreedir)/VJ.java.dist -p $(projdatadir) 
    129129ifneq ($(JARS), ) 
    130130        for jar in $(JARS) ;                                            \ 
    131131          do                                                            \ 
    132132              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    133                 $(EXTRA_INSTALL_ARGS) $(topdir)/vrjconfig/$$jar               \ 
    134                 $(javadir) || exit 1;                                 \ 
     133                $(EXTRA_INSTALL_ARGS) $(topdir)/$$jar $(javadir) ||   \ 
     134               exit 1;                                                \ 
    135135          done 
    136136endif 
     
    139139          do                                                            \ 
    140140              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    141                 $(EXTRA_INSTALL_ARGS) $(topdir)/vrjconfig/$$bean.jar  \ 
     141                $(EXTRA_INSTALL_ARGS) $(topdir)/$$bean.jar            \ 
    142142                $(beandir) || exit 1 ;                                  \ 
    143143              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    144144                $(EXTRA_INSTALL_ARGS)                                   \ 
    145                 $(top_srcdir)/vrjconfig/$$bean.xml $(beandir) || exit 1;
     145                $(top_srcdir)/$$bean.xml $(beandir) || exit 1;         
    146146          done 
    147147endif 
     
    165165          $(releasedir)/mac/JavaApplicationStub $(bundle_bindir) 
    166166        $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
    167           $(topdir)/vrjconfig/Info.plist $(bundleroot)/Contents 
    168         $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
    169           $(top_srcdir)/vrjconfig/vrjconfig.icns                        \ 
    170           $(bundleroot)/Contents/Resources 
    171         $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
    172           $(top_srcdir)/vrjconfig/jconf.icns $(bundleroot)/Contents/Resources 
    173         $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
    174           $(top_srcdir)/data/ControlPanel.xml $(bundle_vrj_datadir) 
     167          $(topdir)/Info.plist $(bundleroot)/Contents 
     168        $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
     169          $(top_srcdir)/vrjconfig.icns $(bundleroot)/Contents/Resources 
     170        $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
     171          $(top_srcdir)/jconf.icns $(bundleroot)/Contents/Resources 
     172        $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
     173          $(top_srcdir)/../data/ControlPanel.xml $(bundle_vrj_datadir) 
    175174        echo 'AAPL????' > $(bundleroot)/Contents/PkgInfo 
    176175        /Developer/Tools/SetFile -a B $(bundleroot) 
     
    192191        $(PERL) $(scriptdir)/install-dir.pl -i $(JCCL_DATA_DIR)         \ 
    193192          -m $(FILE_PERMS) $(GROUP_OPT_UNIX) -o $(bundle_jccl_datadir)  \ 
    194           -v "$(topdir)/VARS.pl" $(EXTRA_INSTALL_ARGS) 
     193          $(EXTRA_INSTALL_ARGS) 
    195194        $(INSTALL) $(EXTRA_INSTALL_ARGS) -m $(FILE_PERMS)               \ 
    196195          $(JCCL_JAR_DIR)/*.jar $(bundle_jccl_javadir) 
     
    201200          do                                                            \ 
    202201              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    203                 $(EXTRA_INSTALL_ARGS) $(topdir)/vrjconfig/$$jar               \ 
     202                $(EXTRA_INSTALL_ARGS) $(topdir)/$$jar                 \ 
    204203                $(bundle_vrj_javadir) || exit 1;                        \ 
    205204          done 
     
    209208          do                                                            \ 
    210209              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    211                 $(EXTRA_INSTALL_ARGS) $(topdir)/vrjconfig/$$bean.jar  \ 
     210                $(EXTRA_INSTALL_ARGS) $(topdir)/$$bean.jar            \ 
    212211                $(bundle_vrj_beandir) || exit 1 ;                       \ 
    213212              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    214213                $(EXTRA_INSTALL_ARGS)                                   \ 
    215                 $(top_srcdir)/vrjconfig/$$bean.xml                      \ 
    216                 $(bundle_vrj_beandir) || exit 1 ;                       \ 
    217           done 
    218 endif 
    219 endif 
    220         @echo "------------------------------------------------" 
    221         @echo "Installing Common Editors" 
    222         @echo "------------------------------------------------" 
     214                $(top_srcdir)/$$bean.xml $(bundle_vrj_beandir) || exit 1 ; \ 
     215          done 
     216endif 
     217endif 
    223218        @$(MAKE) -C commoneditors install-commoneditors 
    224         @echo "------------------------------------------------" 
    225         @echo "Installing Custom Editors" 
    226         @echo "------------------------------------------------" 
    227219        @$(MAKE) -C customeditors install-customeditors 
    228220         
     221clean clobber: 
     222        $(ANT) clean 
     223        $(MAKE) -C commoneditors clean 
     224        $(MAKE) -C customeditors clean 
    229225ifdef GLOBAL_BUILD 
    230    CLEAN_DIRS+= $(top_srcdir)/bin 
    231 endif 
    232  
    233 include Makefile.inc 
     226        rm -rf $(top_srcdir)/bin 
     227endif 
  • trunk/juggler/modules/vrjuggler/vrjconfig/commoneditors/Makefile.in

    r16537 r16694  
    8787              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    8888                $(EXTRA_INSTALL_ARGS)                                   \ 
    89                 $(topdir)/vrjconfig/commoneditors/$$jar                 \ 
    90                 $(jardir) || exit 1;                                    \ 
     89                $(topdir)/commoneditors/$$jar $(jardir) || exit 1;      \ 
    9190          done 
    9291endif 
     
    105104              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    106105                $(EXTRA_INSTALL_ARGS)                                   \ 
    107                 $(topdir)/vrjconfig/commoneditors/$$jar                       \ 
    108                 $(bundle_vrj_javadir) || exit 1 ;                     \ 
     106                $(topdir)/commoneditors/$$jar $(bundle_vrj_javadir) ||        \ 
     107                exit 1 ;                                              \ 
    109108          done 
    110109endif 
  • trunk/juggler/modules/vrjuggler/vrjconfig/customeditors/display_window/Makefile.in

    r16537 r16694  
    4949srcdir=                 @srcdir@ 
    5050top_srcdir=             @top_srcdir@ 
    51 EXTRA_SRCS_PATH=        $(srcdir)/../tweek/idl 
    5251INSTALL=                @INSTALL@ 
    53 INSTALL_FILES=           
    54 JAVA_IDL_OPTS=          @JAVA_IDL_OPTS@ @JAVA_IDL_GENDIR_OPT@$(srcdir) 
    55 JAVA_IDL_INCLUDES=      @JAVA_IDL_INCFLAG@$(top_srcdir) 
    5652 
    5753BEANS=                  DisplayWindowEditor 
    58  
    59 _LOCAL_CLEAN=           1 
    60  
    61 include $(MKPATH)/dpp.obj.mk 
    6254 
    6355# ----------------------------------------------------------------------------- 
     
    6658build-editor: 
    6759        @echo "------------------------------------------------" 
    68         @echo "Building DisplayWindowEditor java sources" 
     60        @echo "Building DisplayWindowEditor Java sources" 
    6961        @echo "------------------------------------------------" 
    7062        $(ANT) 
    7163 
    72 _clean
     64clean clobber
    7365        $(ANT) clean 
    7466 
     
    8779              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    8880                $(EXTRA_INSTALL_ARGS)                                   \ 
    89                 $(topdir)/vrjconfig/customeditors/display_window/$$jar        \ 
     81                $(topdir)/customeditors/display_window/$$jar          \ 
    9082                $(javadir) || exit 1;                                   \ 
    9183          done 
     
    9688              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    9789                $(EXTRA_INSTALL_ARGS)                                   \ 
    98                 $(topdir)/vrjconfig/customeditors/display_window/$$bean.jar
     90                $(topdir)/customeditors/display_window/$$bean.jar     
    9991                $(jardir) || exit 1 ;                                   \ 
    10092              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    10193                $(EXTRA_INSTALL_ARGS)                                   \ 
    102                 $(top_srcdir)/vrjconfig/customeditors/display_window/$$bean.xml
     94                $(top_srcdir)/customeditors/display_window/$$bean.xml 
    10395                $(jardir) || exit 1;                                    \ 
    10496          done 
     
    110102              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    111103                $(EXTRA_INSTALL_ARGS)                                   \ 
    112                 $(topdir)/vrjconfig/customeditors/display_window/$$jar        \ 
     104                $(topdir)/customeditors/display_window/$$jar          \ 
    113105                $(bundle_vrj_javadir) || exit 1 ;                       \ 
    114106          done 
     
    119111              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    120112                $(EXTRA_INSTALL_ARGS)                                   \ 
    121                 $(topdir)/vrjconfig/customeditors/display_window/$$bean.jar
     113                $(topdir)/customeditors/display_window/$$bean.jar     
    122114                $(bundle_jardir) || exit 1 ;                            \ 
    123115              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    124116                $(EXTRA_INSTALL_ARGS)                                   \ 
    125                 $(top_srcdir)/vrjconfig/customeditors/display_window/$$bean.xml
     117                $(top_srcdir)/customeditors/display_window/$$bean.xml 
    126118                $(bundle_jardir) || exit 1 ;                            \ 
    127119          done 
  • trunk/juggler/modules/vrjuggler/vrjconfig/customeditors/display_window/build.xml.in

    r15485 r16694  
    1616 
    1717   <path id="commoneditors.classpath"> 
    18       <pathelement path="${topdir}/vrjconfig/commoneditors/CommonEditors.jar" /> 
     18      <pathelement path="${topdir}/commoneditors/CommonEditors.jar" /> 
    1919   </path> 
    2020 
  • trunk/juggler/modules/vrjuggler/vrjconfig/customeditors/flock/Makefile.in

    r16574 r16694  
    3232 
    3333# ----------------------------------------------------------------------------- 
    34 # Makefile.in for vrjuggler/vrjconfig/customeditors/flock.  It 
    35 # requires GNU make. 
     34# Makefile.in for vrjuggler/vrjconfig/customeditors/flock.  It requires GNU 
     35# make. 
    3636# 
    3737# Generated for use on @PLATFORM@ 
     
    4949srcdir=                 @srcdir@ 
    5050top_srcdir=             @top_srcdir@ 
    51 EXTRA_SRCS_PATH=        $(srcdir)/../tweek/idl 
    5251INSTALL=                @INSTALL@ 
    53 INSTALL_FILES=           
    54 JAVA_IDL_OPTS=          @JAVA_IDL_OPTS@ @JAVA_IDL_GENDIR_OPT@$(srcdir) 
    55 JAVA_IDL_INCLUDES=      @JAVA_IDL_INCFLAG@$(top_srcdir) 
    5652 
    5753BEANS=                  FlockEditor 
    58  
    59 _LOCAL_CLEAN=           1 
    60  
    61 include $(MKPATH)/dpp.obj.mk 
    6254 
    6355# ----------------------------------------------------------------------------- 
     
    6658build-editor: 
    6759        @echo "------------------------------------------------" 
    68         @echo "Building FlockEditor java sources" 
     60        @echo "Building FlockEditor Java sources" 
    6961        @echo "------------------------------------------------" 
    7062        $(ANT) 
    7163 
    72 _clean
     64clean clobber
    7365        $(ANT) clean 
    7466 
     
    8779              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    8880                $(EXTRA_INSTALL_ARGS)                                   \ 
    89                 $(topdir)/vrjconfig/customeditors/flock/$$jar           \ 
    90                 $(javadir) || exit 1;                                   \ 
     81                $(topdir)/customeditors/flock/$$jar $(javadir) || exit 1; \ 
    9182          done 
    9283endif 
     
    9687              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    9788                $(EXTRA_INSTALL_ARGS)                                   \ 
    98                 $(topdir)/vrjconfig/customeditors/flock/$$bean.jar    \ 
    99                 $(jardir) || exit 1 ;                                 \ 
     89                $(topdir)/customeditors/flock/$$bean.jar $(jardir) ||
     90                exit 1 ;                                              \ 
    10091              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    10192                $(EXTRA_INSTALL_ARGS)                                   \ 
    102                 $(top_srcdir)/vrjconfig/customeditors/flock/$$bean.xml        \ 
     93                $(top_srcdir)/customeditors/flock/$$bean.xml          \ 
    10394                $(jardir) || exit 1;                                    \ 
    10495          done 
     
    110101              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    111102                $(EXTRA_INSTALL_ARGS)                                   \ 
    112                 $(topdir)/vrjconfig/customeditors/flock/$$jar         \ 
     103                $(topdir)/customeditors/flock/$$jar                   \ 
    113104                $(bundle_vrj_javadir) || exit 1 ;                       \ 
    114105          done 
     
    119110              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    120111                $(EXTRA_INSTALL_ARGS)                                   \ 
    121                 $(topdir)/vrjconfig/customeditors/flock/$$bean.jar    \ 
     112                $(topdir)/customeditors/flock/$$bean.jar              \ 
    122113                $(bundle_jardir) || exit 1 ;                            \ 
    123114              $(INSTALL) -m $(FILE_PERMS) $(GROUP_OPT_UNIX)             \ 
    124115                $(EXTRA_INSTALL_ARGS)                                   \ 
    125                 $(top_srcdir)/vrjconfig/customeditors/flock/$$bean.xml        \ 
     116                $(top_srcdir)/customeditors/flock/$$bean.xml          \ 
    126117                $(bundle_jardir) || exit 1 ;                            \ 
    127118          done 
  • trunk/juggler/modules/vrjuggler/vrjconfig/customeditors/flock/build.xml.in

    r16574 r16694  
    1616 
    1717   <path id="commoneditors.classpath"> 
    18       <pathelement path="${topdir}/vrjconfig/commoneditors/CommonEditors.jar" /> 
     18      <pathelement path="${topdir}/commoneditors/CommonEditors.jar" /> 
    1919   </path> 
    2020