Skip to content

Conversation

@rotty
Copy link
Contributor

@rotty rotty commented Jun 17, 2016

This commit series should be a reasonably self-contained attempt to eliminate the need for -DCOMBINED_BINARY.

rotty added 2 commits June 17, 2016 20:27
Extract the interface of common.c into a dedicated header, common.h,
and use that instead of including the C file.
Remove the distinction between "combined binary" and per-protocol
binary; only a the "combined" variant is built.

For backward compatibility, the quicktun binary dispatches on argv[0],
and uses the part after the last dot, if present, as a protocol
name. If both are present, the protocol derived from the path takes
precedence over the PROTOCOL setting, and a warning is printed to
stderr.

The build scripts now just creates compatibility symlinks instead of
actually compiling code for each protocol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant