Lines 30-45
Link Here
|
30 |
sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \ |
30 |
sggrep sgmlsb sgmlseg sgmltrans sgrpg sgsort simple simpleq \ |
31 |
textonly unknit xmlnorm |
31 |
textonly unknit xmlnorm |
32 |
|
32 |
|
|
|
33 |
OPTIONS= OPTIMIZED_CFLAGS "extra optimizations" off |
34 |
|
33 |
.include <bsd.port.pre.mk> |
35 |
.include <bsd.port.pre.mk> |
34 |
.ifdef WITH_OPTIMIZED_CFLAGS |
36 |
.ifdef WITH_OPTIMIZED_CFLAGS |
35 |
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3 |
37 |
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3 |
36 |
.endif |
|
|
37 |
|
38 |
pre-everything:: |
39 |
.ifndef(WITH_OPTIMIZED_CFLAGS) |
40 |
@${ECHO_MSG} '===>' |
41 |
@${ECHO_MSG} '===> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS' |
42 |
@${ECHO_MSG} "===> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" |
43 |
.endif |
38 |
.endif |
44 |
|
39 |
|
45 |
post-install: |
40 |
post-install: |