aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/c_src.mk
AgeCommit message (Collapse)Author
2015-05-22Handle executable portsLoïc Hoguin
Previously we only did shared libraries, now we allow executables. Also improve greatly the handling of autopatched rebar projects by relying once again on the rebar_utils module.
2015-05-20Use core platform detection in c_srcLoïc Hoguin
2015-05-14Merge branch 'jj1bdx-c_src-appbuild' of https://github.com/jj1bdx/erlang.mkLoïc Hoguin
2015-05-14Make sure auto patched dependencies recompile fineLoïc Hoguin
2015-05-14Build NIF C code also on testsKenji Rikitake
* This patch ensures building the NIF code under`c_src` even on running `make tests` * When `c_src/Makefile` exists: * Split the Makefile invocation dependency into `app-c_src` * Invoke `app-c_src` also in `test-build` as well as `app` * When `c_src/Makefile` does not exist: * Add `$(C_SRC_ENV) $(C_SRC_OUTPUT)` dependencies to `test-build`
2015-05-12More improvements for building dependenciesLoïc Hoguin
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2015-01-08Speed up "erl" invocationsLoïc Hoguin
Use "+A0 -noinput -boot start_clean" as start argument. Use halt/{1,2} to shutdown the VM faster.
2014-11-25plugins/c_src.mk: update CFLAGS/CXXFLAGS/LDFLAGS for OS XKenji Rikitake
* Add the following flags to LDFLAGS needed at linkage for OS X, and remove the following flags from CFLAGS and CPPFLAGS: `-arch x86_64 -flat_namespace -undefined suppress`
2014-11-25plugins/c_src.mk: use non-regex file extention detectionKenji Rikitake
* The `-regex` option of `find` command to determine `SOURCES` in plugins/c_src.mk` is not portable; does not work on OS X. Rewrite with a portable form of using `find` native `-name` command option with `\(`, `-o`, and `\)`. * Support file extentions of `*.c`, `*.C`, `*.cc`, and `*.cpp`.
2014-11-22plugin/c_src: remove C_SRC_OPTSSlava Yurin
We can just LDFLAGS += and whatnot.
2014-11-20plugin/c_src: compile C++ sourceSlava Yurin
Add compile .cc,.cpp,.C files as C++. Compile each source file to .o. Link all .o object to .so. Delete .o on clean target.
2014-11-19Make env.mk delete on distcleanSlava Yurin
Because env.mk creates a considerable time, then delete it less often.
2014-11-19Compile all *.c files in c_src and sub dirSlava Yurin
2014-11-19Don't try compile c_src if not existSlava Yurin
2014-11-19Add erl_interface for c_src compile and linkSlava Yurin
Using LDFLAGS, LDLIBS for link
2014-11-09Use erlang:halt/0 for c_src.mkKenji Rikitake
* erlang:halt/0 is much faster than init:stop/0 to terminate execution (no wait time)
2014-09-09fix typo in ifneqDaniel Goertzen
2014-07-21Add CC/CFLAGS OS type detection code to plugins/c_src.mkKenji Rikitake
2014-06-10Initial support for NIFsLoïc Hoguin