AM_CFLAGS = @MIT_CFLAGS@
x11_shim_la_LIBADD = @MIT_LIBS@
-c_sources = x11-shim.h x11.h x11base.c x11color.c x11graph.c x11term.c
+c_sources = x11base.c x11color.c x11graph.c x11term.c x11-shim.h x11.h
+x11_shim_la_SOURCES = $(c_sources) x11-shim.c
x11_shim_la_LDFLAGS = -module -avoid-version -shared
noinst_PROGRAMS = x11-const
-x11_const_SOURCES = x11-const.c x11-shim.h
+x11_const_SOURCES = x11-const.c x11-shim.h x11.h
x11-shim.c: stamp-shim
x11-const.c: stamp-shim
tags: tags-am
./tags-fix.sh x11
-all_sources = $(sources) $(c_sources)
-ETAGS_ARGS = $(all_sources) -r '/^([^iI].*/' $(cdecls)
-TAGS_DEPENDENCIES = $(all_sources) $(cdecls)
+ETAGS_ARGS = $(sources) $(c_sources) -r '/^([^iI].*/' $(cdecls)
+TAGS_DEPENDENCIES = $(sources) $(c_sources) $(cdecls)
-EXTRA_DIST += $(all_sources) $(cdecls) compile.sh compile.scm x11.pkg
+EXTRA_DIST += $(sources) $(cdecls) compile.sh compile.scm x11.pkg
EXTRA_DIST += x11-check.sh x11-test.scm
EXTRA_DIST += make.scm optiondb.scm tags-fix.sh debian