X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=3bd9f8944bb729c5110b5e5dddeb5a5f179f4457;hb=bc79e906a0911b4218b42b63b2f27fb0016c59da;hp=193cccf2d71497ef02dfba8bc219f0500d831044;hpb=28a35d8ab35483b6d50e5b8404542cc11875fa5d;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 193cccf2..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,8 +17,11 @@ ## along with this program. If not, see . ## -AM_CPPFLAGS = -I $(top_srcdir)/libsigrok \ - -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' +ACLOCAL_AMFLAGS = -I autostuff + +AM_CPPFLAGS = -I$(top_srcdir) + +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la @@ -27,27 +30,35 @@ libsigrok_la_SOURCES = \ datastore.c \ device.c \ session.c \ - hwplugin.c \ + session_file.c \ + session_driver.c \ + hwdriver.c \ filter.c \ - hardware/common/ezusb.c \ - hardware/common/serial.c \ - hardware/openbench-logic-sniffer/ols.c \ - hardware/saleae-logic/saleae-logic.c \ - hardware/asix-sigma/asix-sigma.c \ - hardware/asix-sigma/asix-sigma.h \ - hardware/zeroplus-logic-cube/analyzer.c \ - hardware/zeroplus-logic-cube/analyzer.h \ - hardware/zeroplus-logic-cube/gl_usb.c \ - hardware/zeroplus-logic-cube/gl_usb.h \ - hardware/zeroplus-logic-cube/zeroplus.c \ - output/output_binary.c \ - output/output_text.c \ - output/output_vcd.c \ - output/output_gnuplot.c \ - output/common.c \ - output/output.c - -libsigrok_la_LIBADD = $(LIBOBJS) - -include_HEADERS = sigrok.h + strutil.c \ + log.c \ + version.c + +libsigrok_la_LIBADD = \ + $(LIBOBJS) \ + hardware/libsigrokhardware.la \ + input/libsigrokinput.la \ + output/libsigrokoutput.la + +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 + +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog + +dist-hook: ChangeLog