summaryrefslogtreecommitdiff
path: root/devel/libiberty/application.mk
blob: 5c2c3167b532bf47ef96a1272a89abfb2b8947b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: application.mk,v 1.1 2005/01/18 21:58:55 tv Exp $
# Convenience header to help pull libiberty into an application's build.

.include "../../mk/bsd.prefs.mk"

# currently requires GCC for "-include"
.if empty(PKGSRC_COMPILER:Mgcc)
PKG_FAIL_REASON+=	"libiberty compatibility build requires gcc compiler"
.endif

.include "../../devel/libiberty/buildlink3.mk"

CPPFLAGS+=		-include libiberty.h
LIBS+=			-liberty