X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=c87321aebdd74200e0fca5304d4161e7098c2994;hb=8be8746951e5538147370d9871a4c1ed0268db52;hp=77c804e461849bffaabc2720c969bb5a047b6608;hpb=5e59cfbfc736aab9e79caef4ab6bdcbc500e254f;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 77c804e4..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 = contrib hardware input output firmware +AM_CPPFLAGS = -I$(top_srcdir) + +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la @@ -30,10 +33,12 @@ libsigrok_la_SOURCES = \ session.c \ session_file.c \ session_driver.c \ - hwplugin.c \ + hwdriver.c \ filter.c \ strutil.c \ - log.c + log.c \ + version.c \ + error.c libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -41,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 +