+BUILT_SOURCES = mime-token.h mime-token.c
+DISTCLEANFILES = $(BUILT_SOURCES)
+
noinst_LIBRARIES = libmime.a
-libmime_a_SOURCES = mime.h mime.c rfc822address.c rfc822parse.c rfc2047.c rfc2231.c
+libmime_a_SOURCES = mime.h mime-types.h $(BUILT_SOURCES) \
+ mime.c crypt.c \
+ rfc822address.c rfc822parse.c rfc1524.c rfc2047.c rfc2231.c \
+ \
+ rfc3676.h rfc3676.c
+
+noinst_HEADERS = mime.h mime-types.h
+
-noinst_HEADERS = mime.h
+mime-token.c mime-token.h: mime-token.def mime-token.sh
+ sh mime-token.sh $@ < $<
-include ../cflags.mk