41 lines
924 B
Makefile
41 lines
924 B
Makefile
|
################################################################
|
||
|
# Makefile for librfc822.a
|
||
|
#
|
||
|
# Author: Jan Wielemaker (wielemak@science.uva.nl)
|
||
|
################################################################
|
||
|
|
||
|
CC=@CC@
|
||
|
CFLAGS=@CFLAGS@ @DEFS@
|
||
|
LIBS=@LIBS@
|
||
|
AR=@AR@
|
||
|
RANLIB=@RANLIB@
|
||
|
|
||
|
ifeq (@PROLOG_SYSTEM@,yap)
|
||
|
%.o: $(srcdir)/%.c
|
||
|
$(CC) -c $(CFLAGS) $(SHLIB_CFLAGS) $< -o $@
|
||
|
endif
|
||
|
|
||
|
OBJ= rfc822.o rfc822_getaddr.o rfc822_getaddrs.o \
|
||
|
rfc822_mkdate.o rfc822_parsedt.o rfc2047u.o \
|
||
|
rfc2047.o imapsubj.o imaprefs.o
|
||
|
|
||
|
all: librfc822.a
|
||
|
|
||
|
librfc822.a: $(OBJ)
|
||
|
rm -f librfc822.a
|
||
|
$(AR) r librfc822.a $(OBJ)
|
||
|
$(RANLIB) librfc822.a
|
||
|
|
||
|
|
||
|
################################################################
|
||
|
# Clean
|
||
|
################################################################
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJ) *~ *.o *% a.out core config.log
|
||
|
|
||
|
distclean: clean
|
||
|
rm -f Makefile config.status config.h librfc822.a
|
||
|
rm -rf autom4te.cache
|
||
|
rm -f stamp-h1
|