opnsense-src/contrib/ofed/usr.lib/libsdp/Makefile
Marcel Moolenaar 84b809fd65 When MAKEOBJDIRPREFIX points to a case-insensitive file system, the
build can break when different source files create the same target
files (case-insensitivity speaking).  This is the case for object
files compiled with -fpic and shared libraries. The former uses
an extension of ".So", and the latter an extension ".so".  Rename
shared object files from *.So to *.pico to match what NetBSD does.

Missed in r306297

MFC after:	1 month
Sponsored by:	Bracket Computing
Differential Revision:	https://reviews.freebsd.org/D7906
2016-09-24 17:50:11 +00:00

25 lines
406 B
Makefile

# $FreeBSD$
SHLIBDIR?= /usr/lib
.include <bsd.own.mk>
SDPDIR= ${.CURDIR}/../../libsdp/src
.PATH: ${SDPDIR}
LIB= ibsdp
SHLIB_MAJOR= 1
MK_PROFILE= no
MAN=
SRCS= log.c match.c port.c config_parser.c config_scanner.c
CFLAGS+= -DSYSCONFDIR=\"/etc\"
CFLAGS+= -I${OFEDSYS}/include
.include <bsd.lib.mk>
# Remove .[ly] since the checked-in version is preferred.
.SUFFIXES:
.SUFFIXES: .o .po .pico .c .ln