# Generated automatically from Makefile.in by configure.
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.

# 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, 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.

# Generated automatically from Makefile.in by configure.

SHELL = sh

#### Start of system configuration section. ####

srcdir = .

# If you use gcc, you should either run the fixincludes script that
# comes with it or else use gcc with the -traditional option.  Otherwise
# ioctl calls will be compiled incorrectly on some systems.
CC = cl
AR = lib

# set make command
MAKE=make

# Set RANLIB = echo if your system doesn't have or need ranlib.
RANLIB = echo

# Use cp if you don't have install.
INSTALL = cp
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL}

YDEFS = -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE \
-D_CRT_OBSOLETE_NO_DEPRECATE -D_SECURE_SCL=0

DEFS = -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_DECL_STRSTR=1 \
-DKPATHSEA=1 -DWIN32=1 -DHAVE_CONFIG_H=1 $(YDEFS)

LIBS = ../../kpathsea/kpathsealib.lib

INCLUDES = -I.. -I../include -I../.. -I../../kpathsea
CFLAGS = -nologo -MD -O2 $(INCLUDES) $(DEFS)
LDFLAGS =

MAKEINFO = makeinfo
TEXI2DVI = texi2dvi

prefix = c:/usr/local
exec_prefix = ${prefix}

# Where to install the executables.
bindir = $(exec_prefix)/bin

# Where to put the include header
includedir = $(prefix)/include

# Where to put the Info files
infodir = $(prefix)/info

# Where to put the library file
libdir = $(prefix)/lib

# Where to put the manual pages.
mandir = $(prefix)/man

#### End of system configuration section. ####
#CC = gcc
#CFLAGS = -g -pg -Wall -m486 -DMEMCHECK -DTESTCODE -DCOPYDELETE -I/usr/local/include
#CFLAGS = -O3 -Wall -m486 -DTESTCODE -DCOPYDELETE -I../ -I../include -I/usr/local/include
#LDFLAGS = -L/usr/local/lib
#LIBS = -ldmalloc
#LIBS = -lefence
#LIBS = -lc_p
OBJS = 	ttfdump.obj

all: ttfdump.exe

ttfdump.exe:${OBJS} ${LIBS} ../libttf/libttf.lib
	${CC} ${CFLAGS} -Fe$@ ${OBJS} setargv.obj ../libttf/libttf.lib ${LIBS}

test:ttfdump.exe
	./ttfdump times.ttf times.txt

depend:
	co RCS/*
	makedepend *.c *.h
	rcsclean
BINS=ttfdump.exe
install: $(BINS)
	cp -p $(BINS) c:/usr/local/txdir/w32tex/bin/
	cp -p $(BINS) c:/usr/work/edrive/wk/dist/TTF2PK/bin/

clean:
	rm -f *.obj *~ *.exe
.PHONY: clean

distclean: clean
	rm -f tags TAGS Makefile
.PHONY: distclean
