#
# Makefile definitions for HTMLDOC, an HTML document processing program.
#
# Copyright © 2011-2019 by Michael R Sweet.
# Copyright © 1997-2010 by Easy Software Products.
#
# This program is free software.  Distribution and use rights are outlined in
# the file "COPYING".
#

#
# Programs...
#

AR		=	@AR@
AWK		=	@AWK@
CC		=	@CC@
CXX		=	@CXX@
CHMOD		=	@CHMOD@
CP		=	@CP@
INSTALL		=	@INSTALL@
LN		=	/bin/ln -sf
MKDIR		=	@MKDIR@ -p
MV		=	@MV@
POST		=	@POST@
RANLIB		=	@RANLIB@
RM		=	@RM@ -f
SHELL		=	/bin/sh

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

#
# Installation programs...
#

INSTALL_BIN	=	$(INSTALL) -c -m 555 @INSTALL_STRIP@
INSTALL_DATA	=	$(INSTALL) -c -m 444
INSTALL_DIR	=	$(INSTALL) -d
INSTALL_MAN	=	$(INSTALL) -c -m 444

#
# Directories...
#

BUILDROOT	=	$(DSTROOT)$(RPM_BUILD_ROOT)$(DESTDIR)
bindir		=	@bindir@
datadir		=	@datadir@
datarootdir	=	@datarootdir@
exec_prefix	=	@exec_prefix@
includedir	=	@includedir@
infodir		=	@infodir@
libdir		=	@libdir@
libexecdir	=	@libexecdir@
localstatedir	=	@localstatedir@
mandir		=	@mandir@
oldincludedir	=	@oldincludedir@
prefix		=	@prefix@
sbindir		=	@sbindir@
sharedstatedir	=	@sharedstatedir@
srcdir		=	@srcdir@
sysconfdir	=	@sysconfdir@
top_srcdir	=	@top_srcdir@

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

ARFLAGS		=	@ARFLAGS@
CFLAGS		=	-I.. @CFLAGS@ @LARGEFILE@ $(OPTIM) $(WARNINGS) @JPEGINC@ @PNGINC@ @ZLIBINC@
CPPFLAGS	=	@CPPFLAGS@
CXXFLAGS	=	-I.. @CXXFLAGS@ @LARGEFILE@ $(OPTIM) $(WARNINGS) @JPEGINC@ @PNGINC@ @ZLIBINC@
LDFLAGS		=	@LDFLAGS@ $(OPTIM)
LIBS		=	@SSLLIBS@ @LIBS@
OPTIM		=	@OPTIM@ @SSLFLAGS@
WARNINGS	=	@WARNINGS@


#
# Rules...
#

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