home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
m
/
morpho.zip
/
morpho
/
src
/
Makefile
< prev
Wrap
Makefile
|
1992-10-01
|
14KB
|
510 lines
# Makefile generated by imake - do not edit!
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
# ---------------------------------------------------------------------------
# Khoros Makefile generated from "Khoros.tmpl" and <Imakefile>
#
# Platform-specific parameters may be set in the appropriate .cf
# configuration files. Site-wide parameters may be set in the file
# Site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor doesn't define any unique symbols, you'll need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make Makefile", "make Makefiles", or "make World").
#
# If you absolutely can't get imake to work, you'll need to set the
# variables at the top of each Makefile as well as the dependencies at the
# bottom (makedepend will do this automatically).
#
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# Beginning of Khoros Sun Library configuration file - sunLib.def.
# -------------------------------------------------------------------------
# Khoros site-specific configuration parameters - edit Site.def to change
# Beginning of Khoros site configuration file - Site.def.
# -------------------------------------------------------------------------
# Khoros Template configuration parameters
SHELL = /bin/sh
TOP = /research/devel/khaos/src
CURRENT_DIR = .
AR = ar cq
BOOTSTRAPCFLAGS =
CC = cc
LIBCC = cc
YACC = yacc
LEX = lex
FC = /usr/lang/f77 -O
FDEBUGFLAGS =
FCFLAGS = $(FDEBUGFLAGS)
LIBFDEBUGFLAGS =
LIBFCOPTIONS = -PIC
FLIBFLAGS = $(LIBFDEBUGFLAGS) $(LIBFCOPTIONS)
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
INSTALL = install
LD = $(CC)
LIBLD = ld
LN = ln -s
MAKE = make
MV = mv
CP = cp
SED = sed
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
STD_INCLUDES =
XINCLUDES =
EXTRA_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
LOCALDEFINES =
EXTRA_LOAD_FLAGS =
TAGS = ctags
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
KHOROS_DEFINES = -DVFORK -DTEMPNAM -DPUTENV -DRANDOM -DWAIT3
TRANSPORT_DEFINES =
INSTPGMFLAGS = -s
INSTBINFLAGS = -m 0775
INSTLIBFLAGS = -m 0664
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTSCRIPTFLAGS = -m 0755
DESTDIR =
TOP_INCLUDES = -I$(INCROOT)
CDEBUGFLAGS = -O
LIBCDEBUGFLAGS = -O
CCOPTIONS = -Bdynamic
LIBCCOPTIONS = -PIC
ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(TOOLBOXINCLUDE) $(XINCLUDES) $(EXTRA_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(KHOROS_DEFINES) $(TRANSPORT_DEFINES) $(SIGNAL_DEFINES) $(TOOLBOXDEFINES) $(LOCALDEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
CLIBFLAGS = $(LIBCDEBUGFLAGS) $(LIBCCOPTIONS) $(ALLDEFINES)
YFLAGS = -d
LFLAGS = -n
LDOPTIONS = $(ALLLIBDIRS) $(TOOLBOXLIBDIR) $(CDEBUGFLAGS) $(CCOPTIONS)
LIBLDOPTIONS = -assert pure-text
MACROFILE = sun.cf
RM_CMD = $(RM) *.o core *.a tags TAGS
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Khoros.tmpl $(IRULESRC)/Khoros.rules \
$(IRULESRC)/Library.def $(IRULESRC)/Site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
PATHSEP = /
LOADERLIBPREFIX = -L
ALLLIBDIRS = $(LOADERLIBPREFIX)$(KLIBDIR) $(LOADERLIBPREFIX)$(FORLIBDIR)
BINDIR = /research/devel/khaos/bin
INCROOT = /research/devel/khaos/include
KLIBDIR = /research/devel/khaos/lib
FORLIBDIR = /usr/lang/SC1.0.1
XLIBDIR = XLibDir
EXTRALIBDIR = ExtraLibDir
CONFIGDIR = /research/devel/khaos/repos/config/imake_conf
MANDIR = /research/devel/khaos/man/man1
LIBMANDIR = /research/devel/khaos/man/man3
SOREV = 1.5
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = makemake
DEPEND = makedepend
IMKMF = imkmf
BASENAME = /usr/bin/basename
CONFIGSRC = /research/devel/khaos/repos/config/imake_conf
DEPENDSRC = $(TOP)/public_domain/makedepend
IMAKESRC = /research/devel/khaos/config
MAKEMAKESRC = $(TOP)/scripts/tools/makemake
SCRIPTSRC = /research/devel/khaos/repos/config/scripts
FORTRANSCRIPT =
GHOSTWRITER = ghostwriter
GHOSTREADER = ghostreader
GHOSTANS = ./ghost.ans
PROTOFLAGS =
# Beginning of the Khoros data transport definitions
# Beginning of Khoros library configuration file - Library.def.
LIBDIR = $(KLIBDIR)
NUM_ANALLIB = -lnum_anal
DSPLLIB = -ldspl
FILEFORMATLIB = -lformat
GEO_SURFLIB = -lgeo_surf
GHOSTLIB = -lghost
VEXPRLIB = -lvexpr
LINPACKLIB = -llinpack
EISPACKLIB = -leispack
TIFFLIB = -ltiff
VMATHLIB = -lvmath
VERRORLIB = -lverror
VGPARMLIB = -lvgparm
VIPLLIB = -lvipl
VRASTLIB = -lvrast
VUTILSLIB = -lvutils
XVDISPLAYLIB = -ldisplay
XVFORMSLIB = -lxvforms
XVGRAPHICSLIB = -lgraphics
XVPARSERLIB = -lxvparser
XVPLOTLIB = -lxvplot
XVUTILSLIB = -lxvutils
DEPENDNUM_ANALLIB = $(KLIBDIR)/libnum_anal.a
DEPENDDSPLLIB = $(KLIBDIR)/libdspl.a
DEPENDFILEFORMATLIB = $(KLIBDIR)/libformat.a
DEPENDGEO_SURFLIB = $(KLIBDIR)/libgeo_surf.a
DEPENDVEXPRLIB = $(KLIBDIR)/libvexpr.a
DEPENDGHOSTLIB = $(KLIBDIR)/libghost.a
DEPENDLINPACKLIB = $(KLIBDIR)/liblinpack.a
DEPENDEISPACKLIB = $(KLIBDIR)/libeispack.a
DEPENDTIFFLIB = $(KLIBDIR)/libtiff.a
DEPENDVMATHLIB = $(KLIBDIR)/libvmath.a
DEPENDVERRORLIB = $(KLIBDIR)/libverror.a
DEPENDVGPARMLIB = $(KLIBDIR)/libvgparm.a
DEPENDVIPLLIB = $(KLIBDIR)/libvipl.a
DEPENDVRASTLIB = $(KLIBDIR)/libvrast.a
DEPENDVUTILSLIB = $(KLIBDIR)/libvutils.a
DEPENDXVDISPLAYLIB = $(KLIBDIR)/libdisplay.a
DEPENDXVFORMSLIB = $(KLIBDIR)/libxvforms.a
DEPENDXVGRAPHICSLIB = $(KLIBDIR)/libgraphics.a
DEPENDXVPARSERLIB = $(KLIBDIR)/libxvparser.a
DEPENDXVPLOTLIB = $(KLIBDIR)/libxvplot.a
DEPENDXVUTILSLIB = $(KLIBDIR)/libxvutils.a
X_LOCAL_LIBRARIES = \
$(XVDISPLAYLIB) \
$(XVPLOTLIB) \
$(XVGRAPHICSLIB) \
$(XVFORMSLIB) \
$(XVUTILSLIB)
LOCAL_LIBRARIES = \
$(GHOSTLIB) \
$(VEXPRLIB) \
$(NUM_ANALLIB) \
$(DSPLLIB) \
$(FILEFORMATLIB) \
$(GEO_SURFLIB) \
$(VIPLLIB) \
$(VUTILSLIB) \
$(VMATHLIB) \
$(VRASTLIB) \
$(VGPARMLIB) \
$(VERRORLIB) \
$(TIFFLIB)
FOR_LOCAL_LIBRARIES = \
$(LINPACKLIB) \
$(EISPACKLIB)
SYS_LIBRARIES = -lm -ll
X_LIBRARIES = -lXaw -lXmu -lXt -lXext -lX11
FOR_SYS_LIBRARIES = -lF77
EXTRA_LIBRARIES =
X_LOCAL_DEP_LIBRARIES = \
$(DEPENDXVDISPLAYLIB) \
$(DEPENDXVPLOTLIB) \
$(DEPENDXVGRAPHICSLIB) \
$(DEPENDXVFORMSLIB) \
$(DEPENDXVUTILSLIB)
LOCAL_DEP_LIBRARIES = \
$(DEPENDGHOSTLIB) \
$(DEPENDVEXPRLIB) \
$(DEPENDNUM_ANALLIB) \
$(DEPENDDSPLLIB) \
$(DEPENDFILEFORMATLIB) \
$(DEPENDGEO_SURFLIB) \
$(DEPENDVIPLLIB) \
$(DEPENDVUTILSLIB) \
$(DEPENDVMATHLIB) \
$(DEPENDVRASTLIB) \
$(DEPENDVGPARMLIB) \
$(DEPENDVERRORLIB) \
$(DEPENDTIFFLIB)
FOR_LOCAL_DEP_LIBRARIES = \
$(DEPENDLINPACKLIB) \
$(DEPENDEISPACKLIB)
# Beginning of Khoros imake rules - Khoros.rules
# -------------------------------------------------------------------------
# start of Imakefile
## Beginning of the Khoros generic toolbox configuration file
TB_NAME = /research/vision/sauer/morpho/morpho
LIBDIR = $(TB_NAME)/lib
BINDIR = $(TB_NAME)/bin
TOOLBOXINCLUDE = -I$(TB_NAME)/include
TOOLBOXLIBDIR = -L$(LIBDIR)
TOOLBOXDEFINES =
TOOLBOX_LIBRARIES = -lmorpho
TOOLBOX_DEP_LIBRARIES = $(LIBDIR)/libmorpho.a
FOR_TOOLBOX_LIBRARIES =
FOR_TOOLBOX_DEP_LIBRARIES =
X_TOOLBOX_LIBRARIES =
X_TOOLBOX_DEP_LIBRARIES =
IMAKEFILE = dir
TOOLBOX =\
morpho
SUBDIRS =\
Lib \
vgballse \
vgdiskse \
vgmclose \
vgmdilate \
vgmerode \
vgmopen \
vgmtophat
depend::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "depending" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) depend); \
done
all::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all); \
done
Imakefile::
$(IMKMF)
$(MAKE) Makefile
GenImakefile::
$(RM) Imakefile
$(IMKMF) -type dir -toolbox $(TOOLBOX); \
$(MAKE) Makefile
AllImakefiles: Imakefile Imakefiles
Imakefiles::
-@for i in $(SUBDIRS); do\
(cd $$i; echo Making "Imakefile in $(CURRENT_DIR)/$$i..."; \
$(MAKE) Imakefile; \
$(MAKE) Imakefiles); \
done
GenAllImakefiles: GenImakefile GenImakefiles
GenImakefiles::
-@for i in $(SUBDIRS); do\
(cd $$i; echo Making "Imakefile in $(CURRENT_DIR)/$$i..."; \
$(MAKE) GenImakefile; \
$(MAKE) GenImakefiles); \
done
gw::
-@for i in $(SUBDIRS); do\
(cd $$i; echo "Running ghostwriter in $(CURRENT_DIR)/$$i..."; \
$(MAKE) gw); \
done
gr::
-@for i in $(SUBDIRS); do\
(cd $$i; echo "Running ghostreader in $(CURRENT_DIR)/$$i..."; \
$(MAKE) gr); \
done
help::
-@for i in $(SUBDIRS); do\
(cd $$i; echo "Running helppage in $(CURRENT_DIR)/$$i..."; \
$(MAKE) help); \
done
RCSci:
-@for i in $(SUBDIRS); do\
if [ "$$i" != "public_domain" ]; then \
(cd $$i; echo "Running RCS check-in in $(CURRENT_DIR)/$$i..."; \
$(MAKE) RCSci); \
else \
echo "Not decending into the public_domain subdirectory"; \
fi; \
done
RCSco:
-@for i in $(SUBDIRS); do\
if [ "$$i" != "public_domain" ]; then \
(cd $$i; echo "Running RCS check-out in $(CURRENT_DIR)/$$i..."; \
$(MAKE) RCSco); \
else \
echo "Not decending into the public_domain subdirectory"; \
fi; \
done
help::
-@for i in $(SUBDIRS); do\
(cd $$i; echo "Running proto in $(CURRENT_DIR)/$$i..."; \
$(MAKE) proto); \
done
# -------------------------------------------------------------------------
# end of Imakefile
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) \#*
AllMakefiles:: Makefile Makefiles
Makefile::
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch] > tags
saber:
# load $(ALLDEFINES) $(SRCS)
osaber:
# load $(ALLDEFINES) $(OBJS)
# -------------------------------------------------------------------------
# rules for building in SUBDIRS - do not edit
install::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install); \
done
install.man::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \
done
install.libman::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing lib man pages" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.libman); \
done
clean::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \
done
tags::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "tagging" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags); \
done
Makefiles::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \
case "$$i" in \
./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
./?*/?*/?*) newtop=../../../ sub=subsubsub;; \
./?*/?*) newtop=../../ sub=subsub;; \
./?*) newtop=../ sub=sub;; \
*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
*/?*/?*) newtop=../../../ sub=subsubsub;; \
*/?*) newtop=../../ sub=subsub;; \
*) newtop=../ sub=sub;; \
esac; \
case "$(TOP)" in \
/?*) newtop= upprefix= ;; \
*) upprefix=../ ;; \
esac; \
$(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \
MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\
done
subdirMakefiles:
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
$(MAKE) $(MFLAGS) Makefiles
subsubdirMakefiles:
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
$(MAKE) $(MFLAGS) Makefiles
subsubsubdirMakefiles:
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
$(MAKE) $(MFLAGS) Makefiles
subsubsubsubdirMakefiles:
cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
$(MAKE) $(MFLAGS) Makefiles
includes::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo including "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) includes); \
done
# -------------------------------------------------------------------------
# dependencies generated by makedepend