More fixes for make where sourcedir and builddir are different.
[yaz-moved-to-github.git] / asn / Makefile.am
index 1ff4fc9..363054a 100644 (file)
@@ -1,8 +1,14 @@
-## $Id: Makefile.am,v 1.2 2000-02-28 11:44:39 adam Exp $
+## $Id: Makefile.am,v 1.5 2001-03-21 15:02:39 adam Exp $
 
-noinst_LIBRARIES=libasn.a
+noinst_LTLIBRARIES=libasn.la
 
-libasn_a_SOURCES = proto.c prt-rsc.c prt-acc.c prt-exp.c prt-grs.c prt-exd.c \
+LIBS =
+
+libasn_la_SOURCES = proto.c prt-rsc.c prt-acc.c prt-exp.c prt-grs.c prt-exd.c \
        prt-dia.c prt-esp.c prt-arc.c prt-add.c prt-dat.c prt-univ.c
 
-INCLUDES=-I../include
+pkginclude_HEADERS = \
+       prt-acc.h prt-add.h prt-arc.h prt-dat.h prt-dia.h prt-esp.h prt-exd.h \
+       prt-exp.h prt-ext.h prt-grs.h prt-proto.h prt-rsc.h prt-univ.h
+
+INCLUDES=-I$(top_srcdir)/include