Christophe de Dinechin
|
cb72543408
|
Minor cleanup of the install target
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
5fc3828c61
|
Fix the output directory printout for install targets
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
c033da2d47
|
Install libraries in addition to base product
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
534c9037a6
|
Avoid recording the absolute path if not necessary for testing
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
5105c6c97f
|
Install project DLL and libraries by default
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
154ca40451
|
Fixups for ancient versions of mingw
Tested with mingw32-4.8.2 and make 3.79.1 running on Windows XP
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
e209890343
|
Use -Lpath -llib for libraries
Avoid referencing libraries by absolute path, which is not very portable
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
d2cc85ba6c
|
Minimize differences between GCC base and macOS variant
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
5daca154c9
|
Add support for the `make V=1` convention
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
6a9ad13412
|
Make it simpler to mix static and shared libraries
Also avoid using libtool -shared, not available by default on many platforms
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
cedb887262
|
Accept empty PRODUCTS list, closes #10
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
e0f6492b0f
|
Better way to compute dependencies on makefiles
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
17c952b837
|
Add support for DESTDIR, closes #11
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
391ecd8ff8
|
Link with ld if no C++ sources, closes GitHub #6
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
5e4fb03b91
|
Add example with libraries
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
ecc48f708b
|
Better format for links
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
47c04c5303
|
Share examples of other projects using 'build'
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
dada94f8c5
|
Add clarification on how to build shared / static libraries
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
131463c503
|
Add arm-linux-gnu cross-compiler support
(No support for selecting include and library path yet)
|
2018-04-04 10:21:03 +02:00 |
Christophe de Dinechin
|
4cabbde4b4
|
Change the way standard conformance is specified
|
2018-04-04 10:20:57 +02:00 |
Christophe de Dinechin
|
11093b9e66
|
Facilitate the creation of cross-compilation config.cross-gcc.mk
In order to create such a variant, you only need to override CC and CXX.
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
54fd4848ae
|
Clarification of distribution rights for build
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
1a1856c3af
|
Remove the need to say 'HAVE_' in 'CONFIG'
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
9c7547477e
|
Documentation fixes
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
1f5b186b8e
|
Update the documentation
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
52846e3139
|
Add gitlab CI integration
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
93d13f8ecd
|
File name mangling when building configuration steps
This is to avoid problems on Windows, where a file name cannot
contain < or > and as a result, tests for HAVE_<unistd.h> failed.
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
2b627dd62b
|
Replace .runtest with .test, I get it wrong each time I try to use it manually
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
faeb41efd2
|
Add check for struct sigaction
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
11393dc8af
|
Make sure we find configuration checks in build directory
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
0f1266d53b
|
Append output of executing the test program, so that we can add other #define's
The sbrk example shows the result of sbrk(0) first run.
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
5ee5fafc3f
|
Some factorization
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
26dedc59e1
|
Check for library presence
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
3293ab17f8
|
Link and execute the test program for completeness
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
0a88f02d71
|
Add check for functions using a configuration file check
|
2018-04-04 10:20:15 +02:00 |
Christophe de Dinechin
|
a1f04b6cf4
|
Separate configuration generation rules in config.arch.mk
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
62b064bd2f
|
Add config.h to list of things to clean
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
01f21a78fb
|
Further effort to make definitions compatible with autoconf output
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
aa38d293f3
|
Improve compatibility with autoconf by using config.h and similar #define names
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
6fe7280a78
|
Add ability to check specific headers like autoconf
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
cbae7427e8
|
Remove stray 1 in rules.mk
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
28c8dda7c6
|
Single-pass dependency generation
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
4dad7dfda9
|
Fix for MinGW, time does not work in subshells
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
350cba41a8
|
Attempt to avoid complaints in MinGW that 'fmt' does not exist during depends
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
649859601c
|
Leave debug information for opt builds
|
2018-04-04 10:19:40 +02:00 |
Christophe de Dinechin
|
8fe4ce84e2
|
Fix name of tests being run for .c or .cpp TESTS on MinGW
|
2018-04-04 10:19:39 +02:00 |
Christophe de Dinechin
|
c745b4411b
|
Use GNU extensions also for C++11
|
2018-04-04 10:19:39 +02:00 |
Christophe de Dinechin
|
b80031f737
|
Activate standard C++11, not older standard
|
2018-04-04 10:19:39 +02:00 |
Christophe de Dinechin
|
21f8ba43ec
|
Make COLORIZE overridable
|
2018-04-04 10:19:39 +02:00 |
Christophe de Dinechin
|
df15e9dd69
|
Put config.$(BUILDENV).mk at end to help with variable overrides
|
2018-04-04 10:19:39 +02:00 |