From 550b7f00e3c87ab19ea1b43c822828ac2fe6fd62 Mon Sep 17 00:00:00 2001 From: pav Date: Fri, 20 Aug 2004 22:25:47 +0000 Subject: - Convert to OPTIONS PR: ports/70722 Submitted by: Ying-Chieh Chen --- textproc/ltxml/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'textproc/ltxml/Makefile') diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile index 1fa7c1397b0..6cc346dce9d 100644 --- a/textproc/ltxml/Makefile +++ b/textproc/ltxml/Makefile @@ -30,18 +30,14 @@ PROGRAMS= getindex intersect knit nslshowddb nslwhere pesis sgcount \ sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \ textonly unknit xmlnorm +OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off + .include + .ifdef WITH_OPTIMIZED_CFLAGS CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3 .endif -pre-everything:: -.ifndef(WITH_OPTIMIZED_CFLAGS) - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS' - @${ECHO_MSG} "===> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" -.endif - post-install: .for file in ${PROGRAMS:S/sgmlseg//} ${STRIP_CMD} ${PREFIX}/bin/${file} -- cgit