# Generated automatically from Makefile.in by configure.
#
######################################################################
#********************************************************************
#* Makefile -- makefile for xacc/lib/libhtmlw (NCSA html widget)    *
#* Copyright (C) 1997 Robin Clark                                   *
#*                                                                  *
#* This program is free software; you can redistribute it and/or    *
#* modify it under the terms of the GNU General Public License as   *
#* published by the Free Software Foundation; either version 2 of   *
#* the License, or (at your option) any later version.              *
#*                                                                  *
#* This program is distributed in the hope that it will be useful,  *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of   *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
#* GNU General Public License for more details.                     *
#*                                                                  *
#* You should have received a copy of the GNU General Public License*
#* along with this program; if not, write to the Free Software      *
#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.        *
#*                                                                  *
#*   Author: Robin Clark                                            *
#* Internet: rclark@rush.aero.org                                   *
#*  Address: 609 8th Street                                         *
#*           Huntington Beach, CA 92648-4632                        *
#********************************************************************

srcdir   = .
CC       = gcc
RANLIB   = ranlib
INCLPATH = -I/usr/include \
           -I/usr/X11R6/include/. \
           -I./.	\
           -I./../..
CFLAGS   = -O2 -DXMHTML_LIBRARY_VERSION
TARGET   = libXmHTML.a

######################################################################
SRCS = XmHTML.c fonts.c Parser.c callbacks.c format.c frames.c forms.c \
        StringUtil.c parse.c paint.c numbers.c colors.c images.c error.c \
        debug.c readBitmap.c readGIF.c readXPM.c readJPEG.c readPNG.c \
        readFLG.c map.c XCC.c quantize.c LZWStream.c XmImage.c plc.c \
        readGIFplc.c readJPEGplc.c strings.c

OBJS = ${SRCS:.c=.o}
######################################################################

default: $(TARGET)

$(TARGET): $(OBJS)
	@echo "++++++"
	$(AR) r $(TARGET) $(OBJS)
	$(RANLIB) $(TARGET)

.c.o:
	@echo "+++"
	$(CC) -c -DMOTIF $(CFLAGS) $(INCLPATH) $<

depend:
	makedepend -- $(INCLPATH) $(DEFN) -- $(SRCS)

clean:
	rm -f *.o *~ *.bak

distclean: clean
	rm -f $(TARGET) Makefile Makefile.bak

# DO NOT DELETE THIS LINE -- make depend depends on it.
