86fbb6357d
Constify
2019-02-21 02:26:50 +01:00
67764a83e5
Add support for spaces in filenames (9/x)
...
This adds a new option for scripts, "flags", which should be used for
command-line arguments when calling scripts.
GNU Make is required for this to work.
2019-02-20 18:12:03 +01:00
e53e2cb239
Add support for spaces in filenames (8/x)
...
This takes care of Verilog objects.
GNU Make is required for this to work.
2019-02-20 17:38:39 +01:00
abf427cc67
Code cleanup
2019-02-20 17:38:39 +01:00
127bbab6b2
Add support for spaces in filenames (7/x)
...
This takes care of Java classes.
GNU Make is required for this to work.
2019-02-20 16:51:57 +01:00
0d4eb2ff17
Add support for spaces in filenames (6/x)
...
This adds a missing part for commands.
GNU Make is required for this to work.
2019-02-14 19:09:53 +01:00
33c8a05ee2
Add support for spaces in filenames (5/x)
...
This takes care of binaries.
GNU Make is required for this to work.
2019-02-14 19:07:17 +01:00
371b3ecea3
Add libtool support for C++ objects
2019-02-14 18:57:17 +01:00
7339b39f71
Code cleanup
2019-02-14 18:29:14 +01:00
69c7c2ac3e
Only call $(RM) if there are files to delete
2019-02-14 17:38:37 +01:00
ea21cb77d2
Add support for spaces in filenames (4/x)
...
This takes care of includes.
GNU Make is required for this to work.
2019-02-12 23:29:36 +01:00
c174eb7cb4
Add tests for spaces in filenames (scripts)
2019-02-12 20:30:49 +01:00
569bed6399
Add support for spaces in filenames (3/x)
...
This takes care of dependencies.
GNU Make is required for this to work.
2019-02-12 20:29:19 +01:00
48e004bb22
Do not clean objects for scripts
2019-02-12 20:22:47 +01:00
e03e911ac3
Add support for spaces in filenames (2/x)
...
This takes care of scripts.
GNU Make is required for this to work.
2019-02-12 20:22:13 +01:00
5dd8c6bf64
Code cleanup
2019-02-12 15:56:14 +01:00
75f16c92b7
Code cleanup
2019-02-12 15:55:44 +01:00
453a99b287
Never install phony commands
2019-02-12 15:55:02 +01:00
b44f382a86
Update the copyright notice
2019-02-12 15:54:44 +01:00
4b6fa66a1b
Add support for spaces in filenames (1/x)
...
This takes care of commands first.
GNU Make is required for this to work.
2019-02-12 15:53:00 +01:00
3e559dbfb3
Do not {,un}install disabled targets
2018-12-29 18:44:23 +01:00
de337d7ac3
Fix creating the top Makefile with implicit location
2018-10-20 18:16:54 +02:00
a80ed6741c
Code cleanup
2018-10-20 18:14:44 +02:00
f43bb2f36a
Update the copyright notice
2018-09-21 14:21:26 +03:00
92a5a95ebc
Handle empty values for the directory
...
This is considered to mean the current directory.
As an intended side-effect, the output in verbose mode is slightly
nicer.
2018-09-21 14:20:31 +03:00
4190e6dfd4
Complete error checking in _project_load_subdirs_subdir()
2018-09-21 14:08:27 +03:00
da285a61fb
Use OBJDIR for commands as well
...
They need to be phony otherwise, then keeping the former behaviour.
2018-07-01 04:17:45 +02:00
908c9a715a
Add support for (un)installing commands
2018-06-27 03:32:26 +02:00
cb46d84fba
Add initial support for Java
...
This is currently limited to:
- one source file at a time (type=object)
- in-place compilation (no OBJDIR support)
- class files (as opposed to jars)
2018-06-18 23:36:31 -04:00
123d6709a7
Code cleanup
2018-06-18 23:32:07 -04:00
cba11c3d51
Add support for "cppflags" for C/C++ source files
2018-03-21 01:55:59 +01:00
d59dbdf1b4
Support "asflags" and "cppflags" for assembly sources
2018-03-20 03:00:06 +01:00
eedac9938f
Improve support for pre-processed assembly files
2018-03-19 18:13:08 +01:00
9664cf16b5
Code cleanup
2018-03-19 18:12:46 +01:00
60e606c396
Add a flag to set quiet mode for configure
...
This is currently the default.
2018-03-18 23:42:38 +01:00
ad71bb7d82
Also document "configure -i"
2018-03-18 23:39:36 +01:00
fe3014fd52
Update the copyright notice
2018-03-18 23:37:34 +01:00
26b41af665
Actually support "configure -b"
2018-03-18 23:37:23 +01:00
51513a3b56
Pre-process assembly files only when relevant
...
This removes the use of CPPFLAGS otherwise.
2018-03-18 23:31:24 +01:00
8edc44150d
Add support for "cppflags" for C++ programs
2018-03-18 20:44:31 +01:00
525d4ea831
Introduce a new type for pre-processed assembly files
2018-03-18 20:36:50 +01:00
a6d19ba3b9
Update the copyright notice
2018-03-18 20:35:37 +01:00
a8ac3e5b25
Register more extensions for assembly files
2018-03-18 20:35:16 +01:00
88ceb54518
Also provide a security warning for command targets
2018-03-09 03:00:30 +01:00
96614bd870
Add support for phony Makefile commands
...
This should arguably be the default for this type.
2018-03-09 02:16:53 +01:00
1592fc20ac
Do not remove objects for commands
2018-03-09 02:13:30 +01:00
ce6ab849ea
Introduce a new target type for simple commands
2018-03-09 02:03:13 +01:00
92652fb6e8
Be stricter when substituting libraries
...
This is being replaced by platform.sh.
2018-03-09 00:11:40 +01:00
f4617b7615
Do not output $(OBJDIR) when cleaning phony targets
2018-03-08 01:14:15 +01:00
7d1a9eaa5d
Re-generate the Makefiles
2018-02-19 01:33:29 +01:00
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