# 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
.c.obj:
	$(CC) -c $(CFLAGS) $<

# set make command
MAKE=make

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

# 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_DECL_STRSTR=1 -DKPATHSEA=1 -DWIN32=1 -DHAVE_CONFIG_H=1 \
-DMERGEDELETE=1 $(YDEFS)

LIBS = 

INCLUDES = -I.. -I../include -I../.. -I../../kpathsea
CFLAGS = -nologo -W3 -favor:blend -MD  -O2 $(DEFS) $(INCLUDES)
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. ####

#CFLAGS = -g -pg -Wall -m486 -DMEMCHECK -DTESTCODE -DCOPYDELETE -I/usr/local/include
#CFLAGS = -O3 -Wall -m486 -DTESTCODE -DCOPYDELETE -I/usr/local/include -I../ -I../include
#LDFLAGS = -L/usr/local/lib
#LIBS = -ldmalloc
#LIBS = -lefence
#LIBS = -lc_p
OBJS = 	ttfread.obj tabledir.obj ttfutil.obj font.obj cmap.obj \
        glyf.obj gcache.obj gpos.obj gsub.obj \
        head.obj hhea.obj hmtx.obj loca.obj maxp.obj name.obj \
        os2.obj post.obj cvt.obj fpgm.obj gasp.obj hdmx.obj kern.obj \
        ltsh.obj otfcommon.obj prep.obj pclt.obj vdmx.obj vhea.obj \
	vmtx.obj gstate.obj stack.obj interp.obj disasm.obj ttc.obj

all: libttf.lib

libttf.lib: $(OBJS)
	$(AR) -out:$@ $(OBJS)

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

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