X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=a9460e55ad9dd6b29b3e6f4bb7b564b8d3fe822a;hp=2d6cd25d476ed5bd1dece28210ad74d268b91d9c;hb=7efd37c004833a4f1758bc99623850d89722636d;hpb=fe9d91a88a8896ef04d12682720943b237c0a295 diff --git a/Makefile.am b/Makefile.am index 2d6cd25..a9460e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,14 +20,15 @@ ACLOCAL_AMFLAGS = -I autostuff -SUBDIRS = contrib decoders tests +SUBDIRS = contrib tests lib_LTLIBRARIES = libsigrokdecode.la libsigrokdecode_la_SOURCES = \ - controller.c \ + srd.c \ session.c \ decoder.c \ + instance.c \ log.c \ util.c \ exception.c \ @@ -57,4 +58,14 @@ ChangeLog: git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog dist-hook: ChangeLog + $(MKDIR_P) $(distdir)/tools + cp tools/install-decoders $(distdir)/tools + $(MKDIR_P) $(distdir)/decoders + tools/install-decoders -o $(distdir)/decoders + +install-decoders: + $(MKDIR_P) $(DESTDIR)$(DECODERS_DIR) + tools/install-decoders -o $(DESTDIR)$(DECODERS_DIR) + +install-data-hook: install-decoders