X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=c87321aebdd74200e0fca5304d4161e7098c2994;hb=5ea1e54ab54542803d531bd714b09b54fbaab408;hp=94672f333618981728d3ecabb875824497b71356;hpb=bffed4fc107358b11ab007ef2cdef851572680ef;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 94672f33..c87321ae 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,10 +18,11 @@ ## 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) + +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la @@ -29,8 +31,14 @@ libsigrok_la_SOURCES = \ 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) \ @@ -38,9 +46,22 @@ libsigrok_la_LIBADD = \ input/libsigrokinput.la \ output/libsigrokoutput.la -include_HEADERS = sigrok.h sigrok-proto.h -noinst_HEADERS = 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 + +dist-hook: ChangeLog +