X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=f37c2e5d19d740afcf15e6959ca3a7be16a50a87;hb=9213ad012accac3dbfbc6b72d6e99228e87740a4;hp=aa3e33f018e40514026f02d46954a5dcd727d7f2;hpb=db8ae7b941a31b2bc64e14d60a1e962fd2b2dc38;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index aa3e33f0..f37c2e5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## ## This file is part of the sigrok project. ## -## Copyright (C) 2010 Bert Vermeulen +## Copyright (C) 2010-2012 Bert Vermeulen ## ## 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 +17,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 +32,11 @@ 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 libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -43,11 +44,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 +