1 ## This is a -*- Makefile -*-
2 ## Process this file with automake to create Makefile.in
4 moduledir = @FVWM_MODULEDIR@
5 module_PROGRAMS = FvwmRearrange
7 ## These modules were made obsolete in November, 1998.
8 ## Remove from fvwm distribution no later than October, 1999.
9 module_SCRIPTS = FvwmCascade FvwmTile
11 FvwmCascade: ../../config.h Makefile
13 echo 'modargs="$$1 $$2 $$3 $$4 $$5"' >> $@
14 echo 'shift;shift;shift;shift;shift' >> $@
15 echo exec ${moduledir}'/FvwmRearrange $$modargs -cascade $$@' >> $@
17 FvwmTile: ../../config.h Makefile
19 echo 'modargs="$$1 $$2 $$3 $$4 $$5"' >> $@
20 echo 'shift;shift;shift;shift;shift' >> $@
21 echo exec ${moduledir}'/FvwmRearrange $$modargs -tile $$@' >> $@
23 EXTRA_DIST = $(man_MANS)
24 man_MANS = FvwmRearrange.1
25 CLEANFILES = $(module_SCRIPTS)
27 FvwmRearrange_SOURCES = FvwmRearrange.c
28 FvwmRearrange_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
30 LDADD = -L$(top_builddir)/libs $(X_LIBS) -lm -lfvwm \
31 $(X_PRE_LIBS) $(Xinerama_LIBS) -lXext -lX11 $(X_EXTRA_LIBS)
33 INCLUDES = -I$(top_srcdir) $(Xft_CFLAGS) $(X_CFLAGS)