Tuncer Ayaz
4ceb9e07a3
Deprecate old hooks
2011-03-12 16:48:16 +01:00
Tuncer Ayaz
63de05d914
Clean up code
2011-02-06 17:41:04 +01:00
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
2011-01-31 17:55:36 +01:00
Tuncer Ayaz
926baa1c31
Use filename:join instead of ?FMT
2011-01-28 20:15:22 +01:00
Andrew Tunnell-Jones
b52b82cc29
Add support for arch specific port_sources
...
On one project I have a need to specify port_sources on R14 only
and on another different project port_sources for Darwin and Linux.
To this end add support to handle tuples of the form
{ArchRegex, PortSource} in the port_sources list, eg:
{port_sources, [{"R14", ["c_src/*.c"]}]}.
2011-01-17 16:57:46 +01:00
Tuncer Ayaz
e4036cbe56
Apply Tidier suggestions
2011-01-13 17:39:14 +01:00
Juhani Rankimies
52ca7795fe
Unify executable invocation
...
Add flags to rebar_utils:sh to control output and error handling.
Replace calls to os:cmd with calls to rebar_utils:sh.
2011-01-06 15:02:19 +01:00
Kostis Sagonas
7dc76d578e
Tidier improvements
2010-10-26 00:38:51 +02:00
Tuncer Ayaz
d590c18b5a
Fix dialyzer warning for filename:join/2 calls
2010-09-29 21:28:20 +02:00
Dan Gudmundsson
83cece0f80
Basic tweaks for compiling ports/nifs on mingw
2010-09-18 16:34:19 -06:00
Dave Smith
5ee59c377a
Defaulting CC->cc and CXX->c++ for better cross platform support
2010-07-12 08:36:11 -06:00
Dave Smith
3588c69ad2
Fix bug 255; O/S environment vars should be processed last, not first
2010-06-22 20:38:45 -06:00
Dave Smith
2af6dc84ae
Complete implementation for simplistic .app.src processing.
2010-05-07 12:01:48 -06:00
Dave Smith
ff1cf0365b
Make sure that the so_specs stuff is properly backwards compatible
2010-05-03 10:27:00 -06:00
Tuncer Ayaz
60c649bc4e
Add missing CXXFLAGS equivalents of CFLAGS
2010-04-29 15:34:14 +02:00
Cliff Moon
939c36e527
merged from basho
2010-04-28 19:37:46 -07:00
Cliff Moon
c3fe43a0ba
add new configuration option so_specs which allows multiple drivers to be built in the same project.
2010-04-28 16:27:54 -07:00
Dave Smith
f81cf34bb9
Add default CFLAGS for platforms where there can be variation of 32/64 bit Erlang VMs
2010-04-28 09:31:38 -06:00
Dave Smith
c19b8ac003
Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src
2010-04-28 08:44:06 -06:00
Tuncer Ayaz
23781ae460
Fix unused var warning
2010-02-25 19:57:02 +01:00
Dave Smith
6714d47efb
Deal properly with env vars that have multiple = in the value
2010-02-16 11:00:14 -07:00
Dave Smith
1f6d861aba
Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts.
2010-02-16 07:05:29 -07:00
Dave Smith
96c1ceba60
Break out arch string function; update ERLANG_TARGET to include bitness of the Erlang target
2010-02-12 15:05:32 -07:00
Ryan Tilder
f502bb09dd
I'm a moron. Make it a string.
2010-02-10 11:23:53 -08:00
Dave Smith
268405d0dc
Adding new vars for scripts to determine architecture (32/64 bit) and target platform of Erlang VM; courtesy of rtilder
2010-02-10 11:15:55 -07:00
Dave Smith
bd510dea20
Tweaking order of defaults so that -shared is default across platforms unless explicitly overridden
2010-02-01 10:56:47 -07:00
Dave Smith
f333bc2a92
Removing useless debug message and extraneous newline
2010-02-01 09:29:13 -07:00
Dave Smith
1582f2e243
Tweak support for controlling so_name
2010-01-26 13:50:17 -07:00
Kevin Smith
bfcb54cbc9
Added so_name entry to rebar.config so linked-in drivers can specify custom .so names
2010-01-05 10:39:08 -05:00
Tuncer Ayaz
9a8015f2d7
Added vi modeline/emacs local variables to file headers
2009-12-31 19:42:53 +01:00
Tuncer Ayaz
8c85021c1e
Deleted trailing whitespace
2009-12-30 13:13:39 +01:00
Dave Smith
2f1d415a70
Revert change to linking order arguments
2009-12-18 15:08:36 -07:00
Dave Smith
ee0c6ad086
Reorder arguments to CC for linking and fix needs_link to function properly
2009-12-16 10:27:14 -05:00
Dave Smith
d6600ab506
Fixing number of warnings and buglets
2009-12-14 08:58:22 -05:00
Dave Smith
d885b1c04c
Basic implementation of port compiler is now complete
2009-12-01 10:38:30 -07:00
Dave Smith
c7c1001012
Slowly working out port driver implementation
2009-11-30 16:03:45 -07:00