summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2015-08-28Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L.Uwe Hermann
2015-08-28Build: Go back to _POSIX_C_SOURCE=200112LUwe Hermann
2015-08-26Build: Define feature test macro _DEFAULT_SOURCEDaniel Elstner
This basically makes glibc expose the same set of features as if gcc was invoked without any restricting -std=c* option. Unlike _GNU_SOURCE however, it does not enable GNU-specific extensions. So, with this macro defined the behavior of Linux with glibc should match that of other platforms.
2015-08-26Build: Use TESTS prefix instead of CHECK for flag variablesDaniel Elstner
In order to avoid confusion of the flags-gathering pkg-config result with the actual test for the availability of "check", change the pkg-config output variable prefix from CHECK to TESTS.
2015-08-26Build: Adopt new Autotools magicDaniel Elstner
2015-04-03Makefile.am: Use libtool's -no-undefined option.Uwe Hermann
2015-04-01unit tests: Drop unneeded check_ filename prefix.Uwe Hermann
2014-09-11Fix out-of-tree build of the unit tests.Uwe Hermann
2014-09-01PD tests moved into the sigrok-test repo.Uwe Hermann
Drop them from the libsigrokdecode repository.
2014-08-16configure.ac: Use AM_CFLAGS instead of CFLAGS.Uwe Hermann
CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and are meant for users of the package to use/override. The package itself should not set or modify them in any way. Instead, the "shadow variables" such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by the package.
2014-05-23libsigrokdecode: Fix make -j issue with build_runtcKumar Abhishek
The build of runtc caused issues with make -j as runtc was attempted to be linked with libsigrokdecode before libsigrokdecode was linked. Using LDADD to insert libsigrokdecode ensures that it links before runtc, ensuring the build completes correctly.
2014-05-05Makefile.am: Add HACKING to the tarball.Uwe Hermann
2014-05-04Fix 'make install' on OSes where 'python3' doesn't exist.Uwe Hermann
Sometimes the Python 3 executable is called just 'python3', sometimes it is called 'python3.4' and so on. Handle all cases transparently for the user. Before: $ make install /usr/bin/env: python3: No such file or directory After: $ make install python3.4 ./tools/install-decoders -i ./decoders -o [...] Installing 36 protocol decoders: [...]
2014-04-13Switch to a non-recursive automake setup.Uwe Hermann
(fewer files, less clutter)
2014-01-28Fix out-of-tree build.Uwe Hermann
This fixes 'make install' and 'make dist' for out-of-tree builds.
2013-12-11Clean up runtc build.Bert Vermeulen
This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place.
2013-12-10Add protocol decoder testing framework.Bert Vermeulen
This adds a tool in the tests directory, called pdtest. It uses the "test/" directory in every PD directory, if present, to run the PD against dumps found in the sigrok-dumps repository, and compares the output against ".output" files in the "test/" directory. The file "test/test.conf" is used to configure which tests to run. A separate tool (tests/runtc.c) is used to run the actual decoding and report output. To get an overview of the options, run tests/pdtest without any options.
2013-12-10Fix 'dist' make target.Bert Vermeulen
2013-12-09Support DESTDIR on install targets.Bert Vermeulen
Fixes bug 215.
2013-11-27Automate protocol decoder installation.Bert Vermeulen
This automatically figures out the files to install for each protocol decoder, without involving autotools. All python files (filenames ending in .py) are always installed. If a protocol decoder requires installation of a non-python file, a small file called 'config' can be created in that protocol decoder's directory, with the following content: # comments are ok extra-install vendorlist.txt commands.txt
2013-11-16Only instance-related functionality remains, rename source fileBert Vermeulen
2013-11-16Move initialization/shutdown into srd.cBert Vermeulen
2013-11-16Move session-specific functionality into session.cBert Vermeulen
2013-11-16Minor cleanupBert Vermeulen
2013-11-15Move versioning info out to separate headerBert Vermeulen
2013-10-17Add a testsuite for libsigrokdecode.Uwe Hermann
This uses the Check unit testing framework, just like libsigrok. For now, only a few very basic unit tests are included. Invocation: make check
2013-05-04Add srd_strerror() and srd_strerror_name().Uwe Hermann
2013-05-03Main header is <libsigrokdecode/libsigrokdecode.h> now.Uwe Hermann
This matches the convention used in libsigrok. Potential other headers might end up in libsigrokdecode/, but only libsigrokdecode.h is meant to be #included by frontends directly.
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2013-02-09Add contrib/sigrok-logo-notext.png.Uwe Hermann
This is used in the generated Doxygen HTML output.
2013-01-13Makefile.am: Fix typo in 'ChangeLog' target.Uwe Hermann
2012-05-29sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.Uwe Hermann
If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be removed whenever "make distclean" is called (and is then gone forever if you use the tarballs, for example).
2012-04-15srd: Add functions to query srd version(s).Uwe Hermann
2012-03-31sr/srd: Fix 'make distcheck'.Uwe Hermann
2012-03-31srd: Generate ChangeLog from git upon 'make dist'.Uwe Hermann
2012-03-31srd: SRD_PACKAGE_VERSION_* for consistency.Uwe Hermann
No need to use the LIBSIGROKDECODE_ prefix here when we use SRD_ everywhere else. Also, better distinction between package version and lib version.
2012-01-23srd: add python exception catcher, which routes to srd_err() and srd_dbg()Bert Vermeulen
2012-01-15move sigrokdecode.Decoder type to its own source fileBert Vermeulen
2012-01-05new srd_logic type implementation for PDs to iterate over.Bert Vermeulen
2012-01-04sr/srd: Add Doxyfile to the tarball.Uwe Hermann
2012-01-04srd: configure.ac: Fix version number magic.Uwe Hermann
2012-01-03Put most autotools files into autostuff/.Uwe Hermann
This yields a slightly more "tidy" top-level directory.
2011-12-30sr/srd: Remove/fix non-applicable autotools stuff.Uwe Hermann
2011-12-22srd: Add logging framework.Uwe Hermann
This includes the (private) functions srd_err() and friends, the (public) SRD_LOG_ERR macros and friends, and the (public) API functions srd_set_loglevel() and srd_get_loglevel().
2011-12-04refactored PD framework, now using new sigrok.Decoder objectBert Vermeulen
This uses the new python unified type/class object API to construct an object for PDs to subclass. The sigrok.Decoder class has a method put() which is implemented as a C function, and receives the PD's object instance as its first parameter.
2011-04-03Revert temporary changes for 0.2 release.Uwe Hermann
2011-04-03Disable some stuff which should not be in 0.2.Uwe Hermann
Disable decoders, disable lib building.
2011-02-04Revert FIRMWARE_DIR / DECODERS_DIR method for now.Uwe Hermann
There were several issues with the other method, revert for now.
2011-01-24configure.ac: Fix firmware/decoders dir variables.Uwe Hermann
FIRMWARE_DIR and DECODERS_DIR as defined in config.h need some magic applied to resolve the $prefix/$data variable to an absolute path.
2011-01-23Introduce proper libtool versioning for the libs.Uwe Hermann