mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 22:12:16 +00:00
22 lines
372 B
Makefile
22 lines
372 B
Makefile
#
|
|
# Makefile for building the dispol program
|
|
#
|
|
PREFIX ?= $(DESTDIR)/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
INCLUDEDIR ?= $(PREFIX)/include
|
|
|
|
CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
|
|
override CFLAGS += -I$(INCLUDEDIR)
|
|
|
|
LDLIBS=-lfl -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
|
|
|
all: dispol dismod
|
|
|
|
dispol: dispol.o
|
|
|
|
dismod: dismod.o
|
|
|
|
clean:
|
|
-rm -f dispol dismod *.o
|