1## Process this file with automake to create Makefile.in
2
3program_transform_name =
4
5moduleexecdir = @FVWM_MODULEDIR@
6moduleexec_PROGRAMS = FvwmEvent
7man_MANS = FvwmEvent.1
8EXTRA_DIST = $(man_MANS)
9
10FvwmEvent_SOURCES = FvwmEvent.c
11FvwmEvent_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
12
13# This module behaves like the old FvwmAudio when invoked with that name.
14install-exec-local: ../../config.h Makefile
15	$(mkinstalldirs) $(DESTDIR)$(moduleexecdir)
16	rm -f $(DESTDIR)$(moduleexecdir)/FvwmAudio
17	@_fe=`echo FvwmEvent|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
18	 _fa=`echo FvwmAudio|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
19	 echo "  $(LN_S) $$_fe $(DESTDIR)$(moduleexecdir)/$$_fa"; \
20	 $(LN_S) "$$_fe" $(DESTDIR)$(moduleexecdir)/"$$_fa" || true
21
22uninstall-local:
23	@rm -f $(DESTDIR)$(moduleexecdir)/FvwmAudio
24
25LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm $(rplay_LIBS) \
26	$(X_PRE_LIBS) -lXext -lX11 $(X_EXTRA_LIBS)
27
28AM_CPPFLAGS = -I$(top_srcdir) $(rplay_CFLAGS) $(X_CFLAGS)
29