Commit graph

251 commits

Author SHA1 Message Date
katja
058ba82a47 Add section 'versioning' in README.md 2016-10-28 14:31:01 +02:00
katja
006d9575b5 Add CHANGELOG.txt to the project 2016-10-28 09:58:47 +02:00
katja
4c680bfe6f Add 'path' and 'documentation' sections in README.md 2016-10-27 01:10:53 +02:00
katja
48c4127297 Bump version to 0.4.1 after merging 'configurable-minimum-osxversion' 2016-10-27 00:44:56 +02:00
katja
ff9b40c451 Merge branch 'configurable-minimum-osxversion'
This merges commit a7d3098 which responded to issue #22. With this commit,
cflag '-mmacosx-version-min=*' from a lib makefile is respected, not
overridden by a default minimum version.
2016-10-27 00:43:02 +02:00
katja
cf04da9b47 Rewrite variable descriptions after introduction of 'PDDIR' & Co.
Variables PDDIR, PDINCLUDEDIR, PDBINDIR and PDLIBDIR were introduced in
the previous commit as API replacement for a less coherent set of path
variable names, and made these paths settable in the environment.
This commit (re)writes variable descriptions accordingly and reorganizes
descriptions with the intention to give a more comprehensible overview of
the API structure.
2016-10-14 11:50:34 +02:00
katja
b0dab729b9 Introduce variables PDDIR, PDINCLUDEDIR, PDBINDIR, PDLIBDIR
These new path variables are aliases of existing ones that didn't have
coherent names. The new variables are all defined such that they are
overridable from the environment, as indicated by the upper case syntax.
2016-10-14 00:27:39 +02:00
katja
a0c87bea5e Defer expansion of $(pdbinpath) to correctly find pd.dll (bugfix)
The issue was introduced in version 0.3.0 from the previous commit
(41e9743).
2016-10-14 00:15:10 +02:00
katja
41e9743ed5 Introduce variable 'PD_PATH', bump version to 0.3.0
This variable is useful when building against a 'portable' pd install.
Makefile.pdlibbuilder should now be compatible with centralized build
systems when PD_PATH is passed as make argument, or set in environment.
2016-10-09 22:07:23 +02:00
katja
5b920b194d Set version to 0.2.8 after merging 'install-dollarfiles'
Update version number because of previous (merge) commit. The
merge was done with github's 'Merge' button. Never again. The merged
commit was 49a0b2f from 2016-06-28 allowing installed files to
contain weirdo characters, and closing issue #19.
2016-10-09 14:12:31 +02:00
katja
a7d309822d Respect flag '-mmacosx-version-min=*' from lib makefile
Makefile.pdlibbuilder sets a default minimum OSX version for optimal
support of older OSX versions. With this commit, '-mmacosx-version-min=*'
in variable 'cflags' from the lib makefile is respected, not overridden.

A lib makefile can now determine the minimum OSX version (for example to
support C++11, which was the direct motivation for this change).

This is a response to pull request #22 'Making minimum Mac OS X version
configurable', but note that it is implemented in a different way.
2016-10-09 11:56:14 +02:00
katja
7b5e3599ce Merge branch 'install-dollarfiles' 2016-10-05 17:16:13 +02:00
katja
4815915ae2 Add more projects that use pd-lib-builder in README.md 2016-10-05 15:52:47 +02:00
katja
a6a89dc021 Scrap all default include / bin paths except vanilla's
Multiple defaults cause confusion and after discussion vanilla is preferred
default because:

1. vanilla is actively maintained
2. currently most pd lib authors develop against vanilla
3. unlike other pd flavors, vanilla is not part of a centralized build system
   with internal include path
2016-10-04 23:20:14 +02:00
Dan Wilcox
dc9a8df02a re-added cyclone link & added contextual info 2016-10-02 11:12:11 -06:00
Dan Wilcox
5c9fed1098 updated cyclone link 2016-09-30 11:40:21 -06:00
katja
2832db38fd Remove old dependency-check workaround for OSX <= 10.5 2016-09-20 13:01:10 +02:00
katja
9fd17957c7 Do not pass architecture flags for dependency checking
Only pass flags categories which can be expected to hold -I flags
to the preprocessor for dependency checking. Omit categories which
may contain architecture and tuning flags. This is a small and
hopefully reasonable limitation of dependency-checking functionality.
The preprocessor will still see predefined macros, amongst which
architecture definition. Thus, eventual architecture-dependent include
statements in the source code are considered for native architecture
during dependency checking.

This commit should resolve the rebuild issue on OSX, where some compiler
versions can not handle multiple architecture flags during dependency
checking.
2016-09-20 12:52:33 +02:00
IOhannes m zmölnig
49a0b2fa5e allow installed files to contain weirdo characters
...like '$' (e.g. "$arg-help.pd")
by installing them one-by-one and using single-quotes
(so the shell doesn't expand the dollargs)

NOTE: this does not fix compiling such weirdo filenames

Closes: https://github.com/pure-data/pd-lib-builder/issues/19
2016-06-28 11:33:25 +02:00
katja
f06e550a3a Fix dependency checking for object files in other directories
And bump version to 0.2.5
2016-06-26 11:31:33 +02:00
katja
b1a4c9b525 Print Makefile.pdlibbuilder version 2016-06-25 23:19:32 +02:00
katja
1d7bb5e154 Fix regression bug that disabled all dependency checking
The bug was probably introduced with version 0.2.3.
Bump version to 0.2.4.
2016-06-25 22:26:33 +02:00
katja
eb614fdf16 Disable dep. checking for fat builds on OSX <= 10.5. Version 0.2.3
Multiple arch flags are incompatible with option -MM for preprocessor
on (at least) OSX <= 10.5. Non clean builds would stall on this. This
commit disables dependency checking for fat builds (current default
for OSX) on ppc and i386. Assuming that development is done on newer
systems / machines it should rarely hurt.
2016-03-29 11:26:52 +02:00
katja
c989c8e0b0 Bump to version 0.2.2 after removal of 'pre' target
Also remove associated documentation comments.
2016-03-28 10:59:13 +02:00
katja
d94538e1bb Remove target 'pre' from Makefile.pdlibbuilder
Phony target 'pre' forces rebuilds. This should not be default
behavior of Makefile.pdlibbuilder. If one needs a pre-build target
(phony or real file), declare it as prerequisite of $(all.objects)
in the library makefile after inclusion of Makefile.pdlibbuilder.
A pre-build target can have any name that isn't a target in
Makefile.pdlibbuilder.
2016-03-26 14:55:55 +01:00
katja
98f3582cf5 Merge branch 'command-line-build-flags', bump version to 0.2.1
Command line variable CFLAGS now work according to conventions (overriding
all non-essential C flags). CPPFLAGS and LDFLAGS are also implemented.
Built-in documentation updated.
2015-12-27 22:20:28 +01:00
katja
c8875697b4 Replaced outdated link to cyclone repository in README.md 2015-12-22 23:25:03 +01:00
katja
c6fe1832fc Document CPPFLAGS, CFLAGS, LDFLAGS 2015-12-22 00:45:26 +01:00
katja
3946ea50de Merge branch 'eval-system-specific-defines', update version to 0.2.0
This merge introduces the evaluation of optional multiline defines
'forLinux', 'forDarwin' and 'forWindows', which can be used as a flexible
replacement for system-specific variables as in Pd-extended's Makefile
template. Example code is added to Makefile.pdlibbuilder's built-in
documentation.
2015-12-19 11:25:46 +01:00
katja
8cba158c9a Remove cruft from a variable definition 2015-12-08 14:41:30 +01:00
katja
abeb4dec6e Remove cruft from .PHONY: 2015-12-08 14:35:12 +01:00
katja
a5678ac1e0 bump version 0.0.2 > 0.1.0 for added feature (targets pre / post) 2015-12-08 13:17:54 +01:00
katja
c42845611f Introduce pre and post targets.
Targets pre and post can be defined in the including (library) makefile.
They are added to provide extra flexibility. Target all will
build pre, $(executable) and post in deterministic order. Built-in
documentation is modified to reflect the new situation.
2015-12-08 13:04:13 +01:00
katja
e08bab9eaa Updated README.md to include reference to xeq. 2015-12-06 20:57:08 +01:00
katja
ed37e6bbb5 Bumped to version 0.0.2. 2015-12-06 20:52:45 +01:00
katja
15832b5e07 Small fix: add LDFLAGS to shared.ldflags too. 2015-12-06 18:00:01 +01:00
katja
0595e44e9f Improve methods for searching Pd include paths.
I've also tried to make printed info a bit more helpful.
2015-12-06 16:18:50 +01:00
katja
589d7fcda6 Use CPPFLAGS, CFLAGS and LDFLAGS to override/add build flags
This commit reorganizes the accumulation of build flags in such a way that
non-obligatory build flags can be overriden or added by specifying
CPPFLAGS, CFLAGS and LDFLAGS as arguments from command line or environment.
2015-12-05 11:31:43 +01:00
katja
164d294788 Evaluate optional per-system multiline defines 2015-12-04 15:34:04 +01:00
katja
974b6174ce bump version to 0.0.1 2015-10-31 21:04:36 +01:00
katja
9015ba7b9f fix expansion of variable lib.version in cflags during compilation 2015-10-31 20:56:29 +01:00
Katja Vetter
d2fa193cac Merge pull request #3 from umlaeute/patch-1
use $(metafile) instead of hardcoded filename in lib.version expansion
2015-10-29 22:32:16 +01:00
umläute
0a7d057341 use $(metafile) in version expansion
lib.version is only expanded if the file named by $(metafile) exists, but then it uses a hardcoded filename to do the actual expansion.

this patch uses $(metafile) to do the expansion instead.
2015-10-29 00:31:08 +01:00
IOhannes m zmölnig
052c5e675f getting rid of some warnings
svn path=/trunk/externals/iem/comport/; revision=17565
2015-09-16 09:04:38 +00:00
IOhannes m zmölnig
2766f264eb use pd_error or comport_verbose instead of post
and rename the old comport_verbose() function to comport_set_verbose()

svn path=/trunk/externals/iem/comport/; revision=17564
2015-09-16 08:57:56 +00:00
IOhannes m zmölnig
e27a36e4f7 comport@w32: if ReadFile returns ERROR_IO_PENDING, don't report an error
svn path=/trunk/externals/iem/comport/; revision=17563
2015-09-16 08:38:59 +00:00
IOhannes m zmölnig
83fb4d4268 strip non-ascii characters
svn path=/trunk/externals/iem/comport/; revision=17562
2015-09-11 19:17:20 +00:00
katja
84ae43edc8 Added reference to helloworld project in README.md. 2015-07-06 23:30:28 +02:00
Martin Peach
60757522e4 Break should work on Windows too.
svn path=/trunk/externals/iem/comport/; revision=17498
2015-07-05 18:28:27 +00:00
Martin Peach
2f2e456a58 Added break method to set or clear serial line break (continuous stream of zero).
svn path=/trunk/externals/iem/comport/; revision=17497
2015-07-05 18:26:57 +00:00