Fudge PNG macro detection based on version of libpng.
[fvwm.git] / modules / FvwmCommand / Makefile.am
blob78e63c531590472de6886d3ae89c96ba37883802
1 ## Process this file with automake to create Makefile.in
3 PERL = @PERL@
5 SUBDIRS = scripts
7 bin_PROGRAMS = FvwmCommand
8 moduledir = @FVWM_MODULEDIR@
9 module_PROGRAMS = FvwmCommandS
10 module_DATA = FvwmCommand.sh FvwmCommand.pm
12 FvwmCommandS_SOURCES = FvwmCommandS.c FvwmCommand.h fifos.c
13 FvwmCommand_SOURCES = FvwmCommand.c FvwmCommand.h fifos.c
15 FvwmCommand.sh: findcmd.pl $(top_srcdir)/fvwm/functable.c
16         if test -n "$(PERL)" -a -x "$(PERL)"; then \
17                 $(PERL) $(srcdir)/findcmd.pl $(bindir) -sh \
18                 < $(top_srcdir)/fvwm/functable.c > $@; \
19         else echo '# Did not find perl during fvwm install' > $@; fi
21 FvwmCommand.pm: findcmd.pl $(top_srcdir)/fvwm/functable.c
22         if test -n "$(PERL)" -a -x "$(PERL)"; then \
23                 $(PERL) $(srcdir)/findcmd.pl $(bindir) \
24                 < $(top_srcdir)/fvwm/functable.c > $@; \
25         else echo '# Did not find perl during fvwm install' > $@; fi
27 CLEANFILES = FvwmCommand.sh FvwmCommand.pm
29 FvwmCommandS_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
30 FvwmCommand_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
32 man_MANS = FvwmCommand.1
34 EXTRA_DIST = $(man_MANS) findcmd.pl
36 LDADD = -L$(top_builddir)/libs -lfvwm
38 # FIXME:
39 # Despite not using X functions explicitly, the code includes
40 # fvwmlib.h, which *does* include X headers and xpm.h!
41 INCLUDES = -I$(top_srcdir) $(xpm_CFLAGS) $(Xft_CFLAGS) $(X_CFLAGS)