From 957dbaf599a2e5e84132985bfa42d106e5752ff0 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 31 Mar 2010 04:16:09 +0000 Subject: [PATCH] Add "-@M17N_BINARY_VERSION@" to file names. Remove targets for purify. (noinst_PROGRAMS): Renamed from bin_PROGRAMS. --- example/Makefile.am | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/example/Makefile.am b/example/Makefile.am index 1fd9b4d..8916b61 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -27,13 +27,13 @@ BASICPROGS = m17n-conv if WITH_GUI -bin_PROGRAMS = $(BASICPROGS) m17n-view m17n-date m17n-dump m17n-edit +noinst_PROGRAMS = $(BASICPROGS) m17n-view m17n-date m17n-dump m17n-edit else -bin_PROGRAMS = $(BASICPROGS) +noinst_PROGRAMS = $(BASICPROGS) endif -common_ldflags = ${top_builddir}/src/libm17n-core.la ${top_builddir}/src/libm17n.la -common_ldflags_gui = ${common_ldflags} ${top_builddir}/src/libm17n-flt.la ${top_builddir}/src/libm17n-gui.la +common_ldflags = ${top_builddir}/src/libm17n-core-@M17N_BINARY_VERSION@.la ${top_builddir}/src/libm17n-@M17N_BINARY_VERSION@.la +common_ldflags_gui = ${common_ldflags} ${top_builddir}/src/libm17n-flt-@M17N_BINARY_VERSION@.la ${top_builddir}/src/libm17n-gui-@M17N_BINARY_VERSION@.la AM_CPPFLAGS=@CONFIG_FLAGS@ m17n_date_SOURCES = mdate.c @@ -79,17 +79,3 @@ libmimx_ispell_la_LDFLAGS = -avoid-version -module libmimx_anthy_la_SOURCES = mimx-anthy.c libmimx_anthy_la_LIBADD = ${common_ldflags} @ANTHY_LD_FLAGS@ libmimx_anthy_la_LDFLAGS = -avoid-version -module - -if MAINTAINER_MODE - -# Special targets to test the m17n library with Purify. - -PURIFY=/usr/local/rational/releases/purify.sol.2002.05.00/purify - -purify_medit: medit ../src/.libs/libm17n-core.so ../src/.libs/libm17n.so ../src/.libs/libm17n-X.so linebreak.c - ${PURIFY} gcc -g medit.o linebreak.o -lXaw -lXmu -L/usr/X11R6/lib -R/usr/X11R6/lib -lSM -lICE -lX11 -lXt -L../src/.libs -lm17n-core -lm17n -lm17n-X -ldl - -purify_mdate: mdate.o ../src/.libs/libm17n.so ../src/.libs/libm17n-X.so - ${PURIFY} gcc -g mdate.o -lXaw -lXmu -L/usr/X11R6/lib -R/usr/X11R6/lib -lSM -lICE -lX11 -lXt -L../src/.libs -lm17n -lm17n-X -ldl - -endif -- 1.7.10.4