AUTOMAKE_OPTIONS = foreign
-INCLUDES = -I$(top_srcdir) -I../intl
-
noinst_LIBRARIES = libsane.a
-noinst_HEADERS = mem.h str.h exit.h intl.h list.h rx.h debug.h
+noinst_HEADERS = str.h exit.h list.h rx.h debug.h
+
+libsane_a_SOURCES = exit.c str.c list.c rx.h debug.h \
+ exit.h str.h list.h rx.c debug.c
-libsane_a_SOURCES = mem.c exit.c str.c list.c rx.h debug.h \
- mem.h exit.h str.h list.h rx.c debug.c intl.h
+-include ../cflags.mk