#
#   "$Id: Makedefs.in 1555 2008-03-01 18:18:52Z mike $"
#
#   Makefile definitions for HTMLDOC, an HTML document processing program.
#
#   Copyright 1997-2008 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "COPYING.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: HTMLDOC Licensing Information
#       Easy Software Products
#       516 Rio Grand Ct
#       Morgan Hill, CA 95037 USA
#
#       http://www.htmldoc.org/
#

#
# Programs...
#

AR		=	u:/usr/bin/ar.exe
AWK		=	gawk
CC		=	gcc
CXX		=	g++
CHMOD		=	u:/bin/chmod.exe
CP		=	u:/bin/cp.exe
LN		=	/bin/ln -sf
MKDIR		=	u:/bin/mkdir.exe -p
MV		=	u:/bin/mv.exe
POST		=	@POST@
RANLIB		=	echo
RM		=	u:/bin/rm.exe -f
SHELL		=	/bin/sh

# The extension to use for executables...
EXEEXT		=	.exe


#
# Directories...
#

bindir		=	/progetti/htmldoc-1.9.x-r1571/os2/bin
datadir		=	/progetti/htmldoc-1.9.x-r1571/os2/share
datarootdir	=	/progetti/htmldoc-1.9.x-r1571/os2/share
docdir		=	/progetti/htmldoc-1.9.x-r1571/os2/share/doc/htmldoc
exec_prefix	=	/progetti/htmldoc-1.9.x-r1571/os2
includedir	=	${prefix}/include
infodir		=	${datarootdir}/info
libdir		=	${exec_prefix}/lib
localstatedir	=	${prefix}/var
mandir		=	${datarootdir}/man
prefix		=	/progetti/htmldoc-1.9.x-r1571/os2
sbindir		=	${exec_prefix}/sbin
srcdir		=	.
sysconfdir	=	/progetti/htmldoc-1.9.x-r1571/os2/etc
top_srcdir	=	.


#
# Image libraries...
#

JPEGDEP		=	../jpeg/libjpeg.a
JPEGDIR		=	jpeg
JPEGINC		=	-I../jpeg

PNGDEP		=	../png/libpng.a
PNGDIR		=	png
PNGINC		=	-I../png

ZLIBDEP		=	../zlib/libz.a
ZLIBDIR		=	zlib
ZLIBINC		=	-I../zlib


#
# Program options...
#
# OPTIM   defines the common compiler optimization/debugging options.
#

ARFLAGS		=	cr
CFLAGS		=	-I.. -D__EMX__ -DOS2  -D__ST_MT_ERRNO__ -g $(OPTIM) $(PNGINC) $(JPEGINC) $(ZLIBINC)
CXXFLAGS	=	-I.. -D__EMX__ -DOS2 -D__ST_MT_ERRNO__ -g -fno-rtti -fno-exceptions $(OPTIM) $(PNGINC) $(JPEGINC) $(ZLIBINC)
LDFLAGS		=	-Zexe -Zomf -Zmap -Zargs-wild -D__ST_MT_ERRNO__ $(OPTIM)
LIBS		=	-lssl -lcrypto $(PNGDEP) $(JPEGDEP) $(ZLIBDEP) -lm 
OPTIM		=	-Wall -Wunused -Wno-char-subscripts -Os -g -DOPENSSL_DISABLE_OLD_DES_SUPPORT -DOPENSSL_NO_KRB5


#
# Rules...
#

.SILENT:
.SUFFIXES:	.a .c .cxx .h .o
.c.o:
	echo Compiling $<...
	$(CC) $(CFLAGS) -c $<
.cxx.o:
	echo Compiling $<...
	$(CXX) $(CXXFLAGS) -c $<

#
# End of "$Id: Makedefs.in 1555 2008-03-01 18:18:52Z mike $".
#
