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 \
30 FvwmForm_SOURCES = FvwmForm.c FvwmForm.h ReadXServer.c ParseCommand.c
32 FvwmForm_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
45 ## Xpm note: while this module may not depend on Xpm explicitly,
46 ## there are sometimes dependencies through functions in libfvwm
47 ## so we might as well link against libXpm, if present.
48 LDADD = -L$(top_builddir)/libs -lfvwm $(Xft_LIBS) $(X_LIBS) \
49 $(X_PRE_LIBS) $(Xinerama_LIBS) -lXext -lX11 $(X_EXTRA_LIBS) \
50 -lm $(Xrender_LIBS) $(rsvg_LIBS) $(iconv_LIBS) $(Bidi_LIBS)
52 INCLUDES = -I$(top_srcdir) $(Xft_CFLAGS) $(X_CFLAGS) $(iconv_CFLAGS) \
53 $(Bidi_CFLAGS) $(Xrender_CFLAGS)
55 FvwmForm-Setup: FvwmForm-Setup.in Makefile
57 sed -e 's,xFVWM_DATADIRx,$(FVWM_DATADIR),' $(top_srcdir)/modules/FvwmForm/FvwmForm-Setup.in > $@-t
60 CLEANFILES = $(module_SCRIPTS) FvwmForm-Setup