home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-07-12 | 25.3 KB | 954 lines |
- # Makefile generated by imake - do not edit!
- # $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
-
- # ----------------------------------------------------------------------
- # Makefile generated from "Imake.tmpl" and <Imakefile>
- # $XConsortium: Imake.tmpl,v 1.224 94/12/27 03:57:50 gildea Exp $
- #
-
- .SUFFIXES: .i
-
- # $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $
-
- # -----------------------------------------------------------------------
- # site-specific configuration parameters that need to come before
- # the platform-specific parameters - edit site.def to change
-
- # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
-
- # -----------------------------------------------------------------------
- # platform-specific configuration parameters - edit sco.cf to change
-
- # platform: $XConsortium: sco.cf,v hess Exp $
-
- REQUIREDLIBS=-lX11 -lm
-
- SYS_LIBRARIES=-lm
-
- # this version of ld will allow us to build DLL's with C++ modules
- LDSO=$(TOP)/build/Unix/config/util/ldso
-
- # $XConsortium: sv4Lib.rules,v 1.14 94/04/09 12:00:10 rws Exp $
-
- # operating system: Everest Build Environment "The Santa Cruz Operation"
-
- # -----------------------------------------------------------------------
- # site-specific configuration parameters that go after
- # the platform-specific parameters - edit site.def to change
-
- # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
-
- # -----------------------------------------------------------------------
- # Imake rules for building libraries, programs, scripts, and data files
- # rules: $XConsortium: Imake.rules,v 1.197 94/12/05 19:30:41 gildea Exp $
-
- PATHSEP = /
- SHELL = /bin/sh
-
- TOP = ../../..
- CURRENT_DIR = bin
-
- IMAKE = $(IMAKESRC)/imake
- DEPEND = $(DEPENDSRC)/makedepend
- MKDIRHIER = $(SHELL) $(CONFIGSRC)/util/mkdirhier.sh
- CONFIGSRC = $(TOP)/build/Unix/config
- IMAKESRC = $(CONFIGSRC)/imake
- DEPENDSRC = $(CONFIGSRC)/makedepend
- IXXSRC = $(TOP)/build/Unix/bin
- IXX = $(IXXSRC)/ixx
- IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
- IXXINCLUDES = -i '<Fresco/enter-scope.h>'
-
- INCROOT = /usr/include
- USRLIBDIR = /usr/lib
- SHLIBDIR = /usr/lib
- LINTLIBDIR = $(USRLIBDIR)/lint
- MANPATH = /usr/man
- MANSOURCEPATH = $(MANPATH)/man
- MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
- LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
- FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
-
- AR = ar clq
- BOOTSTRAPCFLAGS = -Dsco -DSCO -DSVR4 -DSYSV
- CC = cc
- AS = as
-
- .SUFFIXES: .cxx
-
- CXX = CC +.cxx -b elf +d
- CXXDEBUGFLAGS = -g
- CXXEXTRA_DEFINES =
- CXXEXTRA_INCLUDES =
- CXXDEPEND_INCLUDES =
- CXXIDL_INCLUDES =
- CXXSTD_DEFINES = -Dsco -DSCO -DSVR4 -DSYSV
- CXXOPTIONS =
- CXXINCLUDES = $(INCLUDES) $(CXXEXTRA_INCLUDES) $(TOP_INCLUDES) -I$(INCROOT)
- CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(CXXEXTRA_DEFINES) $(THREADS_CXXDEFINES)
- CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
-
- COMPRESS = compress
- CPP = /lib/cpp $(STD_CPP_DEFINES)
- PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
- INSTALL = sh $(TOP)/config/util/install.sh
- INSTALLFLAGS = -c
- LD = ld
- LEX = lex
- LEXLIB = -ll
- YACC = byacc
- CCYACC = byacc
- LINT = lint
- LINTLIBFLAG = -o
- LINTOPTS = -bh
- LN = ln -s
- MAKE = make
- MOVEIFCHANGE = $(SHELL) $(CONFIGSRC)/util/move-if-change.sh
- MV = mv
- CP = cp
-
- RM = rm -f
- MANSUFFIX = n
- LIBMANSUFFIX = 3
- FILEMANSUFFIX = 4
- TROFF = psroff
- MSMACROS = -ms
- TBL = tbl
- EQN = eqn
-
- DVIPS = dvips
- LATEX = latex
-
- TCL_INCLUDES =
- STD_INCLUDES =
- STD_CPP_DEFINES = -Dsco -DSCO -DSVR4 -DSYSV
- STD_DEFINES = -Dsco -DSCO -DSVR4 -DSYSV
- EXTRA_LOAD_FLAGS =
- EXTRA_LDOPTIONS =
- EXTRA_LIBRARIES = -lsocket -lmalloc
- TAGS = ctags
-
- MFLAGS = -$(MAKEFLAGS)
-
- SHAREDCODEDEF =
- SHLIBDEF =
-
- SHLIBLDFLAGS = -G
-
- PICFLAGS = -K PIC
-
- CXXPICFLAGS = -K PIC
-
- PROTO_DEFINES =
-
- INSTPGMFLAGS = -s
-
- INSTBINFLAGS = -m 0755
- INSTUIDFLAGS = -m 4755
- INSTLIBFLAGS = -m 0644
- INSTINCFLAGS = -m 0444
- INSTMANFLAGS = -m 0444
- INSTDATFLAGS = -m 0444
- INSTKMEMFLAGS = -m 4755
-
- PROJECTROOT = /usr
-
- TOP_INCLUDES = -I$(TOP)
-
- CDEBUGFLAGS = -g
- CCOPTIONS =
-
- ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) -I$(INCROOT)
- ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
- LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
- X11PRELIB = -L$(USRLIBDIR)
- TCLPRELIB =
- LDPRELIB = -L$(BUILDLIBDIR)
- LDPOSTLIB = -L$(USRLIBDIR)
- LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
- CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
-
- LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
-
- CCLINK = $(CC)
-
- CXXLINK = $(CXX)
-
- LDSTRIPFLAGS = -x
- LDCOMBINEFLAGS = -r
- DEPENDFLAGS = -b
-
- MACROFILE = sco.cf
- RM_CMD = $(RM)
-
- IMAKE_DEFINES =
-
- IRULESRC = $(CONFIGSRC)/cf
- IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES)
-
- ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl \
- $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \
- $(EXTRA_ICONFIGFILES)
-
- # ----------------------------------------------------------------------
- # X Window System Build Parameters and Rules
- # $XConsortium: Project.tmpl,v 1.248 95/01/06 19:12:51 gildea Exp $
-
- # -----------------------------------------------------------------------
- # X Window System make variables; these need to be coordinated with rules
-
- BINDIR = /usr/bin
- BUILDINCROOT = $(TOP)
- BUILDINCDIR = $(BUILDINCROOT)/Fresco
- BUILDINCTOP = ..
- BUILDLIBDIR = $(TOP)/build/Unix/lib
- BUILDLIBTOP = ../../..
- INCDIR = $(INCROOT)/Fresco
- ADMDIR = /usr/adm
- LIBDIR = $(USRLIBDIR)/X11
-
- FONTDIR = $(LIBDIR)/fonts
- XINITDIR = $(LIBDIR)/xinit
- XDMDIR = $(LIBDIR)/xdm
- TWMDIR = $(LIBDIR)/twm
- XSMDIR = $(LIBDIR)/xsm
- NLSDIR = $(LIBDIR)/nls
- XLOCALEDIR = $(LIBDIR)/locale
- PEXAPIDIR = $(LIBDIR)/PEX
- XAPPLOADDIR = $(LIBDIR)/app-defaults
- FONTCFLAGS = -t
-
- INSTAPPFLAGS = $(INSTDATFLAGS)
-
- RGB = $(RGBSRC)/rgb
- FONTC = $(BDFTOPCFSRC)/bdftopcf
- MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
-
- DOCUTILSRC = $(TOP)/doc/util
- XDOCMACROS = $(DOCUTILSRC)/macros.t
- XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
- PROGRAMSRC = $(TOP)/programs
- LIBSRC = $(TOP)/lib
- FONTSRC = $(TOP)/fonts
- INCLUDESRC = $(TOP)/X11
- SERVERSRC = $(TOP)/programs/Xserver
- CONTRIBSRC = $(TOP)/contrib
- UNSUPPORTEDSRC = $(TOP)/unsupported
- DOCSRC = $(TOP)/doc
- RGBSRC = $(TOP)/programs/rgb
- BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
- MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
- FONTSERVERSRC = $(PROGRAMSRC)/xfs
- FONTINCSRC = $(TOP)/include/fonts
- EXTINCSRC = $(TOP)/include/extensions
- TRANSCOMMSRC = $(LIBSRC)/xtrans
- TRANS_INCLUDES = -I$(TRANSCOMMSRC)
-
- # $XConsortium: sv4Lib.tmpl,v 1.19 93/12/03 10:48:36 kaleb Exp $
-
- XMULIBONLY = -lXmu
-
- XLIBSRC = $(LIBSRC)/X11
-
- SOXLIBREV = 6.0
- DEPXONLYLIB =
- XONLYLIB = -lX11
-
- LINTXONLY = $(XLIBSRC)/llib-X11.ln
-
- XLIBONLY = $(XONLYLIB)
-
- XEXTLIBSRC = $(LIBSRC)/Xext
-
- SOXEXTREV = 6.0
- DEPEXTENSIONLIB =
- EXTENSIONLIB = -lXext
-
- LINTEXTENSION = $(XEXTLIBSRC)/llib-Xext.ln
-
- LINTEXTENSIONLIB = $(LINTEXTENSION)
- DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
- XLIB = $(EXTENSIONLIB) $(XONLYLIB)
- LINTXLIB = $(LINTXONLYLIB)
-
- XAUTHSRC = $(LIBSRC)/Xau
-
- DEPXAUTHLIB = $(BUILDLIBDIR)/libXau.a
- XAUTHLIB = -lXau
-
- LINTXAUTH = $(XAUTHSRC)/llib-Xau.ln
-
- XDMCPLIBSRC = $(LIBSRC)/Xdmcp
-
- DEPXDMCPLIB = $(BUILDLIBDIR)/libXdmcp.a
- XDMCPLIB = -lXdmcp
-
- LINTXDMCP = $(XDMCPLIBSRC)/llib-Xdmcp.ln
-
- XMUSRC = $(LIBSRC)/Xmu
-
- SOXMUREV = 6.0
- DEPXMULIB =
- XMULIB = -lXmu
-
- LINTXMU = $(XMUSRC)/llib-Xmu.ln
-
- OLDXLIBSRC = $(LIBSRC)/oldX
-
- SOOLDXREV = 6.0
- DEPOLDXLIB =
- OLDXLIB = -loldX
-
- LINTOLDX = $(OLDXLIBSRC)/llib-oldX.ln
-
- TOOLKITSRC = $(LIBSRC)/Xt
-
- SOXTREV = 6.0
- DEPXTOOLONLYLIB =
- XTOOLONLYLIB = -lXt
-
- LINTXTOOLONLY = $(TOOLKITSRC)/llib-Xt.ln
-
- DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
- XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
- LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
-
- AWIDGETSRC = $(LIBSRC)/Xaw
-
- SOXAWREV = 6.0
- DEPXAWLIB =
- XAWLIB = -lXaw
-
- LINTXAW = $(AWIDGETSRC)/llib-Xaw.ln
-
- XTFSRC = $(TOP)/Fresco/Xtf
-
- SOXTFREV = 0.7
- DEPXTFLIB =
- XTFLIB = -lXtf
-
- LINTXTF = $(BUILDLIBDIR)/llib-Xtf.ln
-
- FRESCOSRC = $(TOP)/Fresco
-
- SOFRESCOREV = 0.7
- DEPFRESCOLIB =
- FRESCOLIB = -lFresco
-
- LINTFRESCO = $(BUILDLIBDIR)/llib-Fresco.ln
-
- XILIBSRC = $(LIBSRC)/Xi
-
- SOXINPUTREV = 6.0
- DEPXILIB =
- XILIB = -lXi
-
- LINTXI = $(XILIBSRC)/llib-Xi.ln
-
- XTESTLIBSRC = $(LIBSRC)/Xtst
-
- SOXTESTREV = 6.0
- DEPXTESTLIB =
- XTESTLIB = -lXtst
-
- LINTXTEST = $(XTESTLIBSRC)/llib-Xtst.ln
-
- PEXLIBSRC = $(LIBSRC)/PEX5
-
- SOPEXREV = 6.0
- DEPPEXLIB =
- PEXLIB = -lPEX5
-
- LINTPEX = $(PEXLIBSRC)/llib-PEX5.ln
-
- XIELIBSRC = $(LIBSRC)/XIE
-
- SOXIEREV = 6.0
- DEPXIELIB =
- XIELIB = -lXIE
-
- LINTXIE = $(XIELIBSRC)/llib-XIE.ln
-
- PHIGSLIBSRC = $(LIBSRC)/PHIGS
-
- DEPPHIGSLIB = $(BUILDLIBDIR)/libphigs.a
- PHIGSLIB = -lphigs
-
- LINTPHIGS = $(PHIGSLIBSRC)/llib-phigs.ln
-
- DEPXBSDLIB = $(BUILDLIBDIR)/libXbsd.a
- XBSDLIB = -lXbsd
-
- LINTXBSD = $(LIBSRC)/Xbsd/llib-Xbsd.ln
-
- ICESRC = $(LIBSRC)/ICE
-
- SOICEREV = 6.0
- DEPICELIB =
- ICELIB = -lICE
-
- LINTICE = $(ICESRC)/llib-ICE.ln
-
- SMSRC = $(LIBSRC)/SM
-
- SOSMREV = 6.0
- DEPSMLIB =
- SMLIB = -lSM
-
- LINTSM = $(SMSRC)/llib-SM.ln
-
- FSLIBSRC = $(LIBSRC)/FS
-
- DEPFSLIB = $(BUILDLIBDIR)/libFS.a
- FSLIB = -lFS
-
- LINTFS = $(FSLIBSRC)/llib-FS.ln
-
- FONTLIBSRC = $(LIBSRC)/font
-
- DEPFONTLIB = $(BUILDLIBDIR)/libfont.a
- FONTLIB = -lfont
-
- LINTFONT = $(FONTLIBSRC)/llib-font.ln
-
- DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-
- DEPLIBS1 = $(DEPLIBS)
- DEPLIBS2 = $(DEPLIBS)
- DEPLIBS3 = $(DEPLIBS)
-
- XMULIB = $(XMULIBONLY) -z nodefs
-
- CONFIGDIR = $(LIBDIR)/config/Fresco
-
- # -----------------------------------------------------------------------
- # start of Imakefile
-
- # $XConsortium: Fresco.tmpl,v 1.5 94/03/31 16:31:31 matt Exp $
- #
- # Definitions for using Fresco library
- #
-
- ALLDEFINES = $(CXXDEFINES)
- DEPEND_DEFINES = $(OX_DEFINES) $(DISH_INCLUDES) $(CXXDEPEND_INCLUDES)
-
- # $XConsortium: Threads.tmpl,v 1.3 94/03/30 12:04:19 gildea Exp $
-
- .cxx.o:
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $*.cxx
-
- DEFS_MAC_NEED_LIBS = Fresco.lib
- DEFS_IMPL_NEED_LIBS = -lmalloc
- DEFS_WIN32_NEED_LIBS = Fresco.lib libcmt.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
- DEFS_X11_NEED_LIBS = $(X11PRELIB) $(XONLYLIB)
- XTF_NEED_LIBS = SharedXtfReqs
- FIGURES_NEED_LIBS =
- LAYOUTS_NEED_LIBS =
- WIDGETS_NEED_LIBS =
- FIGURES_IMPL_NEED_LIBS = $(LDPRELIB) -lfigures -lFresco
- LAYOUTS_IMPL_NEED_LIBS = $(LDPRELIB) -llayouts -lFresco
- WIDGETS_IMPL_NEED_LIBS = $(LDPRELIB) -lwidgets -llayouts -lfigures -lFresco
- DISH_LIBRARIES = $(TCLPRELIB) -ltcl -lFresco
- FDRAW_LIBRARIES = -lwidgets -lfigures -llayouts -lFresco
- I2MIF_LIBRARIES = -lFresco
- IXX_LIBRARIES =
- TUTORIAL_LIBRARIES = -lfigures -lwidgets -llayouts -lFresco
-
- # $XConsortium: Ixx.tmpl,v 1.5 94/03/28 17:13:30 matt Exp $
- #
- # Definitions for using interface translator
- #
-
- IX = $(IXXSRC)/ixx
- IXCPP = /lib/cpp
- IXCONFIG = -dii -stubclass -prefix Xf
- IXFLAGS = $(IXCONFIG) $(EXTRA_IXFLAGS)
- IXINCLUDES = -i '<Fresco/defs/_enter.h>'
- IXCPPINCLUDES = $(CXXINCLUDES) $(CXXIDL_INCLUDES)
-
- .SUFFIXES: .idl
-
- .SUFFIXES: .filter
-
- IXSCHEMAFLAGS = $(IXFLAGS) -stubinclude '<Fresco/Ox/stub.h>'
-
- INTERFACES = *.idl
-
- HEADERS = \
- $(FDRAW_HEADERS)
-
- SRCS = \
- $(DISH_SRCS) \
- $(FDRAW_SRCS) \
- $(I2MIF_SRCS) \
- $(IXX_SRCS)
-
- PROGRAMS = \
- dish \
- fdraw \
- i2mif \
- ixx
-
- IXCONFIG =
-
- all:: $(PROGRAMS)
-
- depend filter headers type_ids.filter:: $(IXX)
-
- $(IXX):
- @echo "checking $@ over in $(IXXSRC) first..."; \
- cd $(IXXSRC); $(MAKE) $(MFLAGS) ixx; \
- echo "okay, continuing in $(CURRENT_DIR)"
-
- #
- # dish
- #
-
- DISH = $(TOP)/Fresco/cmd/dish
-
- DISH_SRCS = \
- $(DISH)/dish.cxx \
- $(DISH)/fdish.cxx
-
- DISH_OBJS = \
- dish.o \
- fdish.o
-
- DISH_INCLUDES = $(TCL_INCLUDES) -I$(TOP)/Fresco/Ox -I$(TOP)/Fresco/defs_impl
-
- dish.o: $(DISH)/dish.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(DISH_INCLUDES) $(DISH)/dish.cxx
-
- fdish.o: $(DISH)/fdish.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(DISH_INCLUDES) $(DISH)/fdish.cxx
-
- LOCAL_LDFLAGS=-u main
-
- dish: $(DISH_OBJS) $(DISH_DEPLIBS)
- $(RM) $@
- $(CXXLINK) -o $@ $(CXXLDOPTIONS) $(DISH_OBJS) $(DISH_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-
- install:: dish
- @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
- $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) dish $(DESTDIR)$(BINDIR)/dish
-
- install.man:: dish.man
- $(RM) $(MANDIR)/dish.$(MANSUFFIX)
- cat dish.man | neqn | nroff -man >/tmp/dish.man
- $(INSTALL) -c $(INSTMANFLAGS) /tmp/dish.man $(MANDIR)/dish.$(MANSUFFIX)
- $(RM) /tmp/dish.man
-
- #
- # Fdraw -- Fresco drawing editor demonstration program
- #
-
- FDRAW = $(TOP)/Fresco/cmd/fdraw
-
- FDRAW_HEADERS = \
- $(FDRAW)/schema.h
-
- FDRAW_SRCS = \
- $(FDRAW)/commands.cxx \
- $(FDRAW)/fdraw.cxx \
- $(FDRAW)/figviewer.cxx \
- $(FDRAW)/main.cxx \
- $(FDRAW)/manipulators.cxx \
- $(FDRAW)/selection.cxx \
- $(FDRAW)/schema.cxx \
- $(FDRAW)/tools.cxx \
- $(FDRAW)/visitors.cxx
-
- FDRAW_OBJS = \
- commands.o \
- fdraw.o \
- figviewer.o \
- main_fdraw.o \
- manipulators.o \
- selection.o \
- schema.o \
- tools.o \
- visitors.o
-
- commands.o: $(FDRAW)/commands.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/commands.cxx
-
- fdraw.o: $(FDRAW)/fdraw.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/fdraw.cxx
-
- figviewer.o: $(FDRAW)/figviewer.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/figviewer.cxx
-
- main_fdraw.o: $(FDRAW)/main.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/main.cxx
- $(MV) `basename $(FDRAW)/main`.o $@
-
- manipulators.o: $(FDRAW)/manipulators.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/manipulators.cxx
-
- selection.o: $(FDRAW)/selection.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/selection.cxx
-
- schema.o: $(FDRAW)/schema.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/schema.cxx
-
- tools.o: $(FDRAW)/tools.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/tools.cxx
-
- visitors.o: $(FDRAW)/visitors.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(FDRAW)/visitors.cxx
-
- fdraw: $(FDRAW_OBJS) $(FDRAW_DEPLIBS)
- $(RM) $@
- $(CXXLINK) -o $@ $(CXXLDOPTIONS) $(FDRAW_OBJS) $(FDRAW_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-
- install:: fdraw
- @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
- $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) fdraw $(DESTDIR)$(BINDIR)/fdraw
-
- install.man:: fdraw.man
- $(RM) $(MANDIR)/fdraw.$(MANSUFFIX)
- cat fdraw.man | neqn | nroff -man >/tmp/fdraw.man
- $(INSTALL) -c $(INSTMANFLAGS) /tmp/fdraw.man $(MANDIR)/fdraw.$(MANSUFFIX)
- $(RM) /tmp/fdraw.man
-
- # The stuff from here down is related to running the ixx translator
- # to filter implementation files based on corresponding IDL files.
- # You should not have to use this part unless you are modifying the
- # the Fresco IDL definitions.
-
- DEFS = $(TOP)/Fresco/defs
-
- filter:: $(FDRAW)/commands.filter
- $(FDRAW)/commands.filter:: $(DEFS)/types.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/commands-new.h
- @echo "Editing" $(FDRAW)/commands.h
- @cat $(DEFS)/types.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/commands.h > $(FDRAW)/commands-new.h
- @$(MOVEIFCHANGE) $(FDRAW)/commands-new.h $(FDRAW)/commands.h
-
- filter:: $(FDRAW)/figviewer.filter
- $(FDRAW)/figviewer.filter:: $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/figviewer-new.h
- @echo "Editing" $(FDRAW)/figviewer.h
- @cat $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/figviewer.h > $(FDRAW)/figviewer-new.h
- @$(MOVEIFCHANGE) $(FDRAW)/figviewer-new.h $(FDRAW)/figviewer.h
-
- filter:: $(FDRAW)/manipulators.filter
- $(FDRAW)/manipulators.filter:: $(DEFS)/types.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/manipulators-new.h
- @echo "Editing" $(FDRAW)/manipulators.h
- @cat $(DEFS)/types.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/manipulators.h > $(FDRAW)/manipulators-new.h
- @$(MOVEIFCHANGE) $(FDRAW)/manipulators-new.h $(FDRAW)/manipulators.h
-
- filter:: $(FDRAW)/tools.filter
- $(FDRAW)/tools.filter:: $(DEFS)/types.idl
- @$(RM) $(FDRAW)/tools-new.h
- @echo "Editing" $(FDRAW)/tools.h
- @cat $(DEFS)/types.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/tools.h > $(FDRAW)/tools-new.h
- @$(MOVEIFCHANGE) $(FDRAW)/tools-new.h $(FDRAW)/tools.h
-
- filter:: $(FDRAW)/commands.filter
- $(FDRAW)/commands.filter:: $(FDRAW)/schema.idl $(DEFS)/types.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/commands-new.cxx
- @echo "Editing" $(FDRAW)/commands.cxx
- @cat $(FDRAW)/schema.idl $(DEFS)/types.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/commands.cxx > $(FDRAW)/commands-new.cxx
- @$(MOVEIFCHANGE) $(FDRAW)/commands-new.cxx $(FDRAW)/commands.cxx
-
- filter:: $(FDRAW)/fdraw.filter
- $(FDRAW)/fdraw.filter:: $(FDRAW)/schema.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/fdraw-new.cxx
- @echo "Editing" $(FDRAW)/fdraw.cxx
- @cat $(FDRAW)/schema.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/fdraw.cxx > $(FDRAW)/fdraw-new.cxx
- @$(MOVEIFCHANGE) $(FDRAW)/fdraw-new.cxx $(FDRAW)/fdraw.cxx
-
- filter:: $(FDRAW)/figviewer.filter
- $(FDRAW)/figviewer.filter:: $(FDRAW)/schema.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/figviewer-new.cxx
- @echo "Editing" $(FDRAW)/figviewer.cxx
- @cat $(FDRAW)/schema.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/figviewer.cxx > $(FDRAW)/figviewer-new.cxx
- @$(MOVEIFCHANGE) $(FDRAW)/figviewer-new.cxx $(FDRAW)/figviewer.cxx
-
- filter:: $(FDRAW)/manipulators.filter
- $(FDRAW)/manipulators.filter:: $(FDRAW)/schema.idl $(DEFS)/types.idl $(DEFS)/glyph.idl
- @$(RM) $(FDRAW)/manipulators-new.cxx
- @echo "Editing" $(FDRAW)/manipulators.cxx
- @cat $(FDRAW)/schema.idl $(DEFS)/types.idl $(DEFS)/glyph.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/manipulators.cxx > $(FDRAW)/manipulators-new.cxx
- @$(MOVEIFCHANGE) $(FDRAW)/manipulators-new.cxx $(FDRAW)/manipulators.cxx
-
- filter:: $(FDRAW)/tools.filter
- $(FDRAW)/tools.filter:: $(FDRAW)/schema.idl $(DEFS)/types.idl
- @$(RM) $(FDRAW)/tools-new.cxx
- @echo "Editing" $(FDRAW)/tools.cxx
- @cat $(FDRAW)/schema.idl $(DEFS)/types.idl | $(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXFLAGS) -filter $(FDRAW)/tools.cxx > $(FDRAW)/tools-new.cxx
- @$(MOVEIFCHANGE) $(FDRAW)/tools-new.cxx $(FDRAW)/tools.cxx
-
- headers:: $(FDRAW)/schema.h
- $(FDRAW)/schema.h: $(FDRAW)/schema.idl
- @$(RM) $(FDRAW)/schema.h $(FDRAW)/schema.h-ix
- @echo "Generating $(FDRAW)/schema.h from $(FDRAW)/schema.idl"
- @$(IXCPP) $(CXXDEFINES) $(IXCPPINCLUDES) $(FDRAW)/schema.idl | \
- $(IX) -file $(FDRAW)/schema.idl $(IXFLAGS) $(IXINCLUDES) > $(FDRAW)/schema.h-ix
- @$(MV) $(FDRAW)/schema.h-ix $(FDRAW)/schema.h
- @chmod a-w $(FDRAW)/schema.h
-
- clean_headers::
- $(RM) $(FDRAW)/schema.h
-
- fdraw_schema: $(FDRAW)/schema.h
- @$(RM) fdraw_schema
- @echo "Generating fdraw_schema"
- @grep _Ix_SymbolDef $(FDRAW)/schema.h | \
- sed -e 's/.*SymbolDef \(.*\)$$/\#pragma ix ? \1/' > fdraw_schema
-
- clean::
- $(RM) fdraw_schema
-
- FDRAW_TYPES = \
- $(FDRAW)/schema-bounds \
- $(FDRAW)/schema.idl \
- fdraw_schema
-
- filter:: type_ids.filter
- type_ids.filter:: fdraw_schema
- @echo "Building" $(FDRAW)/schema.cxx
- @cat $(FDRAW_TYPES) $(FDRAW)/schema.cxx fdraw_schema | \
- $(IXCPP) -DIX_SCHEMA $(CXXDEFINES) $(IXCPPINCLUDES) | \
- $(IX) $(IXSCHEMAFLAGS) -schema $(FDRAW)/schema.cxx-ix
- @$(MOVEIFCHANGE) $(FDRAW)/schema.cxx-ix $(FDRAW)/schema.cxx
-
- #
- # IDL-to-MIF documentation generator
- #
-
- I2MIF = $(TOP)/Fresco/cmd/i2mif
-
- I2MIF_SRCS = $(I2MIF)/main.cxx
- I2MIF_OBJS = main_i2mif.o
-
- main_i2mif.o: $(I2MIF)/main.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) $(_NOOP_) $(I2MIF)/main.cxx
- $(MV) `basename $(I2MIF)/main`.o $@
-
- i2mif: $(I2MIF_OBJS) $(I2MIF_DEPLIBS)
- $(RM) $@
- $(CXXLINK) -o $@ $(CXXLDOPTIONS) $(I2MIF_OBJS) $(I2MIF_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-
- install:: i2mif
- @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
- $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) i2mif $(DESTDIR)$(BINDIR)/i2mif
-
- install.man:: i2mif.man
- $(RM) $(MANDIR)/i2mif.$(MANSUFFIX)
- cat i2mif.man | neqn | nroff -man >/tmp/i2mif.man
- $(INSTALL) -c $(INSTMANFLAGS) /tmp/i2mif.man $(MANDIR)/i2mif.$(MANSUFFIX)
- $(RM) /tmp/i2mif.man
-
- #
- # Interface translator
- #
-
- IXXS = $(TOP)/Fresco/cmd/ixx
-
- IXX_SRCS = \
- $(IXXS)/main.cxx \
- $(IXXS)/err.cxx \
- $(IXXS)/expr.cxx \
- $(IXXS)/generator.cxx \
- $(IXXS)/gen-hdr.cxx \
- $(IXXS)/gen-impl.cxx \
- $(IXXS)/gen-stubs.cxx \
- $(IXXS)/os.cxx \
- $(IXXS)/resolve.cxx \
- $(IXXS)/scanner.cxx \
- $(IXXS)/gram.y
-
- IXX_OBJS = \
- main_ixx.o \
- err.o \
- expr.o \
- generator.o \
- gen-hdr.o \
- gen-impl.o \
- gen-stubs.o \
- os.o \
- resolve.o \
- scanner.o \
- gram.o
-
- main_ixx.o: $(IXXS)/main.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/main.cxx
- $(MV) `basename $(IXXS)/main`.o $@
-
- err.o: $(IXXS)/err.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/err.cxx
-
- expr.o: $(IXXS)/expr.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/expr.cxx
-
- generator.o: $(IXXS)/generator.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/generator.cxx
-
- gen-hdr.o: $(IXXS)/gen-hdr.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/gen-hdr.cxx
-
- gen-impl.o: $(IXXS)/gen-impl.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/gen-impl.cxx
-
- gen-stubs.o: $(IXXS)/gen-stubs.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/gen-stubs.cxx
-
- os.o: $(IXXS)/os.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/os.cxx
-
- resolve.o: $(IXXS)/resolve.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/resolve.cxx
-
- scanner.o: $(IXXS)/scanner.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. $(IXXS)/scanner.cxx
-
- gram.o: gram.cxx
- $(RM) $@
- $(CXX) -c $(CXXFLAGS) -I. -I$(TOP)/Fresco/cmd/ixx gram.cxx
-
- ixx: $(IXX_OBJS) $(IXX_DEPLIBS)
- $(RM) $@
- $(CXXLINK) -o $@ $(CXXLDOPTIONS) $(IXX_OBJS) $(IXX_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-
- install:: ixx
- @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
- $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) ixx $(DESTDIR)$(BINDIR)/ixx
-
- install.man:: ixx.man
- $(RM) $(MANDIR)/ixx.$(MANSUFFIX)
- cat ixx.man | neqn | nroff -man >/tmp/ixx.man
- $(INSTALL) -c $(INSTMANFLAGS) /tmp/ixx.man $(MANDIR)/ixx.$(MANSUFFIX)
- $(RM) /tmp/ixx.man
-
- depend:: tokens
- generator.o: tokens
- scanner.o: tokens
-
- # -vd for y.output, -DYYDEBUG for debugging
- YFLAGS = -d
-
- # If gram.cxx does not build because of limitations in your system's
- # yacc (this happens under Sony NEWS-OS), get byacc or bison.
- tokens gram.cxx: $(IXXS)/gram.y
- $(CCYACC) $(YFLAGS) $(IXXS)/gram.y
- $(RM) tokens
- $(MV) y.tab.h tokens
- $(RM) gram.cxx
- $(MV) y.tab.c gram.cxx
-
- clean::
- $(RM) y.tab.c y.tab.h tokens gram.cxx
-
- depend:: $(HEADERS)
-
- depend:: $(DEPEND)
-
- $(DEPEND):
- @echo "checking $@ over in $(DEPENDSRC) first..."; \
- cd $(DEPENDSRC); $(MAKE); \
- echo "okay, continuing in $(CURRENT_DIR)"
-
- depend::
- $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
- clean::
- $(RM) $(PROGRAMS)
-
- # -----------------------------------------------------------------------
- # common rules for all Makefiles - do not edit
-
- .c.i:
- $(RM) $@
- $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
-
- emptyrule::
-
- clean::
- $(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *..c *..dbx "#"*
-
- Makefile:: $(IMAKE)
-
- $(IMAKE):
- -@(cd $(IMAKESRC); if [ -f Makefile ]; then \
- echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
- echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
- $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; fi; \
- echo "okay, continuing in $(CURRENT_DIR)")
-
- Makefile::
- -@if [ -f Makefile ]; then set -x; \
- $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
- else exit 0; fi
- $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
-
- tags::
- $(TAGS) -w *.[ch]
- $(TAGS) -xw *.[ch] > TAGS
-
- # -----------------------------------------------------------------------
- # empty rules for directories that do not have SUBDIRS - do not edit
-
- install::
- @echo "install in $(CURRENT_DIR) done"
-
- install.man::
- @echo "install.man in $(CURRENT_DIR) done"
-
- install.linkkit::
- @echo "install.linkkit in $(CURRENT_DIR) done"
-
- Makefiles::
-
- includes::
-
- depend::
-
- filter::
-
- headers::
-
- clean_headers::
-
- # -----------------------------------------------------------------------
- # dependencies generated by makedepend
-
-