82 Commits

Author SHA1 Message Date
b343c24a9f add explanatory comments to Makefiles 2014-12-20 16:57:41 +00:00
21e3778e69 Revert the 'clean-up' commits so that custom build-time flags can be set
These commits removed the 'NEEDED*' vars which were added so that CXX*
and LDFLAGS could be specified at build time. By doing away with these
and using solely CXXFLAGS and LDFLAGS, special flags cannot be added.
Indeed, specifying your own CXXFLAGS would cause the build to fail. We
want the build flags to be APPENDED, not overwritten.
2014-12-20 16:57:41 +00:00
219abaa7e1 don't use AESNI if not supported 2014-12-15 16:15:06 -05:00
d6fe4556fb don't make executable as shared 2014-12-13 14:45:44 -05:00
cf8e229098 * almost fixed static linking 2014-12-13 13:21:24 +00:00
05a62af99b * move USE_* to main Makefile 2014-12-13 13:21:24 +00:00
56c404e6c1 * Makefile.linux : use idents with spaces 2014-12-13 13:21:24 +00:00
5ee4969322 * Makefile.linux : reorder checks 2014-12-13 13:21:24 +00:00
aa0cb6b2c4 * (3/3) cleanup : unused variable 2014-12-13 13:21:24 +00:00
d6ec412422 * (2/3) cleanup : use $CXXFLAGS instead $NEEDED_FLAGS 2014-12-13 13:21:24 +00:00
4e94bc9efc * (1/3) cleanup : use $CXXFLAGS instead $CPU_FLAGS 2014-12-13 13:21:24 +00:00
8c218bd5df * (1/3) update filelist.mk : 3 lists of sources: common, daemon-specific and library-specific 2014-12-13 13:21:24 +00:00
5966113268 * build library in the same tree as main binary 2014-12-11 07:48:08 +00:00
3e826cd6dc easier static builds (STATIC=yes)
This will also disable AESNI
2014-11-07 14:49:16 +00:00
2f8c37b132 Allow setting the LIBDIR at build time 2014-11-07 14:48:49 +00:00
e914d1640c allow AESNI to be disabled 2014-11-07 14:17:24 +00:00
25b5068f5e allow LDFLAGS to be set by user
Move old LDFLAGS variable to LDLIBS. By doing ths, a user can set their
own LDFLAGS without breaking the build. A case in which this can be
useful is hardening with debian, e.g.

    $ dpkg-buildflags --get LDFLAGS
    -Wl,-z,relro
2014-11-04 02:37:12 +00:00
38eaea121f recognize clang in linux 2014-10-30 13:53:55 +00:00
6681e25513 allow CXXFLAGS to be set without overwriting needed flags 2014-10-30 13:53:47 +00:00
5acbc6a23e use standard make variables 2014-10-30 13:50:29 +00:00
524b2e9f8a check for 64-bit compiler 2014-10-30 13:50:18 +00:00
796b2d980f std option for different versions of gcc (by hagen) 2014-09-23 19:56:29 -04:00
610e9e3660 use c++11 for 4.9 only 2014-09-22 21:56:01 -04:00
5a55e14f98 * Makefile.linux : detect gcc version 2014-09-23 01:44:09 +00:00
cdaa72e664 c++11 is not recognized by gcc 4.6. rolled back to c++0x 2014-09-22 07:34:57 -04:00
1ac75be832 - remote hardcoded rpath from Makefile 2014-09-19 05:15:40 +00:00
2c1365ad0c * Makefile : move common targets to top-level Makefile 2014-09-19 05:15:40 +00:00
d8bb640f15 * fix CFLAGS in Makefile.linux 2014-09-19 05:15:40 +00:00
8f3414bcb2 use -maes if AES-NI detected 2014-09-13 14:36:36 -04:00
05fa6757ce Adding timestamp to logger. 2014-08-17 07:35:09 +02:00
02296ef775 Moving file list to a common one. Still in makefile format, but now with CPP/H
as input instead of OBJECTS.
Issue #82
2014-07-17 19:12:52 +02:00
1ec8728ab0 Makefile now detects which file to use (OSX or Linux)
Issue #82
2014-07-16 18:59:17 +02:00