# Makefile for libparse822 shared library

# Version: $Revision: 0.2 $
# Date: $Date: 2006/10/15 14:26:24 $
#
# Copyright (c) 2004 - 2006
# The Trustees of Columbia University in the City of New York
# Academic Information Systems
# 
# License restrictions apply, see doc/license.html for details.

# Get common definitions
include ../Makefile.inc

# Set the paths to the source
srcdir=@srcdir@
VPATH=@srcdir@

# Where to find install
INSTALL=@INSTALL@

TARGETS=libparse822.a
OBJS=RFC822Message.o lexer.o parser.o

all: ${TARGETS}

install-remote:

install: ${TARGETS}
	echo Nothing to install for libparse822

libparse822.a: ${OBJS}
	${AR} -rv libparse822.a ${OBJS}
	${RANLIB} libparse822.a

veryclean: clean
	rm -f *.o *~

clean:
	rm -f ${OBJS} ${TARGETS}

