This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/clib/maildrop/rfc2045/Makefile.in
2010-07-19 14:43:07 +01:00

49 lines
1.1 KiB
Makefile

################################################################
# Makefile for librfc2045.a
#
# Author: Jan Wielemaker (wielemak@science.uva.nl)
################################################################
CC=@CC@
CFLAGS=@CFLAGS@ @DEFS@
LIBS=@LIBS@
AR=@AR@
RANLIB=@RANLIB@
ifeq (@PROLOG_SYSTEM@,yap)
srcdir=@srcdir@
SHLIB_CFLAGS=@SHLIB_CFLAGS@
%.o: $(srcdir)/%.c
$(CC) -c $(CFLAGS) -I$(srcdir) -I$(srcdir)/.. -I../../../.. $(SHLIB_CFLAGS) $< -o $@
endif
OBJ= rfc2045.o rfc2045acchk.o rfc2045acprep.o \
rfc2045appendurl.o rfc2045cdecode.o rfc2045decode.o \
rfc2045enomem.o \
rfc2045_base64encode.o rfc2045_fromfd.o \
rfc2045find.o rfc2045mkboundary.o rfc2045rewrite.o \
rfc2045tryboundary.o rfc2045xdump.o
all: librfc2045.a
librfc2045.a: $(OBJ)
rm -f librfc2045.a
$(AR) r librfc2045.a $(OBJ)
$(RANLIB) librfc2045.a
################################################################
# Clean
################################################################
clean:
rm -f $(OBJ) *~ *.o *% a.out core config.log
distclean: clean
rm -f Makefile config.status config.h librfc2045.a
rm -f rfc2045charset.h stamp-h1
rm -rf autom4te.cache