1## Process this file with automake to create Makefile.in 2 3program_transform_name = 4 5moduledir = @FVWM_MODULEDIR@ 6module_PROGRAMS = FvwmMFL 7module_SCRIPTS = FvwmCommandS 8 9FvwmMFL_SOURCES = FvwmMFL.c 10FvwmMFL_DEPENDENCIES = $(top_builddir)/libs/libfvwm3.a 11 12## FvwmCommand/FvwmCommandS was made obsolete via 13## 14## 7b8684385 (Deprecation of modules, 2019-04-14) 15## 16## However, to maintain backwards compatibility with fvwm2, provide a wrapper 17## for FvwmCommandS to point to FvwmMFL so that there's better parity. 18FvwmCommandS: Makefile 19 echo "#!/bin/sh" > $@ 20 echo 'modargs="$$1 $$2 $$3 $$4 $$5"' >> $@ 21 echo 'shift; shift; shift; shift; shift' >> $@ 22 echo exec $(moduledir)'/FvwmMFL $$modargs $$@' >> $@ 23 24CLEANFILES = $(module_SCRIPTS) 25 26LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm3 \ 27 $(X_PRE_LIBS) -lXext -lX11 $(X_EXTRA_LIBS) $(XRandR_LIBS) \ 28 $(libevent_LIBS) $(Xft_LIBS) 29 30AM_CPPFLAGS = -I$(top_srcdir) $(X_CFLAGS) $(Xft_CFLAGS) 31 32