-include $(top_srcdir)/examples/Makefile.am_fragment
+## Process this file with automake to produce Makefile.in
+
+INCLUDES = \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ @PACKAGE_CFLAGS@
+
+bin_PROGRAMS = drag_and_drop
+
+drag_and_drop_SOURCES = main.cc \
+ dndwindow.cc \
+ dndwindow.h
+
+drag_and_drop_LDADD = @PACKAGE_LIBS@
+
-#Build the executable, but don't install it.
-noinst_PROGRAMS = drag_and_drop
-drag_and_drop_SOURCES = dndwindow.h dndwindow.cc main.cc