Include "config.h" if `HAVE_CONFIG_H' is defined.
[chise/concord.git] / Makefile.in
index 80966f0..dab85ca 100644 (file)
@@ -1,12 +1,13 @@
 CC = @CC@
 DEFS = @DEFS@
 LIBS = @LIBS@
-CFLAGS = -I. @CFLAGS@ -c -Wall -Wmissing-prototypes
+CFLAGS = -I. @CFLAGS@ -c -Wall -Wmissing-prototypes $(DEFS)
 
 LIBTOOL = @LIBTOOL@
 
 RM     = /bin/rm -f
 TAR    = tar
+MKDIR  = mkdir -p
 
 
 ## The default location for installation.  Everything is placed in
@@ -37,7 +38,7 @@ INCLUDE_INSTALLDIR = ${prefix}/include
 LIB_INSTALLDIR = ${libdir}
 
 VERSION                = @PACKAGE_VERSION@
-ABI_VERSION     = 0:0:0
+ABI_VERSION     = 1:0:1
 
 
 HEADERS        = concord.h concord-name.h concord-bdb.h
@@ -65,9 +66,11 @@ name.lo:     name.c concord-name.h
 install:       install.h install.libs
 
 install.h:
+       $(MKDIR) $(INCLUDE_INSTALLDIR)
        install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
 
 install.libs:  libconcord.la
+       $(MKDIR) $(LIB_INSTALLDIR)
        $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR)