#
#  FreeBSD/NetBSD/OpenBSD
#
CC=cc
CCFLAG=-O -fPIC
LDFLAG=-O -s
AR=ar r
RANLIB=ranlib
XINCLUDE=-I/usr/X11R6/include 
SYSLIB=-L/usr/X11R6/lib -lX11 -lm
#JPEG=-L../../jpeg-6b -ljpeg
JPEG=

# where the library should be installed

LIB_TOPDIR=/usr/X11R6

LIB_DIR=$(LIB_TOPDIR)/lib
LIBMODE=644

HEADER_DIR=$(LIB_TOPDIR)/include
HEADERMODE=644

BIN_DIR=/usr/local/bin
BINMODE=711

MAN5_DIR=/usr/man/man5
MAN1_DIR=/usr/man/man1
DOC_DIR=/usr/local/lib
MANMODE=644
# name and header of the library
FORMLIB=libforms.a
FORMHEADER=forms.h

# make shared lib: $(MKSHLIB) 
SHARED_LIB=libforms.so.0.89
SHARED_NAME=libforms.so
SHARED_SO=libforms.so
MKSHLIB=ld -shared -soname $(SHARED_SO) -o $(SHARED_LIB)\
     `ls *.o|grep -v glcanvas.o` ulib/*.o ../xpm-3.4k/lib/libXpm.a $(JPEG) -lc


LN=ln -fs

#suffix for executables
EXE=

