-I$(top_srcdir)/lib/graph \
-I$(top_srcdir)/lib/cdt
-if ENABLE_STATIC
if ENABLE_SHARED
-bin_PROGRAMS = dot dot_builtins dot_static
-else
-bin_PROGRAMS = dot_static
+if ENABLE_LTDL
+bin_PROGRAMS = dot
endif
-else
+endif
+
+# dot_builtins and dot_static work w/wo ltdl
+if ENABLE_STATIC
if ENABLE_SHARED
-bin_PROGRAMS = dot dot_builtins
+noinst_PROGRAMS = dot_builtins dot_static
+else
+noinst_PROGRAMS = dot_static
endif
endif
+
man_MANS = dot.1
pdf_DATA = dot.pdf