home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-04-25 | 7.8 KB | 321 lines |
- # GRAB Graph Layout and Browser System
- #
- # Copyright (c) 1986, 1988 Regents of the University of California
- # Copyright (c) 1989, Tera Computer Company
-
- #
- # Xgrab
- #
-
- #I = /u1/greg/xgrab/iv
- I = ../../iv
- M = VAX
- X = X11
- D = $M.$X
- L = ../lib/$D
- L2 = ../lib/$M
-
- #SRC = /u1/greg/xgrab/iv/src
- SRC = ../../iv/src
- AOUT = xgrab
- INCLUDE = ../include
- GRABDIR = ../grabst
- #
- # alas, but 1.6 GC on the vax/ultrix caused a bus error when it
- # tried to allocate memory. I didn't have the patience to figure out
- # why. -rrh, 25Apr90
- #
- #GC = GC/gc.a
- GC = OGC/gc++.o
- RANLIBS = $(GRABDIR)/grablib.a $(GC)
-
- #CC = /usr/local/CC
- #CC = CC
- CC = g++
- CC2 = cc
- OPTFLAGS =
- CFLAGS = $(OPTFLAGS) -I${INCLUDE} -I$(SRC) -I./CCinclude
- CFLAGS2 = -I$(INCLUDE) $(OPTFLAGS) -DGarbageCollect
- #CFLAGS = $(OPTFLAGS) -I${INCLUDE} -I$(SRC) -I./CCinclude
- #CFLAGS2 = -I$(INCLUDE) $(OPTFLAGS)
- #LD = "CC"
- LD=$(CC)
- LDFLAGS =
- EXTLIBS = ${L2}/libInterViews${X}.a ${L2}/libgraphic.a -l$X -lm
- GRABCFILES = ${GRABDIR}/*.c
-
- OBJS = stringedit.o\
- textviewer.o\
- mymenu.o\
- dialogbox.o\
- ipaint.o\
- fonthandler.o\
- att.o\
- dview.o\
- graph.o\
- tview.o\
- myadjuster.o\
- list.o\
- bview.o\
- aview.o\
- textedit.o\
- mypanner.o\
- gview.o\
- helper.o\
- winview.o\
- gframe.o\
- gmain.o\
- interf.o
-
- CFILES = clip.c main.c output.c\
- misc.c\
- routines2.c\
- rusage.c\
- select.c\
- routines.c getinp.c\
- intersect.c\
- del.c\
- change.c\
- insert.c\
- insertarc.c\
- move.c\
- pparse.c\
- pexec.c\
- pred.c\
- ps.c
-
- OFILES = clip.o main.o output.o\
- misc.o\
- routines2.o\
- rusage.o\
- select.o\
- routines.o getinp.o\
- intersect.o\
- del.o\
- change.o\
- insert.o\
- insertarc.o\
- move.o\
- pparse.o\
- pexec.o\
- pred.o\
- ps.o
-
- ${AOUT}: ${OBJS} $(OFILES) $(RANLIBS)
- @rm -f ${AOUT}
- ${LD} ${LDFLAGS} ${OBJS} $(OFILES) ${EXTLIBS} $(RANLIBS) -o ${AOUT}
-
- install: ${AOUT}
- strip ${AOUT}; mv ${AOUT} ${DEST}
-
- textviewer.o: ${INCLUDE}/textviewer.h
- ${CC} ${CFLAGS} -c textviewer.c
-
- stringedit.o: ${INCLUDE}/stringedit.h
- ${CC} ${CFLAGS} -c stringedit.c
-
- ipaint.o: ${INCLUDE}/ipaint.h
- ${CC} ${CFLAGS} -c ipaint.c
-
- fonthandler.o: ${INCLUDE}/fonthandler.h
- ${CC} ${CFLAGS} -c fonthandler.c
-
- att.o: ${INCLUDE}/att.h
- ${CC} ${CFLAGS} -c att.c
-
- aview.o: ${INCLUDE}/aview.h ${INCLUDE}/istring.h\
- ${INCLUDE}/bview.h
- ${CC} ${CFLAGS} -c aview.c
-
- dview.o: ${INCLUDE}/dview.h ${INCLUDE}/att.h\
- ${INCLUDE}/istring.h
- ${CC} ${CFLAGS} -c dview.c
-
- graph.o: ${INCLUDE}/graph.h ${INCLUDE}/fonthandler.h\
- ${INCLUDE}/gview.h ${INCLUDE}/tedge.h\
- ${INCLUDE}/routines.h ${INCLUDE}/istring.h\
- ${INCLUDE}/att.h
- ${CC} ${CFLAGS} -c graph.c
-
- tview.o: ${INCLUDE}/tview.h ${INCLUDE}/istring.h
- ${CC} ${CFLAGS} -c tview.c
-
- mymenu.o: ${INCLUDE}/mymenu.h
- ${CC} ${CFLAGS} -c mymenu.c
-
- myadjuster.o: ${INCLUDE}/myadjuster.h
- ${CC} ${CFLAGS} -c myadjuster.c
-
- list.o: ${INCLUDE}/list2.h
- ${CC} ${CFLAGS} -c list.c
-
- dialogbox.o: ${INCLUDE}/dialogbox.h ${INCLUDE}/istring.h\
- ${INCLUDE}/stringedit.h
- ${CC} ${CFLAGS} -c dialogbox.c
-
- bview.o: ${INCLUDE}/bview.h ${INCLUDE}/routines.h\
- ${INCLUDE}/gframe.h ${INCLUDE}/curs.h\
- ${INCLUDE}/mymenu.h ${INCLUDE}/istring.h
- ${CC} ${CFLAGS} -c bview.c
-
- textedit.o: ${INCLUDE}/textedit.h ${INCLUDE}/liststring.h\
- ${INCLUDE}/list2.h ${INCLUDE}/istring.h\
- ${INCLUDE}/textviewer.h
- ${CC} ${CFLAGS} -c textedit.c
-
- mypanner.o: ${INCLUDE}/mypanner.h ${INCLUDE}/myadjuster.h
- ${CC} ${CFLAGS} -c mypanner.c
-
- gview.o: ${INCLUDE}/gview.h ${INCLUDE}/graph.h\
- ${INCLUDE}/mypanner.h ${INCLUDE}/gframe.h\
- ${INCLUDE}/curs.h ${INCLUDE}/routines.h
- ${CC} ${CFLAGS} -c gview.c
-
- helper.o: ${INCLUDE}/helper.h ${INCLUDE}/textedit.h\
- ${INCLUDE}/liststring.h ${INCLUDE}/list2.h\
- ${INCLUDE}/istring.h
- ${CC} ${CFLAGS} -c helper.c
-
- winview.o: ${INCLUDE}/winview.h ${INCLUDE}/gview.h\
- ${INCLUDE}/bview.h ${INCLUDE}/tview.h\
- ${INCLUDE}/graph.h
- ${CC} ${CFLAGS} -c winview.c
-
- gframe.o: ${INCLUDE}/gframe.h ${INCLUDE}/gview.h\
- ${INCLUDE}/bview.h ${INCLUDE}/tview.h\
- ${INCLUDE}/winview.h ${INCLUDE}/graph.h\
- ${INCLUDE}/mypanner.h ${INCLUDE}/myadjuster.h\
- ${INCLUDE}/fonthandler.h ${INCLUDE}/curs.h\
- ${INCLUDE}/att.h ${INCLUDE}/dview.h\
- ${INCLUDE}/stringedit.h
- ${CC} ${CFLAGS} -c gframe.c
-
- gmain.o: ${INCLUDE}/gview.h ${INCLUDE}/gframe.h\
- ${INCLUDE}/graph.h ${INCLUDE}/tview.h\
- ${INCLUDE}/aview.h
- ${CC} ${CFLAGS} -c gmain.c
-
- interf.o: ${INCLUDE}/gmain.h ${INCLUDE}/graph.h\
- ${INCLUDE}/dialogbox.h ${INCLUDE}/gframe.h\
- ${INCLUDE}/helper.h ${INCLUDE}/bview.h\
- ${INCLUDE}/att.h ${INCLUDE}/aview.h
- ${CC} ${CFLAGS} -c interf.c
-
- lint:
- lint -nx -I$(INCLUDE) $(CFILES) $(GRABCFILES)
-
- ctags:
- ctags -w $(CFILES) $(INCLUDE)/*.h
-
- clip.o: ${INCLUDE}/digraph.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/screen.h ${INCLUDE}/clip.h
- ${CC2} ${CFLAGS2} -c clip.c
-
- output.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/scrdep.h ${INCLUDE}/globals.h\
- ${INCLUDE}/attribute.h ${INCLUDE}/cursor.h\
- ${INCLUDE}/interf.h ${INCLUDE}/tedge.h\
- ${INCLUDE}/clip.h
- ${CC2} ${CFLAGS2} -c output.c
-
- main.o: ${INCLUDE}/screen.h ${INCLUDE}/globals.h\
- ${INCLUDE}/digraph.h ${INCLUDE}/interf.h\
- ${INCLUDE}/cursor.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/checkpoint.h
- ${CC2} ${CFLAGS2} -c main.c
-
- select.o: ${INCLUDE}/digraph.h
- ${CC2} ${CFLAGS2} -c select.c
-
- del.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/scrdep.h ${INCLUDE}/globals.h\
- ${INCLUDE}/interf.h ${INCLUDE}/tedge.h\
- ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c del.c
-
- getinp.o: ${INCLUDE}/digraph.h ${INCLUDE}/cursor.h\
- ${INCLUDE}/screen.h ${INCLUDE}/globals.h\
- ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c getinp.c
-
- insert.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/interf.h ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c insert.c
-
- insertarc.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/interf.h ${INCLUDE}/tedge.h\
- ${INCLUDE}/attribute.h ${INCLUDE}/clip.h
- ${CC2} ${CFLAGS2} -c insertarc.c
-
- move.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/scrdep.h ${INCLUDE}/globals.h\
- ${INCLUDE}/interf.h ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c move.c
-
- intersect.o: ${INCLUDE}/digraph.h ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c intersect.c
-
- change.o: ${INCLUDE}/screen.h ${INCLUDE}/globals.h\
- ${INCLUDE}/digraph.h ${INCLUDE}/set.h\
- ${INCLUDE}/interf.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/tedge.h
- ${CC2} ${CFLAGS2} -c change.c
-
- misc.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/interf.h ${INCLUDE}/cursor.h\
- ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c misc.c
-
- routines2.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/interf.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/checkpoint.h
- ${CC2} ${CFLAGS2} -c routines2.c
-
- rusage.o:
- ${CC2} ${CFLAGS2} -c rusage.c
-
- routines.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/interf.h ${INCLUDE}/cursor.h\
- ${INCLUDE}/attribute.h
- ${CC2} ${CFLAGS2} -c routines.c
-
- pparse.o: ${INCLUDE}/digraph.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/token.h ${INCLUDE}/pparse.h
- ${CC2} ${CFLAGS2} -c pparse.c
-
- pexec.o: ${INCLUDE}/digraph.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/token.h ${INCLUDE}/pparse.h\
- ${INCLUDE}/pexec.h
- ${CC2} ${CFLAGS2} -c pexec.c
-
- pred.o: ${INCLUDE}/digraph.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/token.h ${INCLUDE}/pparse.h\
- ${INCLUDE}/interf.h
- ${CC2} ${CFLAGS2} -c pred.c
-
- ps.o: ${INCLUDE}/digraph.h ${INCLUDE}/screen.h\
- ${INCLUDE}/globals.h ${INCLUDE}/scrdep.h\
- ${INCLUDE}/ps.h ${INCLUDE}/attribute.h\
- ${INCLUDE}/routines.h
- ${CC2} ${CFLAGS2} -c ps.c
- gcmem.o:
- ${CC} ${CFLAGS} -c gcmem.c
-
- clean:
- -rm -f ${OBJS}
- -rm -f a.out core make.out xgrab
- -rm $(OFILES)
-
- depend:
- mkdepend ${CFLAGS} -I/usr/include/CC ${OBJS}
-
- # DO NOT DELETE THIS LINE -- make depend uses it
- # DEPENDENCIES MUST END AT END OF FILE
- # IF YOU PUT STUFF HERE IT WILL GO AWAY
- # see make depend above
-