#
# Makefile for mts/smtp subdirectory
#
# $Id: Makefile.in,v 1.8 2005/11/08 16:51:37 opk Exp $
#

SHELL = /bin/sh

top_srcdir = @top_srcdir@
srcdir     = @srcdir@
VPATH      = @srcdir@

prefix      = @prefix@
exec_prefix = @exec_prefix@
bindir      = @bindir@
libdir      = @libdir@
etcdir      = @sysconfdir@

CC       = @CC@
CFLAGS   = @CFLAGS@
DEFS     = @DEFS@
SASL_INCLUDES = @SASL_INCLUDES@
INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) $(SASL_INCLUDES)
LINT	= @LINT@
LINTFLAGS = @LINTFLAGS@

COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)

.SUFFIXES:
.SUFFIXES: .c .o

.c.o:
	$(COMPILE) $<

# header files
HDRS = smtp.h

# source
SRCS = hosts.c smtp.c

# object files in libsmtp.a
OBJS = hosts.o smtp.o

# auxiliary files
AUX = Makefile.in

# all files in this directory included in the distribution
DIST = $(HDRS) $(SRCS) $(AUX)

# ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========

all: $(OBJS)

install:

uninstall:

# ========== DEPENDENCIES FOR CLEANUP ==========

mostlyclean:
	rm -f *.o *~

clean: mostlyclean

distclean: clean
	rm -f Makefile

realclean: distclean

superclean: realclean

# ========== DEPENDENCIES FOR LINT =================

lint: 
	$(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)

# ========== DEPENDENCIES FOR MAINTENANCE ==========

subdir = mts/smtp

Makefile: Makefile.in ../../config.status
	cd ../.. && ./config.status $(subdir)/$@
 
distdir = ../../`cat ../../distname`/$(subdir)
nmhdist: $(DIST)
	@echo "Copying distribution files in $(subdir)"
	@for file in $(DIST); do \
	  cp -p $(srcdir)/$$file $(distdir); \
	done



syntax highlighted by Code2HTML, v. 0.9.1