Commit Graph

372 Commits

Author SHA1 Message Date
a4bde692be Code cleanup 2012-04-08 14:02:54 +00:00
d30f748476 Hopefully improving support for MacOS X 2011-11-27 22:37:19 +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
0ef0d738d5 Re-generated Makefiles 2011-09-16 11:54:13 +00:00
c61365c06b No longer force $(CC) 2011-09-16 11:52:42 +00:00
7e5f248613 Re-generated Makefiles 2011-09-16 11:36:26 +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
355491d530 Re-generated Makefiles 2011-09-16 10:19:40 +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
213ac67002 Compilation fix for Windows 2011-06-02 19:51:06 +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
6914826310 Added MacOSX 10.6.5 to the list of systems detected 2011-05-16 11:17:17 +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
e2e9576cdb Use pkg-config by default to build 2011-03-19 15:42:12 +00:00
ad8327b8e2 Re-generated Makefiles 2011-01-27 02:18:20 +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
974f260d1e configure can now take care of multiple directories at once 2010-10-18 16:20:04 +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
7526458139 Re-generated Makefiles 2010-07-04 14:12:05 +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
15a7af10ce Probably made it easier to cross-compile 2010-05-27 14:12:41 +00:00
df0eb5268a Also prepend $(DESTDIR) to $(PREFIX) when installing through scripts 2010-05-06 15:02:38 +00:00
d33a061efb Made it probably easier to cross-compile 2010-05-02 22:04:43 +00:00
df2787d976 Fixed default prefix while installing scripts 2010-04-22 11:29:50 +00:00
64003af5a0 Updated copyright information 2010-04-22 11:28:15 +00:00
1dce1aeb2f Fixed invalid call to string_delete() 2010-04-21 15:28:52 +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
c9e7cf342b Always look for includes in $(PREFIX)/include 2009-12-21 15:11:26 +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
b1ca9e8edb No longer explictly need "-ldl" (contained in libSystem) 2009-11-01 16:41:30 +00:00
0b0bec980e Also analyze arguments to "gcc -l" for program-specific flags 2009-11-01 16:37:17 +00:00
90c0ca76c3 gcc really prefers "-libname" to "-l ibname" 2009-11-01 16:22:22 +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
52c634717a Compiling with -pedantic 2009-08-13 15:16:41 +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
b014fe0896 Re-generated Makefiles 2009-06-16 23:56:07 +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
dd86d44378 Initial release 2009-06-16 22:18:56 +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
f1df55b0be Avoid a compilation warning 2009-02-19 01:30:30 +00:00
c2200868ab Also defining LDFLAGS when there are only libraries 2009-02-19 01:29:18 +00:00
026ceb72b9 Re-generated Makefiles 2009-01-11 21:46:49 +00:00
d46c1d5e52 LDFLAGS are now set as target_LDFLAGS and usable from the command line 2009-01-11 21:40:14 +00:00
001a49767b Re-generated Makefiles 2008-09-26 21:20:27 +00:00
53bbfe7a8d Using "$(LIBTOOL)" instead of "libtool" 2008-09-11 12:53:39 +00:00
14dec66fb3 Now supporting libtool 2008-09-11 12:53:07 +00:00
efaff3c1ec Now handling Makefiles with libtool (and deserves a rewrite, too) 2008-09-10 08:55:41 +00:00
5bca49bf9b Fixed compilation warnings while it's still not implemented 2008-08-13 15:18:53 +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
88de208192 Code cleanup 2008-06-10 16:10:01 +00:00
220a4e1354 Using the error reporting framework 2008-06-06 02:05:19 +00:00
5d3580bdee Now using the compiler as default linker (fixes builds on Debian etch) 2008-06-04 20:11:15 +00:00
c3ddf27c4a makedepend is compiled again although neither implemented nor installed yet 2008-06-04 20:09:12 +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
642c6fb9e3 Re-generated Makefile 2008-05-24 01:02:08 +00:00
cb28d82378 Was missing a directory separator in config.h 2008-04-30 01:47:32 +00:00
4f2b31f4a9 Also output the value of LIBDIR 2008-04-30 01:30:58 +00:00
29e18704f9 Now explicitly requires use of "install" to install a target 2008-04-30 01:30:34 +00:00
f6ce5cb629 Using the error reporting framework 2008-04-18 10:38:47 +00:00
0d4c26d0f4 Constifying introduced lots of invalid free() 2008-04-18 10:28:21 +00:00
9aa2097ac9 Constifying brought in lots of invalid free() 2008-04-18 10:17:41 +00:00
66100b5935 Code cleanup 2008-04-18 00:17:38 +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
7a8df011d3 No longer need to restore the string state 2008-04-17 23:29:18 +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
c5034a4cab Constifying 2008-04-17 23:04:31 +00:00
530b3f0d58 Constifying 2008-04-17 23:00:36 +00:00
6422129f23 Constifying 2008-04-17 22:59:38 +00:00
8366326cee Added config.h 2008-04-17 22:51:42 +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
bc85d8b6a3 Using LDFLAGSF for LDFLAGS but '-l dl' for easier portability 2007-10-10 01:05:35 +00:00
4165842370 Re-generated Makefile 2007-10-09 15:53:02 +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
fff4df084b Added NetBSD 4.0 2007-09-25 22:00:08 +00:00
0c646a6f99 Code cleanup 2007-09-25 21:59:01 +00:00
755b3dc2e7 Added amd64 architecture 2007-07-16 19:46:28 +00:00
9acc484c02 Added OS recognition for OpenBSD/zaurus 2007-06-29 17:07:09 +00:00
d7ec838fdc Re-licensed under the terms of the DeforaOS Project 2007-06-13 18:43:25 +00:00
1c7b8d33a3 -Wl,-rpath seems to be more portable than -R 2007-05-21 02:39:36 +00:00
9c35d14dea *** empty log message *** 2007-05-21 02:32:33 +00:00
4dd58ae7bf Trying to allow more flexible compilation process for DeforaOS 2007-05-21 02:26:51 +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
89b162348b Re-generated Makefile 2007-01-19 01:21:30 +00:00
2f327d0b5c Improving output regarding pre-processor flags and assembler flags 2007-01-19 01:20:50 +00:00
f1aa052597 Fixed -l 2007-01-19 01:05:31 +00:00
5d3acdd1b4 Adding support for CPPFLAGS 2007-01-13 20:17:12 +00:00
c7d0eaed15 Improving makefile generation for assembly objects 2007-01-13 19:42:40 +00:00
db15264adf Re-generated Makefiles 2007-01-13 19:41:48 +00:00
fa3d234484 Moving LDFLAGS to the end of the arguments to circumvent a gcc bug 2006-12-14 15:34:00 +00:00
3dbec9b9ae Added an empty line between targets 2006-11-11 00:25:50 +00:00
9821ce2dff Adding an empty line between targets 2006-11-11 00:25:33 +00:00
ced8062102 Fixing Makefiles 2006-11-03 10:58:14 +00:00
9429450960 More flexible definition of PREFIX 2006-11-01 21:01:48 +00:00
9e866e122f Outputs PREFIX to configuration (consider passing Configure* to settings()) 2006-08-31 10:31:23 +00:00
0088809b6a Forgot to declare "RM" in some cases for the "dist" target 2006-08-26 16:39:49 +00:00
335c62deec makedepend is not ready for release 2006-07-16 01:08:30 +00:00
0635ba3303 Added -O2 CFLAG 2006-07-14 11:42:14 +00:00
217274ae4c Fixed cflags_force and cxxflags_force 2006-07-14 11:40:58 +00:00
06fe52b367 Preparing support for C compilers using getopt() 2006-07-14 11:33:51 +00:00
0551eec44c Preparing support for C compiler using getopt() 2006-07-14 11:31:36 +00:00
029a749bc2 Code cleanup and and improving C++ support 2006-07-14 11:28:23 +00:00
b2783ff65c Supports C++ 2006-07-14 10:06:02 +00:00
4ff593d080 Always output CFLAGS (maybe not the best idea though) 2006-07-10 14:53:44 +00:00
773fd4dc9b Added settings.h 2006-07-06 02:07:23 +00:00
4a12741528 Added dist rule in PHONY pseudo-rule when appropriate 2006-07-06 02:06:57 +00:00
e2420f5a43 Fixed verbosity 2006-06-27 08:13:20 +00:00
4d80855236 Implemented config.{h,sh} optional generation 2006-06-26 20:23:29 +00:00
466d1b72e3 Packages makefile.h 2006-06-21 13:43:20 +00:00
8a874ca1f2 Packages configure.h 2006-06-21 13:41:43 +00:00
32ac23ef32 No longer packaging Makefiles by default 2006-06-18 22:58:07 +00:00
94581950be Done partial LDFLAGSF and LDFLAGS platform-specific adaptability 2006-06-18 21:56:18 +00:00
796172377f Fix LDFLAGSF and LDFLAGS 2006-06-18 21:51:19 +00:00
3d6608a4fa Pre-adaptation of LDFLAGSF and LDFLAGS with default libraries availability 2006-06-18 21:43:57 +00:00
4d2a50486b Added .PHONY rule 2006-06-18 17:23:49 +00:00
b578a21768 Added sun4u architecture 2006-06-16 01:57:25 +00:00
6730960a57 Better kernel version detection 2006-06-16 01:50:11 +00:00
2dafd20a96 More generic Makefiles 2006-04-18 21:20:00 +00:00
49a5705683 Implemented preliminary installation path detection and manual setting 2006-04-18 21:19:29 +00:00
8b84b42438 Compile on more platforms 2006-04-17 21:51:44 +00:00
4f4140b56f Added target makedepend 2006-04-02 00:14:06 +00:00
738a85e5da Updated dependencies 2006-04-02 00:13:33 +00:00
5d543201ce Added dependencies 2006-04-02 00:11:36 +00:00
2c4aa44bd1 Implemented dependencies on source files 2006-04-01 23:59:46 +00:00
1ba0a48f14 Changed tar flags to what should be standard 2006-03-29 22:22:38 +00:00
eb5d1a753b Nicer dist rule output 2006-03-19 04:23:04 +00:00
fd851865fa Updated arguments to ar 2006-02-27 22:32:13 +00:00
6da7ba1a21 Fixed verbose system detection message 2006-01-27 06:56:17 +00:00
e9f481c0d0 Separate Makefile output functions 2006-01-27 05:33:47 +00:00
bb928d9b92 Improved source archives generation 2005-10-25 17:27:31 +00:00
30e29d6fcf Added uninstallation rules 2005-10-25 15:58:43 +00:00
33a2beccc9 Added installation rules 2005-10-25 02:30:56 +00:00
c06fbd3ac4 Added variables and directory creations for installation rule 2005-10-25 02:24:25 +00:00
65760fdaaa Preliminary support for installation rules 2005-10-25 01:48:57 +00:00
ff2a5d4c7f Added some error checking at loading time 2005-10-23 23:10:39 +00:00
d87486a333 Quieter package creation 2005-10-23 20:39:21 +00:00
3d9bfad007 New configure 2005-10-23 20:37:12 +00:00
b8cc8e7af9 Complete rewrite to support more features 2005-10-23 20:35:56 +00:00
9202792321 Code cleanup 2005-10-22 14:47:32 +00:00
0e754ad10f Fixed Makefile 2005-10-21 23:41:10 +00:00
e3c060d9b1 Migrated to libSystem 2005-10-21 22:21:02 +00:00
3c6a584e16 Preparing the libSystem migration (in the meantime configure is broken) 2005-10-21 20:58:38 +00:00
a306b44c19 Removed useless explicit declaration of optind 2005-10-10 22:39:24 +00:00
ed242a45ce Changed assembly files extension to ".S" (works with GCC but should invoke $(AS) directly) 2004-09-27 16:00:12 +00:00