diff options
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/atm/Makefile | 5 | ||||
-rw-r--r-- | sbin/atm/atmconfig/Makefile | 5 | ||||
-rw-r--r-- | sbin/atm/ilmid/Makefile | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sbin/atm/atm/Makefile b/sbin/atm/atm/Makefile index df5db86667c6..973e5cce4cd4 100644 --- a/sbin/atm/atm/Makefile +++ b/sbin/atm/atm/Makefile @@ -28,7 +28,12 @@ SRCS= atm.c atm_fore200.c atm_inet.c atm_print.c \ atm_set.c atm_show.c atm_subr.c MAN= atm.8 +.if ${MACHINE_ARCH} == "arm" +WARNS?= 3 +.else WARNS?= 6 +.endif + CFLAGS+= -I${.CURDIR}/../../../sys DPADD= ${LIBATM} diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index ddbee80a4d59..40134fc117e7 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -8,7 +8,12 @@ PROG= atmconfig SRCS= main.c diag.c natm.c MAN= atmconfig.8 + +.if ${MACHINE_ARCH} == "arm" +WARNS?= 3 +.else WARNS?= 9 +.endif FILES= atmconfig.help FILESDIR= /usr/share/doc/atm diff --git a/sbin/atm/ilmid/Makefile b/sbin/atm/ilmid/Makefile index cfd0270b141a..67d9bab32b9c 100644 --- a/sbin/atm/ilmid/Makefile +++ b/sbin/atm/ilmid/Makefile @@ -26,7 +26,12 @@ PROG= ilmid MAN= ilmid.8 +.if ${MACHINE_ARCH} == "arm" +WARNS?= 3 +.else WARNS?= 6 +.endif + CFLAGS+= -I${.CURDIR}/../../../sys DPADD= ${LIBATM} |