head	1.3;
access;
symbols
	CVS-CONVERSION:1.2;
locks; strict;
comment	@# @;


1.3
date	96.06.03.21.36.34;	author yoav;	state Exp;
branches;
next	1.2;

1.2
date	96.06.02.03.06.39;	author svalente;	state Exp;
branches;
next	1.1;

1.1
date	95.09.05.09.01.36;	author svalente;	state Exp;
branches;
next	;


desc
@Imakefile
@


1.3
log
@Motif should now install manpages as well as libs when told
to install. This is NOT the normal way motif does things,
but seems appropriate for all platforms we will support, so
I did this anyway.
@
text
@XCOMM 
XCOMM (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC. 
XCOMM ALL RIGHTS RESERVED 
XCOMM 
XCOMM 
XCOMM Motif Release 1.2.3
XCOMM 
XCOMM   $RCSfile: Imakefile,v $ $Revision: 1.2 $ $Date: 1996/06/02 03:06:39 $
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

#ifndef DontBuildMotifDemos
      DEMOSDIRECTORY	= demos
#endif

      WORLDOPTS = -k
      SUBDIRS = lib clients $(DEMOSDIRECTORY) bitmaps bindings athena man


MakeSubdirs($(SUBDIRS))

XCOMM
XCOMM Make sure you do make includes after removing X11....
XCOMM
clean::
	$(RM) -r X11

includes::
	$(RM) -r X11

XCOMM
XCOMM before depending, be sure to have run make includes
XCOMM

DependSubdirs($(SUBDIRS))


XCOMM 
XCOMM install; create the directories that we're going to need
XCOMM 

#ifdef UseInstalled
TESTS_IMAKE = $(IMAKE) -DUseInstalled
#else
TESTS_IMAKE = ../$(IMAKE)
#endif
DIRS_TO_CREATE = $(USRLIBDIR) $(BINDIR) $(INCDIR) $(USRINCDIR) $(LIBDIR) $(XAPPLOADDIR)

MakeDirectories(install, $(DIRS_TO_CREATE))

XCOMM don't name your log file make.log when you run this ...
World::
	@@echo ""
	@@echo "Building Release 1.2.3 of OSF/Motif"
	@@echo ""
	@@date
	cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini clean; $(MAKE) $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
	$(MAKE) $(MFLAGS) -f Makefile.bak Makefile
	$(MAKE) $(MFLAGS) Makefiles
	$(MAKE) $(MFLAGS) testsMakefile
	$(MAKE) $(MFLAGS) clean
	$(MAKE) $(MFLAGS) includes
	$(MAKE) $(MFLAGS) depend
	$(MAKE) $(MFLAGS) $(WORLDOPTS)
	@@echo ""
	@@date
	@@echo ""
	@@echo "Full build of Release 1.2.3 of OSF/Motif complete."
	@@echo ""


Everything::
	@@echo ""
	@@echo "Rebuilding Release 1.2.3 of OSF/Motif"
	@@echo ""
	@@date
	@@echo ""
	cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
	$(MAKE) $(MFLAGS) -f Makefile.bak Makefile
	$(MAKE) $(MFLAGS) Makefiles
	$(MAKE) $(MFLAGS) testsMakefile
	$(MAKE) $(MFLAGS) includes
	$(MAKE) $(MFLAGS) depend
	$(MAKE) $(MFLAGS) $(WORLDOPTS)
	@@echo ""
	@@date
	@@echo ""
	@@echo "Rebuild of Release 1.2.3 of OSF/Motif complete."
	@@echo ""

XCOMM Bootstrap the toplevel Makefile in tests subdirectory.

testsMakefile::
	-if [ -d tests ] ; then \
	cd tests; if [ -f Makefile ] ; then set -x; \
	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	fi; \
	$(TESTS_IMAKE) -I../$(CONFIGSRC) $(IMAKE_DEFINES) -DTOPDIR=../. -DCURDIR=$(CURRENT_DIR)/tests ; fi
@


1.2
log
@Removed config and tools/wml from SUBDIRS.  Added athena to SUBDIRS.
@
text
@d8 1
a8 1
XCOMM   $RCSfile: Imakefile,v $ $Revision: 1.1 $ $Date: 1995/09/05 09:01:36 $
d17 1
a17 1
      SUBDIRS = lib clients $(DEMOSDIRECTORY) bitmaps bindings athena
@


1.1
log
@Initial revision
@
text
@d8 1
a8 1
XCOMM   $RCSfile: Imakefile,v $ $Revision: 1.2 $ $Date: 94/02/25 16:48:40 $
d17 1
a17 1
      SUBDIRS = config lib tools/wml clients $(DEMOSDIRECTORY) bitmaps bindings
@
