AUTOMAKE_OPTIONS = foreign
-if USE_INCLUDED_BOEHM
-GCDIR = libgc
-else
-GCDIR =
-endif
+SUBDIRS = mono doc docs runtime scripts man data
-SUBDIRS = $(GCDIR) mono doc runtime scripts man
+EXTRA_DIST= mono.pc.in mono.spec.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA= mono.pc
+DISTCLEANFILES= mono.pc