X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=beeb0c354b3666815448d4e3a0bafef50ab90db5;hb=d11d606626a2ce9359ed2b5395fe4b998604da92;hp=3078cce604fcf7f813641adcebf0db938e88cc13;hpb=d8521c939f19b08cb991df7d0731fa358381d61c;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 3078cce6..beeb0c35 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 @@ -21,7 +22,7 @@ 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 +