X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=62fba50f120444f2c39fda079654b3d66d0cd21b;hb=21d464a7e53efc9ac9810d9301a12b6a56fdb061;hp=df0e9de48c570ff49bd829381ba3e53e623c4148;hpb=2f3aab0ee9797700238656218208a6ab17a607b3;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index df0e9de4..62fba50f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrok project. ## -## Copyright (C) 2010 Bert Vermeulen +## Copyright (C) 2010-2012 Bert Vermeulen +## Copyright (C) 2012 Alexandru Gagniuc ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -17,23 +18,27 @@ ## along with this program. If not, see . ## -AM_CPPFLAGS = -I $(top_srcdir)/libsigrok +ACLOCAL_AMFLAGS = -I autostuff -SUBDIRS = hardware input output firmware +AM_CPPFLAGS = -I$(top_srcdir) -# lib_LTLIBRARIES = libsigrok.la -noinst_LTLIBRARIES = libsigrok.la +SUBDIRS = contrib hardware input output tests + +lib_LTLIBRARIES = libsigrok.la libsigrok_la_SOURCES = \ backend.c \ - datastore.c \ device.c \ session.c \ session_file.c \ session_driver.c \ - hwplugin.c \ + hwdriver.c \ filter.c \ - strutil.c + strutil.c \ + log.c \ + version.c \ + error.c \ + std.c libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -41,12 +46,22 @@ libsigrok_la_LIBADD = \ input/libsigrokinput.la \ output/libsigrokoutput.la -libsigrok_la_LDFLAGS = $(SIGROK_LT_LDFLAGS) +libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS) + +library_includedir = $(includedir)/libsigrok +library_include_HEADERS = libsigrok.h proto.h version.h +noinst_HEADERS = libsigrok-internal.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsigrok.pc + +EXTRA_DIST = Doxyfile HACKING README.devices + +MAINTAINERCLEANFILES = ChangeLog -# include_HEADERS = sigrok.h sigrok-proto.h -# noinst_HEADERS = sigrok-internal.h -noinst_HEADERS = sigrok.h sigrok-proto.h sigrok-internal.h +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog -# pkgconfigdir = $(libdir)/pkgconfig -# pkgconfig_DATA = libsigrok.pc +dist-hook: ChangeLog