X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=3bd9f8944bb729c5110b5e5dddeb5a5f179f4457;hb=bd47acabe33813acb7dd6a4ebf155418072b08b7;hp=df0e9de48c570ff49bd829381ba3e53e623c4148;hpb=2f3aab0ee9797700238656218208a6ab17a607b3;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index df0e9de4..3bd9f894 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,12 +17,13 @@ ## along with this program. If not, see . ## -AM_CPPFLAGS = -I $(top_srcdir)/libsigrok +ACLOCAL_AMFLAGS = -I autostuff -SUBDIRS = hardware input output firmware +AM_CPPFLAGS = -I$(top_srcdir) -# lib_LTLIBRARIES = libsigrok.la -noinst_LTLIBRARIES = libsigrok.la +SUBDIRS = contrib hardware input output + +lib_LTLIBRARIES = libsigrok.la libsigrok_la_SOURCES = \ backend.c \ @@ -31,9 +32,11 @@ libsigrok_la_SOURCES = \ session.c \ session_file.c \ session_driver.c \ - hwplugin.c \ + hwdriver.c \ filter.c \ - strutil.c + strutil.c \ + log.c \ + version.c libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -41,12 +44,21 @@ 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 + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsigrok.pc + +EXTRA_DIST = Doxyfile + +MAINTAINERCLEANFILES = ChangeLog -# include_HEADERS = sigrok.h sigrok-proto.h -# noinst_HEADERS = sigrok-internal.h -noinst_HEADERS = sigrok.h sigrok-proto.h sigrok-internal.h +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog -# pkgconfigdir = $(libdir)/pkgconfig -# pkgconfig_DATA = libsigrok.pc +dist-hook: ChangeLog