blob: 1f85cbc76bc08b3b14a688f1585a62a8fa3e2027 [file] [log] [blame] [edit]
LEVEL = ../../../../../..
PROG = gs
LIBS += -lm
LDFLAGS += -lm
CPPFLAGS += -DNOMEMOPT -DGS_LIB_DEFAULT=\"$(shell pwd):$(shell pwd)/fonts\"
#
# This is to work around a bug where having a function prototype that is
# static and a function defintion that is not static get generated into 2
# functions.
#
CPPFLAGS += -DNOPRIVATE
Source = gs.c gsmain.c gp_unix.c utrace.c
Source += ialloc.c idebug.c idict.c iinit.c iname.c \
interp.c iscan.c iutil.c stream.c \
zarith.c zarray.c zcontrol.c zdict.c zfile.c \
zgeneric.c zmath.c zmisc.c zpacked.c zrelbit.c \
zstack.c zstring.c ztype.c zvmem.c \
zchar.c zcolor.c zfont.c zdevice.c zgstate.c \
zht.c zmatrix.c zpaint.c zpath.c zpath2.c
Source += gschar.c gscolor.c gscoord.c gsdevice.c \
gsfile.c gsfont.c gsimage.c gsim2out.c \
gsline.c gsmatrix.c gsmisc.c \
gspaint.c gspath.c gspath2.c gsstate.c gstype1.c \
gxcache.c gxcolor.c gxdither.c gxdraw.c gxfill.c \
gxht.c gxpath.c gxpath2.c gxstroke.c \
gdevmem.c gdevs.c
#Source += gdevx.c
RUN_OPTIONS = -DNODISPLAY $(BUILD_SRC_DIR)/INPUT/large.ps
include ../../../Makefile.multisrc