Eelco Dolstra
a210c995cd
Support DESTDIR
2014-02-07 16:21:27 +01:00
Eelco Dolstra
4161fce472
Create the target directory of libraries and programs
2014-02-06 11:30:05 +01:00
Eelco Dolstra
0da82efa5d
GNU Make 3.81 compatibility
...
3.81 doesn't understand the ‘define foo =’ syntax, which was added in
3.82. So use ‘define foo’ instead.
2014-02-04 11:02:49 +01:00
Eelco Dolstra
ec1738589a
Make variable names more regular
2014-02-01 12:20:06 +01:00
Eelco Dolstra
f324b49ea1
Change dependency file names from foo.dep to .foo.o.dep
2014-02-01 11:31:25 +01:00
Eelco Dolstra
5311b2b250
Clang doesn't know the "-z defs" flag
2014-01-23 10:49:53 +01:00
Eelco Dolstra
ca73c0102f
Nicer Make output
...
E.g.
CXX src/nix-log2xml/log2xml.o
CC src/bsdiff-4.3/bsdiff.o
GEN scripts/nix-channel
LD src/libmain/libnixmain.so
2014-01-10 22:31:38 +01:00
Eelco Dolstra
e991ab942b
Add support for building shared libraries on Mac OS X
2014-01-09 22:14:34 +01:00
Eelco Dolstra
814a73227f
Remove duplicate elements from *_SOURCES
...
This is useful when you do:
foo_SOURCES := $(wildcard *.cc) foo.cc
where foo.cc is a generated file. In this case, if foo.cc already
exists, you get foo.cc twice in foo_SOURCES, leading to a link error.
2014-01-09 16:54:01 +01:00
Eelco Dolstra
55c9a40613
Move stuff to top-level
...
This makes it easier to use with "git subtree".
2014-01-09 16:12:02 +01:00