# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.88 94/07/18 15:53:35 gildea Exp $ # ----------------------------------------------------------------------- # Makefile generated from "Imake.tmpl" and # $XConsortium: Imake.tmpl,v 1.218 94/03/31 20:11:26 matt Exp $ # .SUFFIXES: .i # $XConsortium: Imake.cf,v 1.12 94/03/29 15:42:08 gildea 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 hp.cf to change # platform: $XConsortium: hp.cf,v 1.67 94/04/01 20:00:21 kaleb Exp $ # operating system: HP-UX 10.0 # $XConsortium: hpLib.rules,v 1.4 93/09/11 17:57:18 rws Exp $ # ----------------------------------------------------------------------- # 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.193 94/04/10 17:39:55 rws Exp $ # $RCSfile: Motif.rules,v $ $Revision: 1.2 $ $Date: 94/07/14 17:13:08 $ PATHSEP = / SHELL = /usr/bin/sh TOP = . CURRENT_DIR = . IMAKE = imake DEPEND = makedepend MKDIRHIER = mkdirhier CONFIGSRC = $(TOP)/config IMAKESRC = $(CONFIGSRC)/imake DEPENDSRC = $(CONFIGSRC)/makedepend IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx IXX = ixx IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf IXXINCLUDES = -i '' 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 = CC = cc AS = as COMPRESS = compress CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) INSTALL = bsdinst INSTALLFLAGS = -c LD = ld LEX = lex LEXLIB = -ll YACC = yacc CCYACC = yacc LINT = lint LINTLIBFLAG = -o LINTOPTS = -bh LN = ln -s MAKE = make MV = mv -f CP = cp RM = rm -f MANSUFFIX = n LIBMANSUFFIX = 3 FILEMANSUFFIX = 4 TROFF = psroff MSMACROS = -ms TBL = tbl EQN = eqn STD_INCLUDES = STD_CPP_DEFINES = -Dhpux -DSYSV -D_HPUX_SOURCE STD_DEFINES = -Dhpux -DSYSV -D_HPUX_SOURCE EXTRA_LOAD_FLAGS = EXTRA_LDOPTIONS = EXTRA_LIBRARIES = TAGS = ctags MFLAGS = -$(MAKEFLAGS) SHAREDCODEDEF = SHLIBDEF = SHLIBLDFLAGS = -b PICFLAGS = +z CXXPICFLAGS = +z PROTO_DEFINES = INSTPGMFLAGS = INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4755 INSTLIBFLAGS = -m 0644 INSTINCFLAGS = -m 0444 INSTMANFLAGS = -m 0444 INSTDATFLAGS = -m 0444 INSTKMEMFLAGS = -m 4755 CDEBUGFLAGS = -O CCOPTIONS = -Aa ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES) LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) LDPRELIB = LDPOSTLIB = LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB) CXXLDOPTIONS = $(CDEBUGFLAGS) $(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 = MACROFILE = hp.cf RM_CMD = $(RM) IMAKE_DEFINES = IRULESRC = $(CONFIGDIR) IMAKE_CMD = $(IMAKE) -DUseInstalled -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.242 94/04/13 14:58:40 rws Exp $ # ----------------------------------------------------------------------- # X Window System make variables; these need to be coordinated with rules BINDIR = /usr/bin/X11 BUILDINCROOT = $(TOP) BUILDINCDIR = $(BUILDINCROOT)/X11 BUILDINCTOP = .. BUILDLIBDIR = $(TOP)/usrlib BUILDLIBTOP = .. INCDIR = $(INCROOT)/X11 ADMDIR = /usr/adm LIBDIR = $(USRLIBDIR)/X11 FONTDIR = $(LIBDIR)/fonts XINITDIR = $(LIBDIR)/xinit XDMDIR = $(LIBDIR)/xdm TWMDIR = $(LIBDIR)/twm NLSDIR = $(LIBDIR)/nls XLOCALEDIR = $(LIBDIR)/locale PEXAPIDIR = $(LIBDIR)/PEX XAPPLOADDIR = $(LIBDIR)/app-defaults FONTCFLAGS = -t INSTAPPFLAGS = $(INSTDATFLAGS) RGB = rgb FONTC = bdftopcf MKFONTDIR = 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: hpLib.tmpl,v 1.8 93/08/25 15:30:15 rws Exp $ XLIBSRC = $(LIBSRC)/X11 SOXLIBREV = 6.0 DEPXONLYLIB = XONLYLIB = -lX11 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln XLIBONLY = $(XONLYLIB) XEXTLIBSRC = $(LIBSRC)/Xext SOXEXTREV = 6.0 DEPEXTENSIONLIB = EXTENSIONLIB = -lXext LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln LINTEXTENSIONLIB = $(LINTEXTENSION) DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) XLIB = $(EXTENSIONLIB) $(XONLYLIB) LINTXLIB = $(LINTXONLYLIB) XAUTHSRC = $(LIBSRC)/Xau DEPXAUTHLIB = $(USRLIBDIR)/libXau.a XAUTHLIB = -lXau LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln XDMCPLIBSRC = $(LIBSRC)/Xdmcp DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a XDMCPLIB = -lXdmcp LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln XMUSRC = $(LIBSRC)/Xmu SOXMUREV = 6.0 DEPXMULIB = XMULIB = -lXmu LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln OLDXLIBSRC = $(LIBSRC)/oldX SOOLDXREV = 6.0 DEPOLDXLIB = OLDXLIB = -loldX LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln TOOLKITSRC = $(LIBSRC)/Xt SOXTREV = 6.0 DEPXTOOLONLYLIB = XTOOLONLYLIB = -lXt LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB) XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB) LINTXTOOLLIB = $(LINTXTOOLONLYLIB) AWIDGETSRC = $(LIBSRC)/Xaw SOXAWREV = 6.0 DEPXAWLIB = XAWLIB = -lXaw LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln XTFSRC = $(TOP)/workInProgress/Xtf SOXTFREV = 0.7 DEPXTFLIB = XTFLIB = -lXtf LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln FRESCOSRC = $(TOP)/workInProgress/Fresco SOFRESCOREV = 0.7 DEPFRESCOLIB = FRESCOLIB = -lFresco LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln XILIBSRC = $(LIBSRC)/Xi SOXINPUTREV = 6.0 DEPXILIB = XILIB = -lXi LINTXI = $(LINTLIBDIR)/llib-lXi.ln XTESTLIBSRC = $(LIBSRC)/Xtst SOXTESTREV = 6.0 DEPXTESTLIB = XTESTLIB = -lXtst LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln PEXLIBSRC = $(LIBSRC)/PEX5 SOPEXREV = 6.0 DEPPEXLIB = PEXLIB = -lPEX5 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln XIELIBSRC = $(LIBSRC)/XIE SOXIEREV = 6.0 DEPXIELIB = XIELIB = -lXIE LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln PHIGSLIBSRC = $(LIBSRC)/PHIGS DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a PHIGSLIB = -lphigs LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a XBSDLIB = -lXbsd LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln ICESRC = $(LIBSRC)/ICE SOICEREV = 6.0 DEPICELIB = ICELIB = -lICE LINTICE = $(LINTLIBDIR)/llib-lICE.ln SMSRC = $(LIBSRC)/SM SOSMREV = 6.0 DEPSMLIB = SMLIB = -lSM LINTSM = $(LINTLIBDIR)/llib-lSM.ln FSLIBSRC = $(LIBSRC)/FS DEPFSLIB = $(USRLIBDIR)/libFS.a FSLIB = -lFS LINTFS = $(LINTLIBDIR)/llib-lFS.ln FONTLIBSRC = $(LIBSRC)/font DEPFONTLIB = $(USRLIBDIR)/libfont.a FONTLIB = -lfont LINTFONT = $(LINTLIBDIR)/llib-lfont.ln DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) DEPLIBS1 = $(DEPLIBS) DEPLIBS2 = $(DEPLIBS) DEPLIBS3 = $(DEPLIBS) # $RCSfile: Motif.tmpl,v $ $Revision: 1.3 $ $Date: 94/08/12 15:56:56 $ SOXMREV = 1.2 SOMRMREV = 1.2 SOUILREV = 1.2 SOACOMMONREV = 1.2 SOSCRIPTREV = 1.2 SOUTILREV = 1.2 SOCREATEREV = 1.2 SOVISUALREV = 1.2 SOSYNTHREV = 1.2 SOMCOMMONREV = 1.2 XTOP = $(TOP) MTOP = $(TOP) XBUILDINCROOT = $(XTOP) XBUILDINCDIR = $(XBUILDINCROOT)/X11 CLIENTSRC = $(XTOP)/clients DEMOSRC = $(XTOP)/demos LIBSRC = $(XTOP)/lib FONTSRC = $(XTOP)/fonts INCLUDESRC = $(XTOP)/X11 SERVERSRC = $(XTOP)/server UTILSRC = $(XTOP)/util EXAMPLESRC = $(XTOP)/examples DOCSRC = $(XTOP)/doc RGBSRC = $(XTOP)/rgb EXTENSIONSRC = $(XTOP)/extensions UIL_INCLUDES = -I$(USRINCDIR)/uil USRINCDIR = /usr/include UIDDIR = $(LIBDIR)/uid TESTSRC = $(MTOP)/tests TESTLIB = $(TESTSRC)/lib GENERALSRCLIB = $(TESTSRC)/General/lib GENERALSRCBIN = $(TESTSRC)/General/bin MANUALSRCLIB = $(TESTSRC)/Manual/lib MANUALSRCBIN = $(TESTSRC)/Manual/bin AUTOSRCLIB = $(TESTSRC)/Auto/lib AUTOSRCBIN = $(TESTSRC)/Auto/bin COMMONPP = $(GENERALSRCBIN)/Commonpp GENRUN = $(GENERALSRCBIN)/Genrun MANRUN = $(GENERALSRCBIN)/Manrun TESTCOMSRC = $(MANUALSRCLIB)/Common MTOOLKITSRC = $(TOOLKITSRC) MINCLUDESRC = $(MTOP)/X11 MLIBSRC = /usr/lib/Motif1.2 MCLIENTSRC = $(MTOP)/clients MDEMOSRC = $(MTOP)/demos MWIDGETSRC = $(MLIBSRC)/Xm MRESOURCESRC = $(MLIBSRC)/Mrm UILSRC = $(MCLIENTSRC)/uil UIL = uil DEPUIL = $(BINDIR)/uil XMEXTRA_LIBS = DEPXMLIB = XMLIB = -lXm DEPMRESOURCELIB = MRESOURCELIB = -lMrm DEPUILLIB = UILLIB = -lUil DEPTESTCOMLIB = TESTCOMLIB = -lCommon LINTMRESOURCE = $(MRESOURCESRC)/libMrm.a LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln LINTUILLIB = $(UILSRC)/llib-lUil.ln YACCFLAGS = UILFLAGS = RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.Dat STD_DEFINES = -Dhpux -DSYSV -D_HPUX_SOURCE DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB) DEPLIBS1 = $(DEPLIBS) DEPLIBS2 = $(DEPLIBS) DEPLIBS3 = $(DEPLIBS) CONFIGDIR = $(LIBDIR)/config # ----------------------------------------------------------------------- # start of Imakefile # # Copyright (c) 1993-1997, Silicon Graphics, Inc. # ALL RIGHTS RESERVED # Permission to use, copy, modify, and distribute this software for # any purpose and without fee is hereby granted, provided that the above # copyright notice appear in all copies and that both the copyright notice # and this permission notice appear in supporting documentation, and that # the name of Silicon Graphics, Inc. not be used in advertising # or publicity pertaining to distribution of the software without specific, # written prior permission. # # THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" # AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, # INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR # FITNESS FOR A PARTICULAR PURPOSE. IN 0 EVENT SHALL SILICON # GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, # SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY # KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, # LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF # THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN # ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON # ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE # POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. # # US Government Users Restricted Rights # Use, duplication, or disclosure by the Government is subject to # restrictions set forth in FAR 52.227.19(c)(2) or subparagraph # (c)(1)(ii) of the Rights in Technical Data and Computer Software # clause at DFARS 252.227-7013 and/or in similar or successor # clauses in the FAR or the DOD or NASA FAR Supplement. # Unpublished-- rights reserved under the copyright laws of the # United States. Contractor/manufacturer is Silicon Graphics, # Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. # # OpenGL(R) is a registered trademark of Silicon Graphics, Inc. # TARGETS = aaindex aapoly aargb accanti accpersp \ alpha alpha3D bezcurve bezmesh bezsurf \ checker clip colormat cube dof double \ drawf feedback fog fogindex font hello \ image light lines list material mipmap \ model movelight pickdepth picksquare planet \ polyoff polys quadric robot scene select \ smooth stencil stroke surface teapots tess \ tesswind texbind texgen texprox texsub texturesurf \ torus trim unproject varray wrap SRCS = aaindex.c aapoly.c aargb.c accanti.c accpersp.c \ alpha.c alpha3D.c bezcurve.c bezmesh.c bezsurf.c \ checker.c clip.c colormat.c cube.c dof.c double.c \ drawf.c feedback.c fog.c fogindex.c font.c hello.c \ image.c light.c lines.c list.c material.c mipmap.c \ model.c movelight.c pickdepth.c picksquare.c planet.c \ polyoff.c polys.c quadric.c robot.c scene.c select.c \ smooth.c stencil.c stroke.c surface.c teapots.c tess.c \ tesswind.c texbind.c texgen.c texprox.c texsub.c texturesurf.c \ torus.c trim.c unproject.c varray.c wrap.c # # You may need to modify DEP_LIBRARIES and INCLUDES so that # GLUT is found. This example assumes that GLUT is # placed two directories above this one. # OPENGL=/opt/graphics/OpenGL # DEP_LIBRARIES = ../../lib/glut/libglut.a DEP_LIBRARIES = $(OPENGL)/contrib/libglut/libglut.a # LOCAL_LIBRARIES = $(DEP_LIBRARIES) -L/usr/lib/X11R6 -lXmu -lXext $(XLIB) -lGL -lGLU LOCAL_LIBRARIES = $(DEP_LIBRARIES) -L$(OPENGL)/lib -L/usr/lib/X11R4 -lXmu -lXext $(XLIB) -lGL -lGLU -lGL INCLUDES = -I$(TOP) -I../.. -I$(OPENGL)/include -I$(OPENGL)/contrib/libglut -I$(INCLUDEDIR)/GL all:: $(TARGETS) aaindex: aaindex.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) aaindex.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) aaindex aapoly: aapoly.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) aapoly.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) aapoly aargb: aargb.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) aargb.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) aargb accanti: accanti.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) accanti.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) accanti accpersp: accpersp.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) accpersp.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) accpersp alpha: alpha.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) alpha.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) alpha alpha3D: alpha3D.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) alpha3D.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) alpha3D bezcurve: bezcurve.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) bezcurve.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) bezcurve bezmesh: bezmesh.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) bezmesh.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) bezmesh bezsurf: bezsurf.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) bezsurf.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) bezsurf checker: checker.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) checker.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) checker clip: clip.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) clip.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) clip colormat: colormat.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) colormat.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) colormat cube: cube.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) cube.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) cube dof: dof.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) dof.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) dof double: double.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) double.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) double drawf: drawf.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) drawf.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) drawf feedback: feedback.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) feedback.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) feedback fog: fog.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) fog.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) fog fogindex: fogindex.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) fogindex.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) fogindex font: font.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) font.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) font hello: hello.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) hello.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) hello image: image.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) image.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) image light: light.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) light.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) light lines: lines.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) lines.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) lines list: list.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) list.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) list material: material.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) material.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) material mipmap: mipmap.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) mipmap.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) mipmap model: model.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) model.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) model movelight: movelight.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) movelight.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) movelight pickdepth: pickdepth.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) pickdepth.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) pickdepth picksquare: picksquare.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) picksquare.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) picksquare planet: planet.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) planet.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) planet polyoff: polyoff.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) polyoff.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) polyoff polys: polys.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) polys.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) polys quadric: quadric.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) quadric.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) quadric robot: robot.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) robot.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) robot scene: scene.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) scene.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) scene select: select.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) select.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) select smooth: smooth.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) smooth.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) smooth stencil: stencil.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) stencil.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) stencil stroke: stroke.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) stroke.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) stroke surface: surface.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) surface.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) surface teapots: teapots.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) teapots.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) teapots tess: tess.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) tess.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) tess tesswind: tesswind.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) tesswind.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) tesswind texbind: texbind.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) texbind.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) texbind texgen: texgen.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) texgen.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) texgen texprox: texprox.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) texprox.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) texprox texsub: texsub.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) texsub.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) texsub texturesurf: texturesurf.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) texturesurf.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) texturesurf torus: torus.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) torus.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) torus trim: trim.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) trim.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) trim unproject: unproject.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) unproject.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) unproject varray: varray.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) varray.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) varray wrap: wrap.o $(DEP_LIBRARIES) -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi $(CCLINK) -o $@ $(LDOPTIONS) wrap.o $(LOCAL_LIBRARIES) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS) clean:: $(RM) wrap depend:: $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS) clean:: $(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* # ----------------------------------------------------------------------- # 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 "#"* 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" Makefiles:: includes:: depend:: # ----------------------------------------------------------------------- # dependencies generated by makedepend