X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=62fba50f120444f2c39fda079654b3d66d0cd21b;hb=c90beca7801b16e46ffd4d74c9dd21b02a045ab5;hp=aa3e33f018e40514026f02d46954a5dcd727d7f2;hpb=db8ae7b941a31b2bc64e14d60a1e962fd2b2dc38;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index aa3e33f0..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,25 +18,27 @@ ## 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 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 \ - log.c + log.c \ + version.c \ + error.c \ + std.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 HACKING README.devices + +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog + +dist-hook: ChangeLog +