openrc/mk/os-Linux.mk

15 lines
305 B
Makefile
Raw Normal View History

2009-05-01 19:41:40 +05:30
# Copyright (c) 2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
2008-03-19 21:08:05 +05:30
SFX= .Linux.in
PKG_PREFIX?= /usr
CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
2008-03-19 21:08:05 +05:30
LIBDL= -Wl,-Bdynamic -ldl
ifeq (${MKSELINUX},yes)
CPPFLAGS+= -DHAVE_SELINUX
LIBSELINUX= -lselinux
LDADD += $(LIBSELINUX)
endif