1 ## Process this file with automake to create Makefile.in
3 bin_PROGRAMS = fvwm-root
5 fvwm_root_SOURCE= fvwm-root.c
6 fvwm_root_DEPENDENCIES = $(top_builddir)/libs/libfvwm.a
9 fvwm-config fvwm-bug fvwm-perllib \
10 fvwm-convert-2.4 fvwm-convert-2.6 \
11 fvwm-menu-xlock fvwm-menu-directory \
12 fvwm-menu-desktop fvwm-menu-headlines
15 fvwm-root.1 fvwm-config.1 fvwm-bug.1 fvwm-perllib.1 \
16 fvwm-convert-2.4.1 fvwm-convert-2.6.1 \
17 fvwm-menu-xlock.1 fvwm-menu-directory.1 \
18 fvwm-menu-desktop.1 fvwm-menu-headlines.1
19 EXTRA_DIST = fvwm-convert-2.2 fvwm-convert-2.2.1 $(man_MANS)
21 LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm $(xpm_LIBS) $(Xcursor_LIBS) \
22 $(X_PRE_LIBS) -lXext -lX11 -lm $(X_EXTRA_LIBS) $(Xrender_LIBS) \
23 $(Xcursor_LIBS) $(png_LIBS) $(rsvg_LIBS)
24 INCLUDES = -I$(top_srcdir) $(xpm_CFLAGS) $(X_CFLAGS) $(png_CFLAGS) \
28 ## The long generation for *.1 is to make both pod2man and 'make -j' happy.
30 _fvwm-menu-xlock.1: fvwm-menu-xlock
31 @TMP=tmp-$$$$ NAME=fvwm-menu-xlock && (\
33 cp $$NAME.in $$TMP/$$NAME && \
34 pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
35 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
36 mv $$TMP/$$NAME.1 .; \
39 _fvwm-menu-directory.1: fvwm-menu-directory
40 @TMP=tmp-$$$$ NAME=fvwm-menu-directory && (\
42 cp $$NAME.in $$TMP/$$NAME && \
43 pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
44 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
45 mv $$TMP/$$NAME.1 .; \
48 _fvwm-menu-headlines.1: fvwm-menu-headlines
49 @TMP=tmp-$$$$ NAME=fvwm-menu-headlines && (\
51 cp $$NAME.in $$TMP/$$NAME && \
52 pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
53 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
54 mv $$TMP/$$NAME.1 .; \
57 _fvwm-perllib.1: fvwm-perllib
58 @TMP=tmp-$$$$ NAME=fvwm-perllib && (\
60 cp $$NAME.in $$TMP/$$NAME && \
61 pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
62 --name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
63 mv $$TMP/$$NAME.1 .; \
67 _fvwm-menu-xlock.1 _fvwm-menu-directory.1 _fvwm-menu-headlines.1 \
70 ## Create compatibility symlinks if available
73 @rm -f $(DESTDIR)$(bindir)/xpmroot
74 @$(LN_S) fvwm-root $(DESTDIR)$(bindir)/xpmroot || \
75 echo "Minor warning: $(bindir)/xpmroot symlink was not created"
78 @rm -f $(DESTDIR)$(mandir)/man1/xpmroot.1
79 @$(LN_S) fvwm-root.1 $(DESTDIR)$(mandir)/man1/xpmroot.1 || \
80 echo "Minor warning: $(mandir)/man1/xpmroot.1 symlink was not created"
82 CLEANFILES = $(bin_SCRIPTS) $(bin_PROGRAMS)