+if HAVE_GNOME
+GNOME_SRCS= \
+ ui-gnome.c \
+ ui-gnome.h \
+ $(GLADE_OUT)
+endif
+
+if ENABLE_BUNDLE
+BUNDLE_SRCS= \
+ bundle.c \
+ bundle.h \
+ bundle-util.c \
+ bundle-util.h
+endif
+
+EXTRA_DIST+= \
+ bundle.pl
+
+if HAVE_PERL
+# FIXME: GNU make(1) dependency by $(addprefix ...)
+po_files=$(addprefix $(top_builddir)/$(POSUB)/,$(CATALOGS))
+bundle_files=$(top_srcdir)/init.d/$(PACKAGE).init $(po_files)
+bundle.c: bundle.pl $(bundle_files)
+ $(PERL) bundle.pl $(bundle_files) >$@
+
+$(po_files):
+ $(MAKE) -C $(top_builddir)/$(POSUB)
+
+endif
+