1 ## Process this file with automake to create Makefile.in
3 moduledir = @FVWM_MODULEDIR@
4 module_PROGRAMS = FvwmM4
6 EXTRA_DIST = $(man_MANS)
8 FvwmM4_SOURCES = FvwmM4.c FvwmM4.h
9 FvwmM4_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
11 ## Xpm note: while this module may not depend on Xpm explicitly,
12 ## there are sometimes dependencies through functions in libfvwm
13 ## so we might as well link against libXpm, if present.
14 LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm -lm \
15 $(X_PRE_LIBS) -lXext -lX11 $(X_EXTRA_LIBS)
17 INCLUDES = -I$(top_srcdir) $(X_CFLAGS)
18 AM_CFLAGS = -DFVWM_MODULEDIR=\"$(FVWM_MODULEDIR)\" \
19 -DFVWM_DATADIR=\"$(FVWM_DATADIR)\"