Commit Graph

13 Commits

Author SHA1 Message Date
Russell Belfer
a3c2d916d8 Fix warnings in Makefile.embed 2013-09-23 21:59:32 -07:00
Arthur Schreiber
a6837b5fc9 When building with MINGW, specify __USE_MINGW_ANSI_STDIO.
This option is already present in the CMake config, but was missing from `Makefile.embed` and would cause all kinds of weird failures when compiling rugged on windows with the ruby devkit.
2013-07-31 19:13:35 +02:00
Arthur Schreiber
847c679309 Allow Makefile.embed to be used when cross-compiling
This allows libgit2 to be cross-compiled (e.g. when building native rugged binaries for windows from Linux or OS X).

```
CROSS_COMPILE=i686-w64-mingw32 make -f Makefile.embed
```
2013-07-25 00:26:51 +02:00
Vicent Marti
262274748f makefile: Fix the builtin Makefile 2012-11-13 14:05:43 -08:00
Scott J. Goldman
308581de9e Fix Makefile.embed to build src/sha1/*.c 2012-10-23 18:18:19 -07:00
Scott J. Goldman
e905c1fc14 More Makefile.embed cleanups
Don't need unix/*.c for windows, don't need wildcard for regex.c
2012-06-20 11:09:35 -07:00
Scott J. Goldman
e96e3be762 Fix Makefile.emebed for mingw32
otherwise we can't compile the native parts of the rugged gem on Windows
2012-06-19 18:08:15 -07:00
Bruce Mitchener
8e1742ab13 Allow passing additional defines and cflags to Makefile.embed. 2012-05-19 18:06:19 +07:00
Bruce Mitchener
56e1e2bf70 Build xdiff as well in Makefile.embed. 2012-05-19 18:05:56 +07:00
Vicent Martí
9b8d56087c makefile: Define _GNU_SOURCE in the embed mkfile 2012-02-09 01:18:26 +01:00
Hargobind S. Khalsa
d42eff0344 Add src/transports to Makefile sources 2011-10-13 19:05:03 -06:00
Hargobind S. Khalsa
7fcddeb68b Update Makefile.embed with http-parser dependency 2011-10-13 18:44:14 -06:00
Vicent Marti
e1bf24c862 build: Add simple Makefile for embedding the library
Run `make -f Makefile.embed` to get a `libgit2.a` with no dependencies
and no configuration on any Unix-like system.

The generated library can be linked with any piece of software without
licensing issues.

Have fun.
2011-07-06 02:17:15 +02:00