# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.45.1 89/08/28 17:30:07 interran Exp $ # # "IVImake.tmpl" - generic imake template customized for InterViews # # Change platform-specific parameters in the appropriate .cf files. # Define local site-specific parameters in IVlocal.def. You may # need a full rebuild after changing some parameters. # # architecture: MIPSEL # platform: $XConsortium: ultrix.cf,v 1.16 89/10/11 18:54:54 jim Exp $ # operating system: Ultrix-32 3.0 # # generic make variables # SHELL = /bin/sh TOP = . CURRENT_DIR = . SRC = . GEN = Generated M = MIPSEL X = X11 AOUT = a.out AFTERINSTALL = $(RM) AR = ar cq BOOTSTRAPCFLAGS = BOOTSTRAPCPUCMD = cpu CC = CC CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) DEPEND = makedepend DEPENDCFLAGS = $(ALLDEFINES) -I/usr/include/CC GENCLASS = mkclass IMAKE = imake IMAKETMPL = "IVImake.tmpl" IMAKEOPTS = -T $(IMAKETMPL) -I$(CONFIGDIR) -I$(XCONFIGDIR) -DUseInstalled INSTALL = install LD = CC LINT = lint LINTLIBFLAG = -C LINTOPTS = -axz LN = ln -s MAKE = make X=$X $(MFLAGS) MKDIRHIER = mkdirhier MV = mv CP = cp RANLIB = ranlib RANLIBINSTFLAGS = RM = rm -f TAGS = ctags TROFF = psroff STD_INCLUDES = STD_CPP_DEFINES = STD_DEFINES = EXTRA_LOAD_FLAGS = EXTRA_LIBRARIES = INSTPGMFLAGS = -s INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4755 INSTLIBFLAGS = -m 0664 INSTINCFLAGS = -m 0444 INSTMANFLAGS = -m 0444 INSTDATFLAGS = -m 0444 INSTKMEMFLAGS = -m 4755 INCLUDES = -I$(SRC) -I$(GEN) -I$(INCDIR)/Std -I$(INCROOT) CDEBUGFLAGS = ALLDEFINES = $(STD_INCLUDES) $(INCLUDES) $(STD_DEFINES) $(DEFINES) CFLAGS = $(CDEBUGFLAGS) $(ALLDEFINES) $(EXTRA_CFLAGS) LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) IMAKE_CMD = $(IMAKE) $(IMAKEOPTS) $(EXTRA_IMAKEOPTS) RM_CMD = $(RM) .emacs_* *.CKP *.ln *.BAK *.bak *.a *.o *..c ,* *~ \ a.out core errs tags TAGS make.log make.out # # project-specific make variables # DESTDIR = USRLIBDIR = $(DESTDIR)/usr/lib BINDIR = $(DESTDIR)/usr/bin/X11 LOCALBINDIR = $(DESTDIR)/usr/local/bin/ INCROOT = $(DESTDIR)/usr/include INCDIR = $(INCROOT)/InterViews TEMPLATESDIR = $(INCDIR)/Templates CONFIGDIR = $(XCONFIGDIR)/InterViews XCONFIGDIR = $(DESTDIR)/usr/lib/X11/config MANPATH = $(DESTDIR)/usr/man MANSOURCEPATH = $(MANPATH)/man MANDIR = $(MANSOURCEPATH)n LIBMANDIR = $(MANSOURCEPATH)n TEMPLATES = $(TEMPLATESDIR) LIBINTERVIEWS = $(USRLIBDIR)/libInterViews$X.a LIBGRAPHIC = $(USRLIBDIR)/libgraphic.a LIBTEXT = $(USRLIBDIR)/libtext.a # # InterViews tutorial part 7 # CDEBUGFLAGS = -g SRC = . SRCS = $(SRC)/*.c SYS_LIBRARIES = -lInterViews$X -l$X -lm OBJS = \ fontbrowser.o \ fontsample.o \ cyclebutton.o \ main.o PROGRAM = t7 all:: $(AOUT) $(AOUT): $(OBJS) $(LOCAL_LIBRARIES) @echo "linking $@" -@if [ ! -w $@ ]; then $(RM) $@; else exit 0; fi $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(EXTRA_LOAD_FLAGS) install:: $(AOUT) $(INSTALL) -c $(INSTPGMFLAGS) $(INSTALLFLAGS) $(AOUT) $(BINDIR)/$(PROGRAM) $(AFTERINSTALL) $(AOUT) depend:: $(SRCS) $(DEPEND) -s "# DO NOT DELETE" -- $(DEPENDCFLAGS) -- $(SRCS) clean:: $(RM) $(AOUT) fontbrowser.o: $(SRC)/fontbrowser.c @echo "compiling $(SRC)/fontbrowser.c" $(RM) $@ $(CC) -c $(CFLAGS) $(SRC)/fontbrowser.c fontsample.o: $(SRC)/fontsample.c @echo "compiling $(SRC)/fontsample.c" $(RM) $@ $(CC) -c $(CFLAGS) $(SRC)/fontsample.c cyclebutton.o: $(SRC)/cyclebutton.c @echo "compiling $(SRC)/cyclebutton.c" $(RM) $@ $(CC) -c $(CFLAGS) $(SRC)/cyclebutton.c main.o: $(SRC)/main.c @echo "compiling $(SRC)/main.c" $(RM) $@ $(CC) -c $(CFLAGS) $(SRC)/main.c # # common rules for all Makefiles # clean:: $(RM_CMD) \#* Makefile:: -@if [ -f Makefile ]; then \ $(RM) Makefile.bak; \ $(MV) Makefile Makefile.bak; \ else exit 0; fi $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) install:: Makefiles:: # # dependencies generated by makedepend # # DO NOT DELETE cyclebutton.o: cyclebutton.h /usr/include/InterViews/button.h cyclebutton.o: /usr/include/InterViews/interactor.h cyclebutton.o: /usr/include/InterViews/defs.h cyclebutton.o: /usr/include/InterViews/subject.h cyclebutton.o: /usr/include/InterViews/resource.h cyclebutton.o: /usr/include/InterViews/bitmap.h cyclebutton.o: /usr/include/InterViews/font.h cyclebutton.o: /usr/include/InterViews/painter.h cyclebutton.o: /usr/include/InterViews/shape.h fontbrowser.o: fontbrowser.h /usr/include/InterViews/dialog.h fontbrowser.o: /usr/include/InterViews/scene.h fontbrowser.o: /usr/include/InterViews/interactor.h fontbrowser.o: /usr/include/InterViews/defs.h cyclebutton.h fontbrowser.o: /usr/include/InterViews/button.h fontbrowser.o: /usr/include/InterViews/subject.h fontbrowser.o: /usr/include/InterViews/resource.h fontsample.h fontbrowser.o: /usr/include/InterViews/box.h /usr/include/InterViews/event.h fontbrowser.o: /usr/include/InterViews/frame.h /usr/include/InterViews/glue.h fontbrowser.o: /usr/include/InterViews/shape.h fontbrowser.o: /usr/include/InterViews/message.h fontbrowser.o: /usr/include/InterViews/tray.h fontbrowser.o: /usr/include/InterViews/Std/stdio.h //usr/include/stdio.h fontbrowser.o: /usr/include/InterViews/Std/string.h fontsample.o: fontsample.h /usr/include/InterViews/interactor.h fontsample.o: /usr/include/InterViews/defs.h /usr/include/InterViews/font.h fontsample.o: /usr/include/InterViews/resource.h fontsample.o: /usr/include/InterViews/painter.h fontsample.o: /usr/include/InterViews/pattern.h fontsample.o: /usr/include/InterViews/shape.h fontsample.o: /usr/include/InterViews/Std/string.h main.o: /usr/include/InterViews/button.h /usr/include/InterViews/interactor.h main.o: /usr/include/InterViews/defs.h /usr/include/InterViews/subject.h main.o: /usr/include/InterViews/resource.h /usr/include/InterViews/world.h main.o: /usr/include/InterViews/scene.h /usr/include/InterViews/Std/stdio.h main.o: //usr/include/stdio.h fontbrowser.h /usr/include/InterViews/dialog.h marginframe.o: marginframe.h /usr/include/InterViews/scene.h marginframe.o: /usr/include/InterViews/interactor.h marginframe.o: /usr/include/InterViews/defs.h marginframe.o: /usr/include/InterViews/canvas.h marginframe.o: /usr/include/InterViews/painter.h marginframe.o: /usr/include/InterViews/resource.h marginframe.o: /usr/include/InterViews/shape.h