Commit Graph

174 Commits

Author SHA1 Message Date
bb43891070 Completed the fix for object targets with filenames not matching the source 2012-09-22 18:50:22 +00:00
aaa2776483 Fixed object targets with filenames not matching the source 2012-09-22 18:44:08 +00:00
25c84fbf7b Fixed potential buffer overflow 2012-09-14 21:31:25 +00:00
29725f24fc Adding the file extension for executables on Windows 2012-09-12 21:23:27 +00:00
af07b21194 Avoiding a compilation issue on some systems 2012-09-11 11:02:57 +00:00
c2d35a1b36 Hopefully more portable for Windows and MacOS X platforms (shared libraries) 2012-07-30 00:57:58 +00:00
74e8dd7c5c Hopefully improved support for building DLLs on Windows 2012-07-30 00:24:07 +00:00
1a01ab7399 Do not use -Wl,-soname on MacOS X 2012-07-06 21:40:20 +00:00
d06912b632 Revert last changes 2012-04-08 16:06:03 +00:00
a4bde692be Code cleanup 2012-04-08 14:02:54 +00:00
1aec1a6726 Generate shared libraries directly with the soname requested 2011-10-29 01:50:52 +00:00
9b77c9dbcf Fixed tracking of executable variables (and removed ugly hack) 2011-10-18 18:44:41 +00:00
c61365c06b No longer force $(CC) 2011-09-16 11:52:42 +00:00
3b23bf9f83 Also using the "?=" operator (will need more work though) 2011-09-16 11:21:29 +00:00
713b2c67e7 Using the new function to output variables 2011-09-16 11:06:55 +00:00
2b16735b7a Using CCSHARED instead of LD to create shared libraries 2011-09-16 10:59:46 +00:00
db7638c97c More portable definition of AR 2011-09-16 10:57:54 +00:00
e7255169b4 Using a separate function to output variables 2011-09-16 10:17:34 +00:00
b580667107 Fixed an issue when linking with -lossaudio outside NetBSD 2011-08-29 23:15:15 +00:00
12c19e4214 Early support for Windows (32-bits, via MinGW) 2011-06-02 19:35:21 +00:00
736f7ab1a5 Partially solved variable duplication in some cases 2011-05-26 00:30:41 +00:00
bb52b1f035 Added the set of libraries implictly available on MacOS X 2011-05-16 11:26:57 +00:00
f62e808301 The "asm" extension is now recognized for assembly files 2011-05-08 17:02:13 +00:00
9c991976e9 Stricter error reporting 2011-04-28 03:51:53 +00:00
8af5a294df Stricter error checking 2011-04-28 03:27:47 +00:00
6cebab0092 Allowing binaries to be compiled without own sources 2011-04-28 02:53:17 +00:00
b669595a39 Further improve the "install" target in Makefiles 2011-01-27 02:06:01 +00:00
5a0a5c09fc *** empty log message *** 2011-01-26 23:00:06 +00:00
e695e7e37b Modified the way scripts are handled (forcing use of getopt) 2010-12-31 15:10:25 +00:00
87bc953075 Really allow LDFLAGS to be set for libraries as well 2010-12-04 21:05:57 +00:00
aaf210b8ff Also handling -lossaudio 2010-11-12 14:30:41 +00:00
dcae4da394 DeforaOS does not provide libssl.so (yet?) 2010-10-29 01:34:11 +00:00
f906c47819 The addition of asflags for specific objects was duplicated 2010-07-23 22:53:15 +00:00
3f42326051 Was missing variables for assembly programs in some cases 2010-07-22 19:52:29 +00:00
cad3c01223 Also output relevant variables when compiling objects 2010-07-20 21:02:07 +00:00
f5bad632c1 Escaping arguments with "--" when calling $(RM), $(TAR), $(INSTALL) 2010-07-04 14:08:29 +00:00
4410bd2202 Do not let ASFLAGS be "(null)" when not defined 2010-07-04 11:38:53 +00:00
df0eb5268a Also prepend $(DESTDIR) to $(PREFIX) when installing through scripts 2010-05-06 15:02:38 +00:00
df2787d976 Fixed default prefix while installing scripts 2010-04-22 11:29:50 +00:00
050ac6af9c Fixed the case of an error message 2010-04-15 14:51:00 +00:00
c443ae1fa5 Added the "-S" flag, performing security checks while generating Makefiles 2010-04-15 14:47:19 +00:00
1400331df3 Fixed dependencies for scripts (duplicates code again) 2010-03-29 22:46:24 +00:00
33cf741d57 Implemented "cppflags" for specific source files 2010-01-12 16:18:38 +00:00
c4b1894412 Allow redistributable files to be installed with specific permissions 2009-12-29 18:05:07 +00:00
003fba1b4e -lresolv only exists on Solaris 2009-12-12 20:11:59 +00:00
06816f09c2 Introduced the script target 2009-11-27 21:37:38 +00:00
cb787f68de Reverted the unintentional additional carriage returns added recently 2009-11-15 19:01:04 +00:00
7a2ee196e1 Added the OS definition for DeforaOS (must be forced with -O at the moment) 2009-11-08 12:55:12 +00:00
0b0bec980e Also analyze arguments to "gcc -l" for program-specific flags 2009-11-01 16:37:17 +00:00
2bac283267 Detect "-libname" just like "-l ibname" for platform-specific modifications 2009-11-01 16:20:01 +00:00
1ce77b39b1 Some code cleanup 2009-11-01 16:12:08 +00:00
0aff5e256d Fixed copyright and license terms 2009-11-01 16:09:55 +00:00
75eba3b3a3 Fixed a warning during compilation 2009-08-13 16:30:07 +00:00
de44434d82 Added a plugin target 2009-08-12 07:47:54 +00:00
a7381714ea Fixed an invalid call to free() 2009-08-05 23:13:19 +00:00
53e71907c7 Now supports the installation of arbitrary files 2009-08-05 22:40:16 +00:00
97f5e1d04c Trying to output LN only once 2009-06-16 23:28:10 +00:00
7b5ed85f99 Completing initial support for soname 2009-06-16 23:12:35 +00:00
2c64824a2c Making sure LN is always generated the same way and used properly 2009-06-16 23:05:24 +00:00
08119c3d0a Code cleanup 2009-06-16 22:30:38 +00:00
4ca9cd5d72 Giving libraries an soname 2009-06-16 22:17:38 +00:00
f07ed7950c Updated copyright information 2009-03-06 12:26:18 +00:00
f59d59c0e8 Should output CPPFLAGS even without "cflags" set in project.conf 2009-03-06 12:25:45 +00:00
d8088d76c8 Allow definition of AR, RANLIB and LD executables from project.conf 2009-03-06 12:24:56 +00:00
3ec3739471 Also use CPPFLAGS when compiling C++ code 2009-03-06 12:23:48 +00:00
c2200868ab Also defining LDFLAGS when there are only libraries 2009-02-19 01:29:18 +00:00
d46c1d5e52 LDFLAGS are now set as target_LDFLAGS and usable from the command line 2009-01-11 21:40:14 +00:00
53bbfe7a8d Using "$(LIBTOOL)" instead of "libtool" 2008-09-11 12:53:39 +00:00
efaff3c1ec Now handling Makefiles with libtool (and deserves a rewrite, too) 2008-09-10 08:55:41 +00:00
f746fd8f9d Uninstalling installed objects 2008-07-18 23:52:19 +00:00
2fa386d0a8 Allowing installation of objects 2008-07-18 22:02:03 +00:00
ccba63db01 Added directive cppflags_force like cflags_force 2008-07-18 19:01:03 +00:00
327b741e5e Now support "install" for includes as well 2008-06-20 13:50:21 +00:00
5d3580bdee Now using the compiler as default linker (fixes builds on Debian etch) 2008-06-04 20:11:15 +00:00
c7f0a388bd The libdir value from project.conf has priority over the command line 2008-06-04 20:07:26 +00:00
9884d33eed Dependencies to be specified on binaries (to allow parallel builds) 2008-05-24 01:10:26 +00:00
29e18704f9 Now explicitly requires use of "install" to install a target 2008-04-30 01:30:34 +00:00
0d4c26d0f4 Constifying introduced lots of invalid free() 2008-04-18 10:28:21 +00:00
466a654554 Constifying 2008-04-18 00:14:56 +00:00
216921de98 Constifying 2008-04-18 00:12:18 +00:00
d76cf8396c Constifying 2008-04-18 00:04:31 +00:00
857c481331 Constifying 2008-04-18 00:02:31 +00:00
4acbdeb142 Constifying 2008-04-17 23:54:17 +00:00
75cae9ee82 Constifying 2008-04-17 23:50:58 +00:00
86961bb7bf Constifying 2008-04-17 23:43:20 +00:00
96439d138e Constifying 2008-04-17 23:33:24 +00:00
bd6ac61338 Code cleanup 2008-04-17 23:27:33 +00:00
698e2c08cd Constifying 2008-04-17 23:25:02 +00:00
e68692636e Code cleanup 2008-04-17 23:15:04 +00:00
22d65f69a3 Constifying 2008-04-17 23:08:30 +00:00
108bc179f7 Fix for compiling with the DeforaOS C compiler 2008-03-02 13:10:22 +00:00
8e53ab7739 Added support for ldflags for libraries 2007-12-12 15:42:30 +00:00
b256861039 Allow insertion of pre-processor flags per target 2007-11-15 17:41:37 +00:00
d70a24d32a PREFIX and DESTDIR were not present in directories with only includes 2007-10-09 15:52:51 +00:00
a70745de40 Supporting installation of include files 2007-09-25 22:47:56 +00:00
d7ec838fdc Re-licensed under the terms of the DeforaOS Project 2007-06-13 18:43:25 +00:00
88d323f3f4 Allows choosing the C compiler 2007-02-14 00:25:53 +00:00
005145fcc5 Allows the specification of a different assembly program 2007-02-13 01:20:18 +00:00
c04c5eef73 More accurate output for object targets 2007-01-24 11:38:31 +00:00
184fef2e9e Using fputs() instead of fprintf() where possible 2007-01-24 11:37:52 +00:00