279ca268f8
Add a configuration variable to disable targets by default
2018-02-19 00:16:59 +01:00
c3099549f8
Update the copyright notice
2018-02-19 00:10:25 +01:00
6716ef1bf8
Avoid a compilation warning
2018-02-19 00:09:56 +01:00
181190fbfe
Update the copyright notice
2018-02-04 19:15:07 +01:00
2198077541
Fix build with newer libSystem Array API
2018-02-04 19:14:52 +01:00
62b1883c22
Always build the whole project before installing
2017-12-28 01:37:32 +01:00
0a11f49ba2
Update the copyright notice
2017-12-27 23:20:37 +01:00
6aae0e5d0f
Use PROGNAME_MAKEDEPEND
2017-12-27 23:19:00 +01:00
aaeccbeee4
Code cleanup
2017-11-18 05:00:37 +01:00
ba3e1e9f81
Load platform-specific configuration in SYSCONFDIR
2017-11-18 04:38:27 +01:00
fa81e2b8b9
Load a configuration file in SYSCONFDIR
2017-11-18 04:38:17 +01:00
e1469f4e2f
Re-generate the Makefiles
2017-11-18 04:23:49 +01:00
ce35c9c919
Move common code to a separate file
2017-11-18 04:23:19 +01:00
a162600940
Also obtain paths from configuration files
2017-11-18 04:08:18 +01:00
7d55af9964
Let more aspects be configured at compile-time
2017-11-18 01:58:47 +01:00
19401d5887
Let the preference flags be unsigned
2017-11-18 01:53:22 +01:00
0ad67d1706
Code cleanup
2017-11-18 01:51:12 +01:00
3ce2dbb314
Code cleanup
2017-11-18 01:37:45 +01:00
baf80ca116
Add a helper to output extensions
...
This also adds a variable for the "tgz" extension. It defaults to
".tar.gz" or to ".tgz" on Windows.
2017-11-18 00:52:05 +01:00
8bc9658344
Code cleanup
2017-11-18 00:38:02 +01:00
790a0e549f
Code cleanup
2017-11-18 00:35:35 +01:00
694c23de2b
Code cleanup
2017-11-18 00:31:01 +01:00
5e782aa189
Let extensions be determined through configuration
2017-11-18 00:28:43 +01:00
df7126897a
Re-generate the Makefiles
2017-11-16 22:03:31 +01:00
4358bc46cf
Add support for "make PREFIX" in configure.c
2017-11-16 22:03:31 +01:00
d7034e6ee9
Pass the tests again
2017-11-09 05:40:01 +01:00
371e34d52b
Introduce support for a basedir
...
This is meant to help pass the tests again.
2017-11-09 05:23:48 +01:00
3701794802
Load platform-specific programs from a configuration file
2017-11-09 05:11:16 +01:00
8102619275
Code cleanup
2017-11-09 04:57:22 +01:00
36c1e62388
Improve error handling
2017-11-09 04:54:58 +01:00
d96f1726a9
Introduce a helper for warnings
2017-11-09 04:45:39 +01:00
ad6257b5c4
Use a configuration file for paths to programs
2017-11-09 04:42:43 +01:00
666bcc29c0
Refactor looking up programs
...
This paves the way for configuration files.
2017-11-09 04:34:15 +01:00
6855258c8c
Let the Configure instance be private (3/3)
2017-11-09 03:56:10 +01:00
8a14bdbdc7
Let the Configure instance be private (2/3)
2017-11-09 03:56:10 +01:00
9142061d75
Really return a boolean value
2017-11-09 03:51:34 +01:00
80f13fbc22
Code cleanup
2017-11-09 03:51:34 +01:00
65845e94d9
Let the Configure instance be private (1/3)
2017-11-09 03:51:30 +01:00
11980fa1b5
Code cleanup
2017-11-09 03:24:45 +01:00
3578933a2c
Constify
2017-11-09 03:21:33 +01:00
a9d77a5ca6
Code cleanup
2017-11-09 03:05:41 +01:00
e9f5939e97
Code cleanup
2017-11-09 03:02:01 +01:00
f914ccd63a
Update the copyright notice
2017-11-09 02:52:07 +01:00
08f1841bb4
Code cleanup
2017-11-09 02:52:00 +01:00
2048ae8337
Code cleanup
2017-11-09 02:46:32 +01:00
a27a1640d4
Check for more errors
2017-11-09 02:27:42 +01:00
fc5ce3b511
Allow the verilog program to be specified
...
It should really work by default though.
2017-11-09 02:18:07 +01:00
66adfacfb9
Let the flags to ar(1) be overidden
2017-11-01 17:59:22 +01:00
cf3dfe9206
No longer hard-code permission checks
2017-10-15 18:51:22 +02:00
28b9d02600
Re-generate the Makefiles
2017-09-13 13:44:31 +02:00
31d77506dc
Default to the regular stack protector
2017-09-13 13:44:17 +02:00
28b9c0f21a
Really fail upon errors
2017-04-30 03:32:43 +02:00
07616fd173
Update the copyright notice
2017-04-30 03:23:17 +02:00
8da91d009a
Really implement PROGNAME
2017-04-30 03:22:55 +02:00
840034ec0a
Update the copyright notice
2017-04-30 02:56:12 +02:00
4f4432b038
Initial support for Verilog
...
This is still very hackish and limited unfortunately.
2017-04-30 02:53:05 +02:00
1767f4fc29
Add missing CXXFLAGSF
2017-04-30 00:51:06 +02:00
ca20d5fa11
Update the copyright notice
2017-04-30 00:50:09 +02:00
805a3a4dd0
Code cleanup (re-wrap)
2017-04-30 00:50:00 +02:00
1c3e7d8062
Truncate scripts at the first space to get the path
2016-09-15 03:02:21 +02:00
54aa67d2bd
Pave the way to keep track of directories created
2016-09-12 04:39:08 +02:00
dda49d988c
Re-generate the Makefiles
2016-09-12 04:26:22 +02:00
4a10424c5d
No longer compile with -pedantic
2016-09-12 04:26:09 +02:00
ede0e5ce40
More consistent warning messages
2016-09-12 00:46:42 +02:00
10c3f377d2
Improve some error messages
2016-09-12 00:46:42 +02:00
8c7d171455
Add a test and warning for scripts to exist
2016-09-11 23:57:01 +02:00
f4992db978
Fix installing includes in sub-folders
2016-08-13 20:32:02 +02:00
99f2c823f1
Slightly simplify the "dist" rule
2016-07-26 14:30:35 +02:00
8d8baa55ef
Re-generate the Makefiles
2016-03-06 00:00:38 +01:00
f13c206249
Update the copyright notice
2016-02-14 21:43:07 +01:00
57275fd77c
Clean objects in OBJDIR if set
2016-02-14 21:42:11 +01:00
d9117f6c34
Update the copyright notice
2016-01-24 18:55:02 +01:00
5857b2276e
Do not ignore unsupported flags
2016-01-24 18:54:38 +01:00
967825ae8a
Re-generate the Makefiles
2015-10-06 19:37:50 +02:00
eac496726d
Build with SSP, as PIE and with RELRO by default
2015-10-06 19:37:29 +02:00
6e9ede2d0f
Re-generate the Makefiles
2015-09-09 12:42:24 -04:00
8567ccc29a
Output more portable Makefiles
...
The extensions for executable files and shared objects can be
chosen without re-generating the Makefiles. There are still major
differences between MacOS X, Windows and UNIX platforms but these
changes reduce them a lot, especially when building binaries.
This should also help writing cross-platform "project.conf" files.
2015-09-09 12:38:37 -04:00
0173cf2984
Re-generate the Makefiles
2015-09-09 12:03:33 -04:00
18b464992f
Always output EXEEXT and SOEXT
2015-09-09 12:02:39 -04:00
630e584e65
Also detect the extension for executables
2015-09-09 12:02:11 -04:00
b631f7825c
Code cleanup
2015-09-09 11:59:11 -04:00
560612800e
Update the copyright notice
2015-08-30 21:30:25 +02:00
ffc150b2a7
Complete the usage screen
2015-08-30 21:30:10 +02:00
6a8cc5a5a8
Also implement "asflags_force"
2015-08-29 17:05:59 +02:00
a740869dac
Add a helper for comma-separated variable expansion
2015-08-27 00:18:19 +02:00
b61c0fdb09
Always expand dependencies as expected
2015-08-27 00:06:31 +02:00
af737550f6
Comment out unused code
2015-08-27 00:05:57 +02:00
a25ace6344
Fix crash on Linux
2015-08-23 16:08:18 +02:00
d7daf15193
Add a few .gitignore files
2015-05-28 21:33:10 +02:00
55ebd56b08
Fix "make distcheck" with regard to OBJDIR
2015-05-25 18:37:34 +02:00
0bc141c002
Code cleanup
2015-05-25 18:24:37 +02:00
ffcfef3282
Avoid sub-shells where not necessary
...
This is for the "distcheck" target.
2015-05-25 18:05:49 +02:00
bbff942d35
Do not link to libraries before being built
2015-05-21 01:52:44 +02:00
08a54f65c4
Build libraries reliably with multiple jobs
2015-05-21 01:42:28 +02:00
969eef859c
Detect more errors
2015-05-21 01:22:23 +02:00
9397a25143
Code cleanup
2015-05-21 01:18:16 +02:00
f8740ea1ec
Avoid a crash on Linux systems
...
Use vsnprintf() (with n=0) instead of vsprintf() in dry-run mode.
2015-05-09 13:56:00 +02:00
10dd6865a1
Lift the safeguard against printing
2015-05-08 01:29:44 +02:00
1819d3ab5d
Use the new print helper
2015-05-08 01:28:55 +02:00
2d47888360
Remove unused variable
2015-05-08 00:54:51 +02:00
a2bc07cf7f
Introduce a helper for dry-run mode
2015-05-08 00:54:51 +02:00
42020536b1
Constify a variable
2015-05-07 23:47:25 +02:00
dbff1f96c1
Update the copyright notice
2015-05-07 23:41:56 +02:00
fbf85f198d
Preliminary support for Objective-C{,++}
2015-05-07 23:38:11 +02:00
3214ad350b
Update the copyright notice
2015-05-07 23:32:01 +02:00
ba5c9c8b8f
Recognize the ".cc" extension as C++
2015-05-07 23:31:20 +02:00
543a0e2d50
Assume Linux always has libintl
...
It should really detect GNU (glibc) and not base the test on the Linux
kernel alone though.
2015-04-02 19:38:43 +02:00
3c462bd392
Updated the copyright line
2015-02-06 01:38:37 +01:00
1df558bbac
Largely improved support for OBJDIR by placing objects in a mirrored hierarchy
2015-02-06 01:36:17 +01:00
17d5fb9d81
Reflected support for phony script targets when installing as well
2014-12-13 02:47:19 +01:00
5308765aa2
Added support for phony script targets
2014-12-13 02:40:32 +01:00
bb54a897b2
Code cleanup
2014-12-01 00:31:52 +01:00
6a625dc18e
Let invididual scripted targets have a separate prefix
2014-12-01 00:29:24 +01:00
fb3ed4e1b0
Added a helper to output target definitions
2014-11-16 14:56:57 +01:00
029a46b049
No longer require even "make dist" to write to the current directory
2014-11-16 14:45:05 +01:00
c2f10ca5a3
Create archives from "make dist" in OBJDIR
...
This still requires creating a symbolic link in the sources directory
though.
2014-11-15 14:49:20 +01:00
94d445eafd
Code cleanup
2014-11-12 02:01:15 +01:00
b7c76b3696
No longer output variables for static libraries when not supported
2014-11-12 01:47:00 +01:00
a415d0adf1
Isolated the generation of static libraries as a platform capability
2014-11-12 01:43:50 +01:00
7a95945a01
Pass the Windows library test
2014-11-12 01:34:35 +01:00
0a26b49220
Fixed target definitions for libraries with OBJDIR
2014-11-12 00:56:26 +01:00
f5ba74891b
Code cleanup
2014-11-12 00:43:57 +01:00
b603113261
Pass the Windows binary test
2014-11-12 00:42:19 +01:00
c87a3ffa84
Pass all the tests again
2014-11-11 21:12:28 +01:00
60f2216da2
Fixed "make uninstall" on MacOS X
2014-11-11 20:57:26 +01:00
e17b53c4e5
Fixed "make install" on MacOS X
2014-11-11 20:57:26 +01:00
61c0351965
Abstract a good part of the output in helpers
2014-11-11 20:56:40 +01:00
011a4b6140
Default to "$(CC) -dynamiclib" on MacOS X for $(CCSHARED)
2014-11-11 20:54:26 +01:00
b0441df064
Implemented library versioning on MacOS X (needs more work)
2014-11-11 20:54:26 +01:00
0a9c9c687d
Code cleanup
2014-11-11 20:47:51 +01:00
373af903a8
Use -install_name on MacOS X when the installation path is known
...
Kudos to yrmt@ for the hint
2014-11-11 20:47:51 +01:00
bdb9f4b4ce
Fix for $(MKDIR) in "make distcheck" without any other target to install
2014-10-31 18:49:15 +01:00
b221d55c6a
No longer explicitly force the object name for the "makefile.o" object target
2014-10-31 18:15:01 +01:00
ab6c01a9bf
Default "make distcheck" to using OBJDIR and testing (un)installation to DESTDIR
2014-10-31 18:10:32 +01:00
4a62ebc9e9
Re-generated the Makefiles
2014-10-31 02:35:45 +01:00
e97db07dd7
Also output the OBJDIR variable when relevant
2014-10-31 02:35:26 +01:00
c3a612ed97
Fixed target libraries with OBJDIR
2014-10-31 02:31:40 +01:00
eac6961b34
Re-generated the Makefiles
2014-10-31 02:23:25 +01:00
b56fc20a01
Second part of OBJDIR support
2014-10-31 02:15:07 +01:00
94829facbf
First part of OBJDIR support
2014-10-31 02:08:18 +01:00
76f58f4182
Run "make distclean" before "make dist" in the new "distcheck" rule
2014-10-31 01:31:23 +01:00
955ad20e65
Added a "distcheck" rule
2014-10-31 01:25:12 +01:00
a8f9adc800
No longer hardcode TAR as "tar -czvf" but simply as "tar"
2014-10-31 01:18:24 +01:00
f019e6315d
No longer automatically add $(PREFIX) when (un)installing script targets
2014-10-17 20:50:07 +02:00
806f1361b3
Fixed calling scripts in the "clean" target
2014-10-09 19:40:51 +02:00
f0577c9428
Re-licensed as 2-clause BSD (with consent from myself)
2014-10-03 14:20:38 +02:00
3591bbb9fc
Moved main() to a separate file
2014-10-03 13:53:07 +02:00
2a32b4003e
Updated the copyright line
2014-10-03 13:28:25 +02:00
ed1cc6d820
Using PROGNAME instead of PACKAGE for configure(1)
2014-10-03 13:27:51 +02:00
3e1267d8d0
Removed useless .cvsignore files
2014-10-03 13:14:03 +02:00