#  Make WWW under Ultrix 4.3 for VAX
#

# For W3 distribution, machine type for subdirectories
WWW_MACH = vax_ultrix

# The ASIS repository's name for the machine we are on
#ASIS_MACH = vax_ultrix

# Options for cc 
#CC = cc
#CFLAGS = -DDEBUG
#LFLAGS = -Bstatic

# Options for gcc
CC = gcc
#CFLAGS = -Wall -O3
CFLAGS = -Wall -g -O -DJPEG -DNO_STRPTIME -DSELECTION -DRESIZE_BUG -DNO_STRDUP -I$(USELIBDIR) -DSTYLE_COLOR -fwritable-strings

# CFLAGS = -Wall -g
#LFLAGS = -R /usr/X11R6/lib

# this is neede for multitreaded library #define EVENT_LOOP

# In both cases: Ask for static linking so that binary will be transportable

# Directory for installed binary:
BINDIR = /usr/local/hack/bin
# BINDIR = ../../LineMode/sun3

#_________________ OK if normal W3 distribution
# Where is the WWW source root?
WWW = ../..

#  Where should temporary (object) files go?
# WTMP = /usr/tmp
WTMP = $(WWW)

# Where is the W3 object library?
#LIBDIR = $(WWW)/Library/Implementation/$(WWW_MACH)

USELIBDIR = ../../Library/$(WWW_MACH)
#USELIBDIR =../../../../WWW-frystyk/WWW-multi/Library/$(WWW_MACH)
XLIBDIR = -L/usr/local/X11R6/lib 
# OTHERLIB =  -lm -lnsl
OTHERLIB = -lm
LIBRARYJPEG = -L../../Image/jpeg/$(WWW_MACH) -ljpeg


