src/Makevars.in
raw| 1 | OBJECTS = dir.o error.o file.o fs.o getmode.o id.o init.o link.o path.o utils.o unix/getmode.o |
| 2 | PKG_CFLAGS = $(C_VISIBILITY) |
| 3 | |
| 4 | PKG_CPPFLAGS = -I. @cflags@ |
| 5 | PKG_LIBS = @libs@ |
| 6 | |
| 7 | UNAME := $(shell uname) |
| 8 | ifeq ($(UNAME), FreeBSD) |
| 9 | PKG_LIBS += -lkvm |
| 10 | endif |
| 11 | ifeq ($(UNAME), OpenBSD) |
| 12 | PKG_LIBS += -lkvm |
| 13 | endif |
| 14 | ifeq ($(UNAME), NetBSD) |
| 15 | PKG_LIBS += -lkvm |
| 16 | endif |
| 17 | ifneq ($(filter $(UNAME), Linux AIX OS400),) |
| 18 | OBJECTS += bsd/setmode.o bsd/strmode.o bsd/reallocarray.o |
| 19 | endif |