# %%% copyright-cmetz-97
# This software is Copyright 1997 by Craig Metz, All Rights Reserved.
# The Inner Net License Version 2 applies to this software.
# You should have received a copy of the license with this software. If
# you didn't get a copy, you may request one from <license@inner.net>.
#

TARGETS=sendmail

ifndef CONFIG_DIR
CONFIG_DIR=/usr/inet6/lib/
endif

include $(CONFIG_DIR)GNUmakefile.inc

CFLAGS+=$(DINET6) $(DIPSEC) -I.

ifeq ($(OS),BSD/OS)
LOADLIBES+=-lutil -lkvm
endif

DEST=$(SBINDIR)

include $(CONFIG_DIR)GNUmakefile.prog.tmpl

OBJS=alias.o arpadate.o clock.o collect.o conf.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o srvrsmtp.o stab.o stats.o sysexits.o trace.o udb.o usersmtp.o util.o version.o

sendmail: $(OBJS)
	$(CC) $(OBJS) $(LOADLIBES) -o sendmail
