mutter/tests/tools/Makefile.am

29 lines
620 B
Makefile
Raw Normal View History

lib_LTLIBRARIES =
if HAVE_LIBDL
lib_LTLIBRARIES += libdisable-npots.la
endif
libdisable_npots_la_SOURCES = disable-npots.c
libdisable_npots_la_LIBADD = -ldl
INCLUDES = \
-I$(top_srcdir)/clutter \
-I$(top_builddir)/clutter \
$(CLUTTER_CFLAGS) \
-D_GNU_SOURCE
all-local : disable-npots.sh
clean-local :
rm -f disable-npots.sh
disable-npots.sh : $(top_builddir)/tests/tools/disable-npots.sh.in
sed 's|--builddir--|'`cd '$(top_builddir)' && pwd`'|' < $< > $@ && \
chmod 755 disable-npots.sh
EXTRA_DIST = README disable-npots.sh.in