# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.48 89/10/10 18:33:21 jim Exp $ # # 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. # # # "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: SUN4 # platform: $XConsortium: sun.cf,v 1.32 89/10/11 18:54:52 jim Exp $ # operating system: SunOS 4.0.3 # # generic make variables # SHELL = /bin/sh TOP = ../../../../. CURRENT_DIR = ./src/bin/alert/SUN4 SRC = .. GEN = ../Generated M = SUN4 X = X11 AOUT = a.out AFTERINSTALL = $(RM) AR = ar cq BOOTSTRAPCFLAGS = BOOTSTRAPCPUCMD = /bin/sh $(SCRIPTSRC)/cpu.sh $(CONFIGSRC) CC = g++ 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$(CONFIGSRC) -I$(XCONFIGDIR) INSTALL = install LD = g++ LINT = lint LINTLIBFLAG = -C LINTOPTS = -axz LN = ln -s MAKE = make X=$X $(MFLAGS) MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh 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$(INCLUDESRC)/Std -I$(IVSRC) CDEBUGFLAGS = -g 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 # USRLIBDIR = $(TOP)/installed/lib/$$CPU BINDIR = $(TOP)/installed/bin/$$CPU.$X LOCALBINDIR = $(TOP)/installed/bin/$$CPU INCDIR = $(TOP)/installed/include TEMPLATESDIR = $(INCDIR)/Templates CONFIGDIR = $(TOP)/installed/config XCONFIGDIR = $(DESTDIR)/usr/lib/X11/config MANPATH = $(DESTDIR)/usr/man MANSOURCEPATH = $(MANPATH)/man MANDIR = $(MANSOURCEPATH)n LIBMANDIR = $(MANSOURCEPATH)n RELATIVEMANDIR = $(TOP)/installed/man IVSRC = $(TOP)/src CONFIGSRC = $(IVSRC)/config INCLUDESRC = $(IVSRC)/InterViews TEMPLATESSRC = $(INCLUDESRC)/Templates BINSRC = $(IVSRC)/bin IMAKESRC = $(BINSRC)/imake SCRIPTSRC = $(BINSRC)/scripts LIBINTERVIEWSSRC = $(IVSRC)/libInterViews LIBGRAPHICSRC = $(IVSRC)/libgraphic LIBTEXTSRC = $(IVSRC)/libtext MANSRC = $(IVSRC)/man TEMPLATES = $(TEMPLATESSRC) LIBINTERVIEWS = $(LIBINTERVIEWSSRC)/$M/libInterViews$X-g.a LIBGRAPHIC = $(LIBGRAPHICSRC)/$M/libgraphic.a LIBTEXT = $(LIBTEXTSRC)/$M/libtext.a # # alert - builds a dialog box from standard input text # LOCAL_LIBRARIES = $(LIBINTERVIEWS) SYS_LIBRARIES = -l$X -lm SRCS = $(SRC)/alert.c OBJS = alert.o PROGRAM = alert 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) alert.o: $(SRC)/alert.c @echo "compiling $(SRC)/alert.c" $(RM) $@ $(CC) -c $(CFLAGS) $(SRC)/alert.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) -DInMachineDepSubdir -f $(SRC)/Imakefile install:: Makefiles:: # # dependencies generated by makedepend # # DO NOT DELETE alert.o: ../../../.././src/InterViews/button.h alert.o: ../../../.././src/InterViews/interactor.h alert.o: ../../../.././src/InterViews/defs.h alert.o: ../../../.././src/InterViews/subject.h alert.o: ../../../.././src/InterViews/resource.h alert.o: ../../../.././src/InterViews/box.h alert.o: ../../../.././src/InterViews/scene.h alert.o: ../../../.././src/InterViews/dialog.h alert.o: ../../../.././src/InterViews/font.h alert.o: ../../../.././src/InterViews/frame.h alert.o: ../../../.././src/InterViews/glue.h alert.o: ../../../.././src/InterViews/shape.h alert.o: ../../../.././src/InterViews/message.h alert.o: ../../../.././src/InterViews/painter.h alert.o: ../../../.././src/InterViews/world.h alert.o: ../../../.././src/InterViews/Std/stdio.h //usr/include/stdio.h alert.o: ../../../.././src/InterViews/Std/string.h