## Process this file with automake to produce Makefile.in

LDFLAGS = -mwindows

libexecdir = $(cinepaintplugindir)/plug-ins

libexec_PROGRAMS = winsnap

winsnap_SOURCES = \
	winsnap.c	\
	winsnap.h

EXTRA_DIST = \
	resource.h	\
	select.cur	\
	small.ico	\
	winsnap.ico	\
	winsnap.rc

INCLUDES = \
	-I$(top_srcdir)			\
	-I$(top_srcdir)/intl		\
	$(GTK_CFLAGS)			\
	-I$(includedir)

AM_CPPFLAGS = \
        -DLOCALEDIR=\""$(localedir)"\"

LDADD = \
	winsnap-win32res.o			\
	$(top_builddir)/lib/libcinepaintui.la	\
	$(top_builddir)/lib/libcinepaint.la	\
	$(GTK_LIBS)				\
	$(INTLLIBS)

winsnap-win32res.o: winsnap.rc select.cur small.ico winsnap.ico
	$(top_srcdir)/build/win32/compile-resource winsnap.rc winsnap-win32res.o

.PHONY: files

files:
	@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
	  echo $$p; \
	done
