2020-07-09 17:20:06 +08:00
|
|
|
PKGNAME spp
|
2022-05-18 16:41:27 +08:00
|
|
|
VERSION 1.3.0
|
2020-07-09 17:20:06 +08:00
|
|
|
CONTACT pancake ; pancake@nopcode.org
|
|
|
|
|
2022-05-18 16:41:27 +08:00
|
|
|
USE_PKGCONFIG
|
|
|
|
|
2020-07-09 17:20:06 +08:00
|
|
|
ARG_WITHOUT HAVE_FORK fork build without depending on fork syscall ;
|
|
|
|
ARG_ENABLE WANT_R2 r2 compile against r2 r_util ;
|
|
|
|
|
|
|
|
CHKPRG PKGCONFIG pkg-config
|
|
|
|
|
|
|
|
PKGCFG R2_CFLAGS R2_LDFLAGS r_util
|
|
|
|
|
|
|
|
USE_R2 = 0 ;
|
|
|
|
|
|
|
|
IF WANT_R2 {
|
|
|
|
IFNOTNULL R2_CFLAGS {
|
|
|
|
USE_R2 = 1 ;
|
|
|
|
}{
|
|
|
|
DIENOW Cannot find -lr_util using pkg-config ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SUBDIRS ./config.mk ;
|
|
|
|
|
|
|
|
REPORT HAVE_FORK USE_R2 PREFIX ;
|