home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 1.7 KB | 42 lines |
- #
- # Imakefile for endo, by Ron Record
- #
- DEPLIBS = $(DEPXLIB)
- MANDIR = /usr/man/man.CONTRIB
- ENDO_INST_DIR = $(DESTDIR)/usr/local/lib/endo
- MANSUFFIX = CONTRIB
- # Uncomment the following line if you want the Plendo maps
- PLENDO = -DPlendo
- # Uncomment the following line if you want the Chichilnisky map
- NORTH = -DNorthSouth
- # Uncomment the following line if you want the Gardini maps
- GARD = -DGardini
- # Uncomment the following line if your system doesn't support prototypes
- # PROTO = -D_NO_PROTO
- # Uncomment the following line if your Mips libm.a has a broken acos
- # MIPSLIB = ../lib/libMips.a
- # Uncomment the following three lines if you want the 3-D routines
- # 3DSRCS = plot.c rotate.c rotwindow.c viewcnst.c vueinit.c
- # 3DOBJS = plot.o rotate.o rotwindow.o viewcnst.o vueinit.o
- # DEF_3D = -DUSE_3D
- DEFINES = $(PLENDO) $(NORTH) $(GARD) $(PROTO) $(FONT) $(DEF_3D)
- INCLUDES = -I. -I../lib
- LOCAL_LIBRARIES = ../lib/libXrr.a $(XLIB)
- SYS_LIBRARIES = $(MIPSLIB) -lm $(NAPLIB)
- SRCS = event.c draw.c help.c info.c file.c frame.c init.c \
- keyboard.c main.c maps.c mem.c misc.c comp.c cmplx.c \
- parseargs.c print.c re.c rubber.c north.c \
- $(3DSRCS)
- OBJS = event.o draw.o help.o info.o file.o frame.o init.o \
- keyboard.o main.o maps.o mem.o misc.o comp.o cmplx.o \
- parseargs.o print.o re.o rubber.o north.o \
- $(3DOBJS)
-
- ComplexProgramTarget(endo)
-
- install:: install.man
- @if [ ! -d $(ENDO_INST_DIR) ]; then mkdir -p $(ENDO_INST_DIR); fi
- @cd ./params; set -x; for file in *\/*; do \
- $(INSTALL) -c $(INSTDATFLAGS) $$file $(ENDO_INST_DIR); \
- done
-