With the addition of dtappbuilder to autotools, every make run
(including make install) causes src/ab to regenerate files that cause
the whole directory to be recompiled, even on a 'make install'.
This seems to be primarily caused by dtbuilder.msg (and possibly
dtbuilder.c) being modified after it is generated, which is apparently
normal behavior for dtcodegen.
This fix sets both dtbuilder.msg and dtbuilder.c as "order-dependant
prequisites" so that they are always generated first (there are
already rules to do generate them) and then subsequently the only
thing required is that they exist since we don't care if they are
modified after that point. If you need to make changes to them, edit
their respective .src files instead.
This seems to resolve the issue, but perhaps at the expense of adding
another requirement to use gmake.
We also need to disable parallel building in this module :(
#
# $XConsortium: README /main/3 1995/11/06 17:12:11 rswiston $
#
# %W% %G% cde_app_builder/src/ab
#
# RESTRICTED CONFIDENTIAL INFORMATION:
#
# The information in this document is subject to special
# restrictions in a confidential disclosure agreement between
# HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
# document outside HP, IBM, Sun, USL, SCO, or Univel without
# Sun's specific written approval. This document and all copies
# and derivative works thereof must be returned or destroyed at
# Sun's request.
#
# Copyright 1993 Sun Microsystems, Inc. All rights reserved.
#
#
For running the AppBuilder (ab), do the following:
--------------------------------------------------
1. setenv XAPPLRESDIR to
<AB_WORK_SPACE>/cose/unity1/cde_app_builder/src/ab
2. (optional) setenv XENVIRONMENT to
<AB_WORK_SPACE>/cose/unity1/cde_app_builder/src/ab/Ab
Do this only if you plan to use the app-builder from
another directory.
3. The executible is called ab.