X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=Makefile.am;h=c6d6c8a7cff1a5b7d940e0c040ad1d4f5337f646;hp=b8ebaacaf32e009acda18761c562ed370325e82d;hb=c5e0e72ee3bcc799d1510c9fb91b3a0073766b2a;hpb=2c45d10255617167e34674cd9e7536b8f0b3dc5b diff --git a/Makefile.am b/Makefile.am index b8ebaac..c6d6c8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## -## This file is part of the sigrok project. +## This file is part of the sigrok-cli project. ## -## Copyright (C) 2010 Bert Vermeulen +## Copyright (C) 2013 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,36 @@ ## along with this program. If not, see . ## -ACLOCAL_AMFLAGS = -I autostuff +ACLOCAL_AMFLAGS = -I m4 +GNUMAKEFLAGS = --no-print-directory -SUBDIRS = contrib doc +AM_CFLAGS = $(SC_EXTRA_CFLAGS) $(SC_WFLAGS) $(SIGROK_CLI_CFLAGS) bin_PROGRAMS = sigrok-cli -sigrok_cli_SOURCES = sigrok-cli.c sigrok-cli.h parsers.c anykey.c +sigrok_cli_SOURCES = \ + main.c \ + show.c \ + device.c \ + session.c \ + input.c \ + decode.c \ + sigrok-cli.h \ + parsers.c \ + anykey.c \ + options.c + +sigrok_cli_LDADD = $(SIGROK_CLI_LIBS) + +dist_man_MANS = doc/sigrok-cli.1 + +EXTRA_DIST = contrib/sigrok-logo-notext.ico + +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog +ChangeLog: + git --git-dir '$(top_srcdir)/.git' log >$@ || touch $@ + +dist-hook: ChangeLog