X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=beeb0c354b3666815448d4e3a0bafef50ab90db5;hb=d11d606626a2ce9359ed2b5395fe4b998604da92;hp=372640ee646fd3b38a7f3fcbefddadf56995ad6a;hpb=c70fce6ba6f061f1fbd4dbdf08e5d2ffa0168f6a;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 372640ee..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 @@ -17,21 +18,27 @@ ## along with this program. If not, see . ## -AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \ - -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' +ACLOCAL_AMFLAGS = -I autostuff -SUBDIRS = hardware input output +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 \ datastore.c \ device.c \ session.c \ - hwplugin.c \ - filter.c + session_file.c \ + session_driver.c \ + hwdriver.c \ + filter.c \ + strutil.c \ + log.c \ + version.c + error.c libsigrok_la_LIBADD = \ $(LIBOBJS) \ @@ -39,10 +46,22 @@ libsigrok_la_LIBADD = \ input/libsigrokinput.la \ output/libsigrokoutput.la -# include_HEADERS = sigrok.h sigrok-proto.h -# noinst_HEADERS = sigrok-internal.h -noinst_HEADERS = sigrok.h sigrok-proto.h sigrok-internal.h +libsigrok_la_LDFLAGS = $(SR_LIB_LDFLAGS) + +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 -# pkgconfigdir = $(libdir)/pkgconfig -# pkgconfig_DATA = libsigrok.pc +dist-hook: ChangeLog