X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=c87321aebdd74200e0fca5304d4161e7098c2994;hb=dc890b8f9fa01895d3849e7d5ab8be1146f07b9e;hp=a7dbb2325650b10a11671e5468879c4dafc82193;hpb=eeebceea31bacfbe05ba6d7cbcf21de03910329a;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index a7dbb232..c87321ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ ## ## This file is part of the sigrok 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,9 +18,11 @@ ## 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) + +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la @@ -28,8 +31,14 @@ libsigrok_la_SOURCES = \ datastore.c \ device.c \ session.c \ - hwplugin.c \ - filter.c + session_file.c \ + session_driver.c \ + hwdriver.c \ + filter.c \ + strutil.c \ + log.c \ + version.c \ + error.c libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -37,11 +46,22 @@ libsigrok_la_LIBADD = \ input/libsigrokinput.la \ output/libsigrokoutput.la -libsigrok_la_LDFLAGS = $(SIGROK_LT_LDFLAGS) +libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS) -include_HEADERS = sigrok.h sigrok-proto.h -noinst_HEADERS = sigrok-internal.h +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 + +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog + +dist-hook: ChangeLog +