X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2FMakefile.am;h=2b5b78ced54e67d36ffec203f72bf377c0def267;hb=92887fb8af4d8697f6569d6a6756860fea5f4b84;hp=c4788c1efb993564cf335fa388bdeb712d521538;hpb=7acd51b7cdffca5ad92a777d2c6e8e9bae1f9fd3;p=yaz-moved-to-github.git diff --git a/odr/Makefile.am b/odr/Makefile.am index c4788c1..2b5b78c 100644 --- a/odr/Makefile.am +++ b/odr/Makefile.am @@ -1,14 +1,25 @@ -## $Id: Makefile.am,v 1.3 2000-04-05 07:39:55 adam Exp $ +## $Id: Makefile.am,v 1.10 2003-05-27 21:12:22 adam Exp $ noinst_LTLIBRARIES = libodr.la -INCLUDES=-I$(srcdir)/../include +AM_CPPFLAGS=-I$(top_srcdir)/include -LIBS = +TESTS = tstodr + +EXTRA_PROGRAMS = tstodr + +EXTRA_DIST = tstodrcodec.c tstodrcodec.h tstodr.asn + +tstodr_LDADD = libodr.la ../util/libutil.la +tstodr_SOURCES = tstodr.c tstodrcodec.c tstodrcodec.h + +# Rule for generating codecs for our small ASN.1 spec +tstodrcodec.c tstodrcodec.h: $(srcdir)/tstodr.asn $(top_srcdir)/util/yaz-asncomp + cd $(srcdir); $(top_srcdir)/util/yaz-asncomp tstodr.asn libodr_la_SOURCES = odr_bool.c ber_bool.c ber_len.c ber_tag.c odr_util.c \ odr_null.c ber_null.c odr_int.c ber_int.c odr_tag.c odr_cons.c \ odr_seq.c odr_oct.c ber_oct.c odr_bit.c ber_bit.c odr_oid.c \ ber_oid.c odr_use.c odr_choice.c odr_any.c ber_any.c odr.c odr_mem.c \ - dumpber.c odr_enum.c + dumpber.c odr_enum.c odr-priv.h