# Generated automatically from Makefile.in by configure.
# ------------------------------------------------------------------------
# 	Makefile for normal version of BLT library
# ------------------------------------------------------------------------

# ------------------------------------------------------------------------
# 	C Compiler options 
#
      DEFINES =  -DLOSE_SINCOS -DBLT_LIBRARY=\"$(BLT_LIBRARY)\"
  CDEBUGFLAGS = -O2
           CC = cc

  BLT_LIBRARY = ${ROOT}/usr/X386/lib/X11/blt
  INSTALL_DIR = ${ROOT}/usr/X386/lib
 INSTLIBFLAGS =	-m 0644

# ------------------------------------------------------------------------
# 	Directories containing Tcl and Tk include files and libraries
#
   TCL_INCDIR = -I/usr/include/tcl
    TK_INCDIR = -I/usr/include/tcl
     X_INCDIR = -I/usr/X386/include


# ------------------------------------------------------------------------
# 	Don't edit anything beyond this point
# ------------------------------------------------------------------------
   OBJS = \
	bltGraph.o bltGrAxis.o bltGrElem.o bltGrLegd.o \
        bltGrMisc.o bltGrPS.o bltGrTag.o bltGrHairs.o \
        bltCutbuffer.o bltBell.o \
        bltInit.o bltBgexec.o bltBitmap.o bltBusy.o \
	bltDebug.o bltDragDrop.o bltHtext.o bltList.o bltTable.o \
	bltUtil.o bltWin.o 
   SRCS = \
	bltGraph.c bltGrAxis.c bltGrElem.c bltGrLegd.c \
        bltGrMisc.c bltGrPS.c bltGrTag.c bltGrHairs.c \
        bltCutbuffer.c bltBell.c \
        bltInit.c bltBgexec.c bltBitmap.c bltBusy.c \
	bltDebug.c bltDragDrop.c bltHtext.c bltList.c bltTable.c \
	bltUtil.c bltWin.c 

      libname = libBLT.a
     INCLUDES = -I. $(TK_INCDIR) $(TCL_INCDIR) $(X_INCDIR)
       CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
      INSTALL = /bin/install -c
       RANLIB = ranlib
           AR = ar rc
           RM = rm -f

all: $(libname)

$(libname):  $(OBJS)
	$(RM) $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

install: $(libname)
	-if test ! -d $(INSTALL_DIR) ; then mkdir $(INSTALL_DIR); fi
	$(INSTALL) -c $(INSTLIBFLAGS) $(libname) $(INSTALL_DIR)
	$(RANLIB) $(INSTALL_DIR)/$(libname)

clean::
	$(RM) $(OBJS) $(libname) *\~ \#*\#

bltInit.o: Makefile
