-SUBDIRS = src samples # utils user docs
-pkgdata_SCRIPTS = wx-config
+AUTOMAKE_OPTIONS = 1.3
+# no-dependencies
+
+SUBDIRS = include src samples misc # utils user docs
+
+bin_SCRIPTS = wx-config
+
+configincludedir = $(libdir)/wx/include/wx/$(TOOLKIT_DIR)
+
+configinclude_DATA = \
+ setup.h
+