Release.
[chise/libchise.git] / Makefile.in
index 32e4656..c03edf0 100644 (file)
@@ -45,6 +45,7 @@ CHISE_DB_DIR  = ${CHISE_DIR}
 CHISE_SI_DB_DIR        = ${CHISE_DB_DIR}/db
 
 CHISE_CFLAGS   = \
+       -DCHISE_DB_FORMAT_VERSION=\"${CHISE_DIR_VERSION}/\" \
        -DCHISE_DB_DIR=\"${CHISE_DB_DIR}/\" \
        -DCHISE_SI_DB_DIR=\"${CHISE_SI_DB_DIR}/\"
 
@@ -61,10 +62,11 @@ all:        libchise.la
 libchise.la:   $(OBJS)
        $(LIBTOOL) --mode=link \
                $(CC) -o libchise.la $(OBJS) $(LIBS) \
-               -rpath ${libdir} -version-info $(ABI_VERSION)
+               -rpath ${libdir} -version-info $(ABI_VERSION) \
+               -no-undefined
 
 chise.lo:      chise.c chise.h config.h sysdep.h
-       $(LIBTOOL) $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c
+       $(LIBTOOL) --mode=compile $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c
 
 
 install:       install.h install.libs
@@ -73,7 +75,7 @@ install.h:
        install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
 
 install.libs:  libchise.la
-       $(LIBTOOL) install -c libchise.la $(LIB_INSTALLDIR)
+       $(LIBTOOL) --mode=install install -c libchise.la $(LIB_INSTALLDIR)
 
 
 sample:        sample.c libchise.la
@@ -85,7 +87,7 @@ clean:
 
 distclean: clean
        -$(RM) Makefile config.h config.status config.log
-
+       -$(RM) -r autom4te.cache autoscan.log configure.scan libtool
 
 tar:
        cvs commit