include $(top_srcdir)/examples/Makefile.am_fragment INCLUDES = -I$(top_srcdir)/ \$(LIBBONOBOUIMM_CFLAGS) # The factory server has to be installed for the Activation daemon to find it samplesdir = $(prefix)/lib/bonobo-2.0/samples samples_PROGRAMS = bonobomm-sample-controls # List of source files needed to build the executable: bonobomm_sample_controls_SOURCES = main.cc \ controlwidget.h controlwidget.cc serverdir = $(libdir)/bonobo/servers server_in_files = Bonobomm_Sample_Controls.server.in server_DATA = $(server_in_files:.server.in=.server) EXTRA_DIST = $(server_in_files) CLEANFILES = $(server_DATA) %.server: %.server.in sed -e "s|\@prefix\@|$(prefix)|" $< > $@