X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=c87321aebdd74200e0fca5304d4161e7098c2994;hb=6b7ace4832b3b574399098de2ad4f4bd0f35a14e;hp=aa3e33f018e40514026f02d46954a5dcd727d7f2;hpb=db8ae7b941a31b2bc64e14d60a1e962fd2b2dc38;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index aa3e33f0..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,11 +18,11 @@ ## along with this program. If not, see . ## -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I autostuff AM_CPPFLAGS = -I$(top_srcdir) -SUBDIRS = contrib hardware input output firmware +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la @@ -32,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) \ @@ -43,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 +