(libm17n_la_LIBADD): Include -ldl.
authorhanda <handa>
Fri, 7 May 2004 04:47:15 +0000 (04:47 +0000)
committerhanda <handa>
Fri, 7 May 2004 04:47:15 +0000 (04:47 +0000)
(libm17n_la_LDFLAGS): Delete it.
(noinst_PROGRAMS): Renamed from bin_PROGRAMS.
(install-binPROGRAMS, uninstall-binPROGRAMS): Delete them.

src/Makefile.am

index 0254043..40dd5fd 100644 (file)
@@ -42,8 +42,7 @@ libm17n_la_SOURCES = \
        language.h language.c \
        mlocale.h locale.c \
        m17n.h m17n.c
-libm17n_la_LIBADD = libm17n-core.la
-libm17n_la_LDFLAGS = -ldl
+libm17n_la_LIBADD = libm17n-core.la -ldl
 
 GUI_SOURCES = \
        face.h face.c \
@@ -69,7 +68,7 @@ include_HEADERS = m17n-core.h m17n.h m17n-misc.h m17n-gui.h m17n-X.h
 
 AM_CPPFLAGS = -DM17NDIR="\"$(datadir)/m17n\""
 
-bin_PROGRAMS = linkcore linkshell linkgui
+noinst_PROGRAMS = linkcore linkshell linkgui
 
 linkcore_SOURCES = linkcore.c
 linkcore_LDADD = libm17n-core.la
@@ -83,10 +82,6 @@ linkgui_SOURCES = linkgui.c
 linkgui_LDADD = libm17n-X.la
 #linkgui_LDFLAGS = -static
 
-# We should not install the above test programs.
-install-binPROGRAMS:
-uninstall-binPROGRAMS:
-
 SRC = ${libm17n_core_la_SOURCES} ${libm17n_la_SOURCES} ${libm17n_X_la_SOURCES}
 
 TAGS: ${SRC}