1 ## Process this file with automake to create Makefile.in
3 moduledir = @FVWM_MODULEDIR@
4 configdir = @FVWM_DATADIR@
6 module_PROGRAMS = FvwmForm
9 ## FvwmTalk was made obsolete in March 1999.
10 ## This provides compatibility.
11 module_SCRIPTS = FvwmTalk
13 FvwmTalk: ../../config.h Makefile
15 echo exec ${moduledir}/FvwmForm '$$@' FvwmForm-Talk>> $@
17 ## NB: Neither _MANS nor _DATA are included by default in
19 EXTRA_DIST = $(man_MANS) Changes \
29 FvwmForm_SOURCES = FvwmForm.c FvwmForm.h ReadXServer.c ParseCommand.c
31 FvwmForm_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
43 ## Xpm note: while this module may not depend on Xpm explicitly,
44 ## there are sometimes dependencies through functions in libfvwm
45 ## so we might as well link against libXpm, if present.
46 LDADD = -L$(top_builddir)/libs -lfvwm $(Xft_LIBS) $(X_LIBS) \
47 $(X_PRE_LIBS) $(Xinerama_LIBS) -lXext -lX11 $(X_EXTRA_LIBS) \
48 -lm $(Xrender_LIBS) $(rsvg_LIBS) $(iconv_LIBS) $(Bidi_LIBS)
50 INCLUDES = -I$(top_srcdir) $(Xft_CFLAGS) $(X_CFLAGS) $(iconv_CFLAGS) \
51 $(Bidi_CFLAGS) $(Xrender_CFLAGS)
53 FvwmForm-Setup: FvwmForm-Setup.in Makefile
55 sed -e 's,xFVWM_DATADIRx,$(FVWM_DATADIR),' $(top_srcdir)/modules/FvwmForm/FvwmForm-Setup.in > $@-t
58 CLEANFILES = $(module_SCRIPTS) FvwmForm-Setup