History log of /external/selinux/checkpolicy/Makefile
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fcb5d5cc721187b3e3a19b44155d5b824d7be7e6 24-Apr-2017 Jason Zaman <jason@perfinion.com> Makefiles: drop -L/-I to system paths

The toolchain automatically handles them and they break cross compiling.

LDFLAGS should also come before object files, some flags (eg,
-Wl,as-needed) can break things if they are in the wrong place)

Gentoo-Bug: https://bugs.gentoo.org/500674

Signed-off-by: Jason Zaman <jason@perfinion.com>
/external/selinux/checkpolicy/Makefile
dcd135cc06abd8cd662d2d7a896e368f09380dd2 14-Jan-2017 Nicolas Iooss <nicolas.iooss@m4x.org> Re-link programs after libsepol.a is updated

After libsepol is modified (for example while developing new features or
fixing bugs), running "make install" in the top-level directory does not
update the programs which use libsepol.a. Add this static library to the
target dependencies in order to force their updates. This makes "make"
use libsepol.a in the linking command without using LDLIBS.

While at it, copy what commit 14d706434846 ("libselinux: Allow
overriding libsepol.a location during build") introduced in libselinux
Makefile by using a new LIBSEPOLA variable in all Makefiles.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/checkpolicy/Makefile
1c187d797fc5bddcd29ce3e01d911ad36153ba15 28-Nov-2016 Nicolas Iooss <nicolas.iooss@m4x.org> checkpolicy: remove -lfl from LDLIBS

When building checkpolicy/test, the linker reports the following error:

cc dispol.o -lfl /usr/src/selinux/DESTDIR/usr/lib/libsepol.a
-L/usr/src/selinux/DESTDIR/usr/lib -o dispol

/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libfl.so:
undefined reference to `yylex'

collect2: error: ld returned 1 exit status

According to flex documentation
(https://github.com/westes/flex/blob/master/doc/flex.texi), -lfl is used
to provide an implementation for yywrap(). However every flex file now
uses "%option noyywrap", which makes -lfl no longer mandatory. Remove
this option from checkpolicy Makefiles.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/checkpolicy/Makefile
e9603092fb3c6670c2a3beba59a58468a8fdafcd 16-May-2016 Julien Pivotto <roidelapluie@inuits.eu> checkpolicy: set flex as default lexer

This makes the checkpolicy Makefile consistent with the Makefile present
in libsemanage and libsepol.
/external/selinux/checkpolicy/Makefile
13cd4c8960688af11ad23b4c946149015c80d549 19-Aug-2008 Joshua Brindle <method@manicmethod.com> initial import from svn trunk revision 2950
/external/selinux/checkpolicy/Makefile