pkgsrc/devel/libiberty/application.mk

15 lines
420 B
Makefile
Raw Normal View History

# $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