2008-08-19 19:30:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for building the dispol program
|
|
|
|
#
|
|
|
|
PREFIX ?= $(DESTDIR)/usr
|
|
|
|
BINDIR=$(PREFIX)/bin
|
2013-05-10 12:45:12 +00:00
|
|
|
LIBDIR ?= $(PREFIX)/lib
|
2008-08-19 19:30:36 +00:00
|
|
|
INCLUDEDIR ?= $(PREFIX)/include
|
|
|
|
|
2011-11-02 20:22:28 +00:00
|
|
|
CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
|
2008-08-19 19:30:36 +00:00
|
|
|
override CFLAGS += -I$(INCLUDEDIR)
|
|
|
|
|
2011-10-31 14:48:38 +00:00
|
|
|
LDLIBS=-lfl -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
all: dispol dismod
|
|
|
|
|
|
|
|
dispol: dispol.o
|
|
|
|
|
|
|
|
dismod: dismod.o
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f dispol dismod *.o
|