home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
fermiVogle.tar.Z
/
fermiVogle.tar
/
devel
/
src
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-02-07
|
2KB
|
89 lines
#
# Make the vogle library.
#
# Below are our defaults for compliers etc. These are set in the
# main Makefile.
#
MCFLAGS = -g -fsingle /usr/lib/libm.il
LIB = libvogle.a
RANLIB = ranlib # = "ar ts" for SYS5
#DEVICES = -DSUN -DTEK -DHPGL -DPOSTSCRIPT -DPOSTSCRIPTP -DDXY
DEVICES = -DSUN
FONTLIB=/usr/local/lib/hershey/
HDRS = vogle.h
CSRC = arcs.c aspect.c attr.c buffer.c clip.c curves.c draw.c drivers.c \
viewing.c viewp.c mapping.c matrix.c move.c objects.c patches.c \
points.c polygons.c rect.c tensor.c text.c newtokens.c trans.c \
scale.c getstring.c getgp.c valloc.c yobbarays.c pref.c
COBJS = arcs.o aspect.o attr.o buffer.o clip.o curves.o draw.o drivers.o \
viewing.o viewp.o mapping.o matrix.o move.o objects.o patches.o \
points.o polygons.o rect.o tensor.o text.o newtokens.o trans.o \
scale.o getstring.o getgp.o valloc.o yobbarays.o pref.o
FOBJS = sunfort/farcs.o sunfort/faspect.o sunfort/fattr.o sunfort/fcurves.o \
sunfort/fclip.o sunfort/fdraw.o sunfort/fdrivers.o sunfort/fgetgp.o \
sunfort/fviewing.o sunfort/fviewp.o sunfort/fmatrix.o sunfort/fmove.o \
sunfort/fobjects.o sunfort/fpatches.o sunfort/fpoints.o sunfort/fpoly.o\
sunfort/frect.o sunfort/ftrans.o sunfort/fyobbarays.o sunfort/ftext.o \
sunfort/fgetstr.o sunfort/fbuffer.o sunfort/fpref.o
POBJS = sunpas/parcs.o sunpas/paspect.o sunpas/pattr.o \
sunpas/pcurves.o sunpas/pclip.o sunpas/pdraw.o \
sunpas/pdrivers.o sunpas/pgetgp.o sunpas/pviewing.o \
sunpas/pviewp.o sunpas/pmatrix.o sunpas/pmove.o \
sunpas/pobjects.o sunpas/ppatches.o sunpas/ppoints.o \
sunpas/ppoly.o sunpas/prect.o sunpas/ptrans.o \
sunpas/pyobbarays.o sunpas/ptext.o sunpas/pgetstr.o \
sunpas/pbuffer.o sunpas/ppref.o
#
# Where the fonts live
#
FONTLIB = /tmp/hfonts/
CFLAGS= $(DEVICES) -DFONTLIB=\"$(FONTLIB)\" $(MCFLAGS)
LINTFLAGS=
$(LIB): $(DOBJS) $(COBJS) $(FOBJS) $(POBJS) vogle.h
rm -f $@
ar rcv $@ $(DOBJS) $(COBJS) $(FOBJS) $(POBJS)
$(RANLIB) $@
lint:
lint -hac $(DEVICES) $(CSRC) sunfort/*.c sunpas/*.c > vogle.lint
clean:
rm -f $(COBJS) core
cd sunfort; make clean
cd ../drivers; make clean
clobber:
rm -f $(LIB) $(COBJS) $(FOBJS) core
cd sunfort; make clean
cd sunpas; make clean
$(COBJS): vogle.h
$(FOBJS): vogle.h
cd sunfort; make -f Makefile MCFLAGS="$(MCFLAGS)"
$(POBJS): vogle.h
cd sunpas; make -f Makefile MCFLAGS="$(MCFLAGS)"
$(DOBJS): vogle.h
cd ../drivers; make -f Makefile \
CC="$(CC)" \
MCFLAGS="$(MCFLAGS)" \
DOBJS="$(DOBJS)"