27 lines
575 B
Makefile
27 lines
575 B
Makefile
# $NetBSD: options.mk,v 1.5 2013/07/06 23:00:14 othyro Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mupen64plus
|
|
PKG_SUPPORTED_OPTIONS= debug lirc samplerate speex
|
|
PKG_SUGGESTED_OPTIONS= samplerate speex
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CFLAGS+= -DDEBUG=1
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlirc)
|
|
.include "../../comms/lirc/buildlink3.mk"
|
|
CFLAGS+= -DLIRC=1
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msamplerate)
|
|
.include "../../audio/libsamplerate/buildlink3.mk"
|
|
.else
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mspeex)
|
|
.include "../../audio/speex/buildlink3.mk"
|
|
.else
|
|
.endif
|