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