#
# Makevars for W
# (C) 94-02/96 by Torsten Scherer (TeSche)
# itschere@techfak.uni-bielefeld.de
#
# change these to what you like
#


# on what kind of machine you want this to run? be sure to set only one of
# these! sorry, but I don't like imakefiles...

MINT =
UNIX = 1


# select here which graphic drivers you want to include by typing `= 1' after
# each of them. sorry, there's no automatic way to select this so far. the
# checked combinations are:
#
# Atari ST/TT: PACKEDMONO, PACKEDCOLOR
# Sun Sparc2 CG6: DIRECT8
# Amiga (Cybervision 64): DIRECT8
#
# however, I only build the monochrome driver on my TT...

PACKEDMONO =
PACKEDCOLOR =
DIRECT8 = 1


# some things to fine-tune, uncomment the set you like most or define
# your own one. (MiNT users: do *NOT* include -mbaserel here!)

# this is a MiNT-TT with 68882 (needed in less and less places)
#ADDCFLAGS = -Wall -O2 -fomit-frame-pointer
#MATHCFLAGS = -m68881
#MATHLIB =

# use these for an ordinary MiNT-ST without 68881/2
#ADDCFLAGS = -Wall -O2
#MATHCFLAGS =
#MATHLIB = -lpml

# these work fine for Linux68k
#ADDCFLAGS = -Wall -O2 -fomit-frame-pointer
#MATHCFLAGS =
#MATHLIB =
#SERVERADDCFLAGS =
#SERVERADDLDFLAGS =

# these work fine for NetBSD-Amiga
#ADDCFLAGS = -pipe -Wall -O2 -fomit-frame-pointer -I/sys/arch -DNETBSD_GRF=5 -DGRF_VMODE=4
#MATHCFLAGS =
#MATHLIB = -lm
# this is needed in some Makefiles
#NETBSD = 1

# and finally this is what I use on a Sparc2
ADDCFLAGS = -pipe -Wall -O3 -fomit-frame-pointer
ADDLDFLAGS =
MATHCFLAGS =
MATHLIB = -lm
#SERVERADDCFLAGS = -pg
#SERVERADDLDFLAGS = -pg

# now define some tools to use

AR = ar
CC = gcc
CHMOD = chmod
CP = cp
MAKE = make
# set RANLIB to 'touch' if your system doesn't have have/need ranlib
RANLIB = ranlib
RM = rm -f
INSTALL = install


# where you want the parts to go at 'make install'. if you comment
# out any of these the appropriate files won't be installed

BINDIR = /homes/itschere/bin.sun4
INCDIR = /homes/itschere/include
#MANDIR = /usr/local/man
# you MUST define these two!
LIBDIR = /homes/itschere/lib
FONTDIR = /homes/itschere/lib/wfonts

#BINDIR = /usr/local/bin
#INCDIR = /usr/local/include
#MANDIR = /usr/local/man
# you MUST define these two!
#LIBDIR = /usr/local/lib
#FONTDIR = /usr/local/lib/wfonts
