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
/
vgmclose
/
Makefile.bak
< prev
next >
Wrap
Makefile
|
1992-10-01
|
14KB
|
493 lines
# Makefile generated by imake - do not edit!
# ---------------------------------------------------------------------------
# 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 ultrix.cf to change
# -------------------------------------------------------------------------
# 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/static/khoros/src
CURRENT_DIR = .
AR = ar cq
BOOTSTRAPCFLAGS =
CC = cc
LIBCC = cc
YACC = yacc
LEX = lex
FC = f77 -O
FDEBUGFLAGS =
FCFLAGS = $(FDEBUGFLAGS)
LIBFDEBUGFLAGS =
LIBFCOPTIONS =
FLIBFLAGS = $(LIBFDEBUGFLAGS) $(LIBFCOPTIONS)
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
INSTALL = install
LD = $(CC)
LIBLD = $(CC)
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
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 = -Wf,-XNh2000 -Olimit 2000
LIBCCOPTIONS = -Wf,-XNh2000 -Olimit 2000
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 =
MACROFILE = ultrix.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)
BINDIR = /research/static/khoros/bin
INCROOT = /research/static/khoros/include
KLIBDIR = /research/static/khoros/lib
FORLIBDIR = FortranLibDir
XLIBDIR = XLibDir
EXTRALIBDIR = ExtraLibDir
CONFIGDIR = /research/static/khoros/repos/config/imake_conf
MANDIR = /research/static/khoros/man/man1
LIBMANDIR = /research/static/khoros/man/man3
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = makemake
DEPEND = makedepend
IMKMF = imkmf
BASENAME = /usr/bin/basename
CONFIGSRC = /research/static/khoros/repos/config/imake_conf
DEPENDSRC = $(TOP)/public_domain/makedepend
IMAKESRC = /research/static/khoros/config
MAKEMAKESRC = $(TOP)/scripts/tools/makemake
SCRIPTSRC = /research/static/khoros/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 = -lUfor -lfor -lutil -li -lots
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/dsp/donohoe/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 = prog
TOOLBOX =\
/research/dsp/donohoe/morpho
HEADERS =\
vgmclose.h
SRCS =\
vgmclose.c
OBJS =\
vgmclose.o
YSRCS =
LSRCS =
PROGRAM_NAME =\
vgmclose
LDLIBS = \
$(TOOLBOX_LIBRARIES) \
$(LOCAL_LIBRARIES) \
$(EXTRA_LIBRARIES) \
$(SYS_LIBRARIES)
DEPLIBS = \
$(TOOLBOX_DEP_LIBRARIES) \
$(LOCAL_DEP_LIBRARIES)
PROGRAM = $(PROGRAM_NAME)
all:: $(PROGRAM_NAME)
$(PROGRAM_NAME): $(OBJS) $(FOBJS) $(DEPLIBS)
$(RM) $@
$(LD) -o $@ $(OBJS) $(FOBJS) $(LDOPTIONS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
.y.o:
$(YACC) $(YFLAGS) $<
$(SED) -e 's/GENERIC_/$(PROGRAM)_/g' < $(SCRIPTSRC)/lexyacc_sed.rules > sed.rules.mod
$(SED) -f sed.rules.mod < y.tab.c > y.tab.mod
$(RM) y.tab.c sed.rules.mod
$(MV) y.tab.mod y.tab.c
$(CC) -c $(CFLAGS) y.tab.c
$(MV) y.tab.o $*.o
$(RM) y.tab.c
.l.o:
$(RM) lex.yy.c
$(LEX) $(LFLAGS) $< > lex.yy.c
$(SED) -e 's/GENERIC_/$(PROGRAM)_/g' < $(SCRIPTSRC)/lexyacc_sed.rules > sed.rules.mod
$(SED) -f sed.rules.mod < lex.yy.c > lex.yy.mod
$(RM) lex.yy.c sed.rules.mod
$(MV) lex.yy.mod lex.yy.c
$(CC) -c $(CFLAGS) lex.yy.c
$(MV) lex.yy.o $*.o
$(RM) lex.yy.c
.y.c:
$(YACC) $(YFLAGS) $<
$(SED) -e 's/GENERIC_/$(PROGRAM)_/g' < $(SCRIPTSRC)/lexyacc_sed.rules > sed.rules.mod
$(SED) -f sed.rules.mod < y.tab.c > y.tab.mod
$(RM) y.tab.c sed.rules.mod
$(MV) y.tab.mod y.tab.c
$(CC) -c $(CFLAGS) y.tab.c
$(MV) y.tab.o $*.o
$(RM) y.tab.c
.l.c:
$(RM) lex.yy.c
$(LEX) $(LFLAGS) $< > lex.yy.c
$(SED) -e 's/GENERIC_/$(PROGRAM)_/g' < $(SCRIPTSRC)/lexyacc_sed.rules > sed.rules.mod
$(SED) -f sed.rules.mod < lex.yy.c > lex.yy.mod
$(RM) lex.yy.c sed.rules.mod
$(MV) lex.yy.mod lex.yy.c
$(CC) -c $(CFLAGS) lex.yy.c
$(MV) lex.yy.o $*.o
$(RM) lex.yy.c
saber_$(PROGRAM_NAME):
#load $(ALLDEFINES) $(SRCS) $(ALLLIBDIRS) $(TOOLBOXLIBDIR) $(LDLIBS)
osaber_$(PROGRAM_NAME):
#load $(ALLDEFINES) $(OBJS) $(ALLLIBDIRS) $(TOOLBOXLIBDIR) $(LDLIBS)
install:: $(PROGRAM_NAME)
$(INSTALL) $(INSTPGMFLAGS) $(PROGRAM_NAME) $(BINDIR)
$(RM) $(PROGRAM_NAME)
install.man:: $(PROGRAM_NAME).1
$(INSTALL) $(INSTMANFLAGS) $(PROGRAM_NAME).1 $(MANDIR)
install.libman:: l$(PROGRAM_NAME).3
$(INSTALL) $(INSTMANFLAGS) l$(PROGRAM_NAME).3 $(LIBMANDIR)
depend::
$(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) $(YSRCS) $(LSRCS)
@$(RM) Makefile.bak
gw::
$(GHOSTWRITER) -a $(GHOSTANS)
gr::
$(GHOSTREADER) -a $(GHOSTANS)
help::
helppage -i $(PROGRAM_NAME)
clean::
$(RM) $(PROGRAM)
.f.o:
$(RM) $@
$(FC) -c $(FLIBFLAGS) $*.f
AllImakefiles: Imakefile
Imakefile::
$(IMKMF)
$(MAKE) Makefile
GenAllImakefiles: GenImakefile
GenImakefile::
@$(RM) Imakefile
@case $(IMAKEFILE) in \
"lib") $(IMKMF) -type $(IMAKEFILE) -name $(LIBRARY_NAME) -toolbox $(TOOLBOX);; \
"prog") $(IMKMF) -type $(IMAKEFILE) -name $(PROGRAM_NAME) -toolbox $(TOOLBOX);; \
"fprog") $(IMKMF) -type $(IMAKEFILE) -name $(PROGRAM_NAME) -toolbox $(TOOLBOX);; \
"xprog") $(IMKMF) -type $(IMAKEFILE) -name $(PROGRAM_NAME) -toolbox $(TOOLBOX);; \
"fxprog") $(IMKMF) -type $(IMAKEFILE) -name $(PROGRAM_NAME) -toolbox $(TOOLBOX);; \
"script") $(IMKMF) -type $(IMAKEFILE) -name $(SCRIPT_NAME) -toolbox $(TOOLBOX);; \
esac; \
$(MAKE) Makefile
Imakefiles::
GenImakefiles::
RCSco:
co -l $(YSRCS) $(LSRCS) $(FSRCS) $(SRCS) $(HEADERS) $(SCRIPTS)
RCSci:
@if [ ! -d RCS ]; then mkdir RCS; fi; \
ci $(YSRCS) $(LSRCS) $(FSRCS) $(SRCS) $(HEADERS) $(SCRIPTS)
proto::
-@for i in $(SRCS); do\
protoize $(PROTOFLAGS) $$i; \
done
y.tab.h: $(YSRCS)
y.tab.c: $(YSRCS)
y.tab.o: y.tab.c y.tab.h
# -------------------------------------------------------------------------
# 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)
# -------------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
install::
@echo "install in $(CURRENT_DIR) done"
Makefiles::
includes::
# -------------------------------------------------------------------------
# dependencies generated by makedepend
# DO NOT DELETE
vgmclose.o: /research/static/khoros/include/unmcopyright.h vgmclose.h
vgmclose.o: /research/static/khoros/include/vinclude.h /usr/include/stdio.h
vgmclose.o: /usr/include/signal.h /usr/include/sys/signal.h
vgmclose.o: /usr/include/vm/faultcode.h /usr/include/setjmp.h
vgmclose.o: /usr/include/ctype.h /usr/include/pwd.h /usr/include/sys/types.h
vgmclose.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
vgmclose.o: /usr/include/errno.h /usr/include/sys/errno.h
vgmclose.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
vgmclose.o: /usr/include/sys/stat.h /usr/include/sys/time.h
vgmclose.o: /usr/include/sys/time.h /usr/include/sys/dir.h
vgmclose.o: /usr/include/string.h /research/static/khoros/include/khoros.h
vgmclose.o: /research/static/khoros/include/viff.h
vgmclose.o: /research/static/khoros/include/vmath.h /usr/include/math.h
vgmclose.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
vgmclose.o: /research/static/khoros/include/keywords.h
vgmclose.o: /research/static/khoros/include/toolboxes.h
vgmclose.o: /research/static/khoros/include/fortran.h
vgmclose.o: /research/static/khoros/include/vdefines.h
vgmclose.o: /research/static/khoros/include/kfile.h