Makefile.am revision 6e7d3316
1if BUILD_SXPM 2 3bin_PROGRAMS = sxpm 4 5AM_CPPFLAGS = -I$(top_srcdir)/include 6AM_CFLAGS = $(CWARNFLAGS) $(SXPM_CFLAGS) 7 8sxpm_SOURCES = sxpm.c 9 10LDADD = $(SXPM_LIBS) $(top_builddir)/src/libXpm.la 11 12# Man page 13appmandir = $(APP_MAN_DIR) 14 15appman_PRE = sxpm.man 16appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 17 18CLEANFILES = $(appman_DATA) 19 20SUFFIXES = .$(APP_MAN_SUFFIX) .man 21 22# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 23.man.$(APP_MAN_SUFFIX): 24 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 25 26if USE_GETTEXT 27noinst_DATA = sxpm.po 28 29sxpm.po: $(sxpm_SOURCES:%=$(srcdir)/%) 30 $(AM_V_GEN)xgettext -c"L10N_Comments" -d sxpm -n $(sxpm_SOURCES:%=$(srcdir)/%) 31 32CLEANFILES += sxpm.po 33endif 34endif 35 36EXTRA_DIST = \ 37 plaid_ext.xpm \ 38 plaid_mask.xpm \ 39 plaid.xpm \ 40 sxpm.man 41