[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / regress / compiler

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/regress/compiler/Makefile between version 1.1 and 1.2

version 1.1, 2006/07/11 05:03:11 version 1.2, 2006/10/22 07:52:27
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       compiler-1.0  DISTNAME=       compiler-1.1
 CATEGORIES=     regress  CATEGORIES=     regress
 MASTER_SITES=   # none  MASTER_SITES=   # none
 DISTFILES=      # none  DISTFILES=      # none
Line 15  USE_TOOLS+= printf
Line 15  USE_TOOLS+= printf
   
 SRC_CMD=        ${PRINTF} '\#if defined(__cplusplus)\nLANG: Cplus\n\#else\nLANG: Cplain\n\#endif\n'  SRC_CMD=        ${PRINTF} '\#if defined(__cplusplus)\nLANG: Cplus\n\#else\nLANG: Cplain\n\#endif\n'
   
   do-extract:
           cd ${FILESDIR} && cp *.c ${WRKSRC}
   
 do-build:  do-build:
         # Test whether CPP is a C preprocessor.          # Test whether CPP is a C preprocessor.
         ${SRC_CMD} | ${CPP} -DLANG=Cplain          ${SRC_CMD} | cpp -DLANG=Cplain
         # Test whether CXXCPP is a C++ preprocessor.          # Test whether CXXCPP is a C++ preprocessor.
         # CXXCPP is not (yet)? defined.          # CXXCPP is not (yet)? defined.
         #${SRC_CMD} | ${CXXCPP} -DLANG=Cplus          #${SRC_CMD} | cxxcpp -DLANG=Cplus
           # Test whether white-space is preserved in macro definitions.
           cd ${WRKSRC} && cc checklen.c -o checklen -DLEN=4 -DSPACES=\"\ \ \ \ \" && ./checklen
           cd ${WRKSRC} && cc checklen.c -o checklen -DLEN=4 -DSPACES=\""    \"" && ./checklen
           cd ${WRKSRC} && cc checklen.c -o checklen -DLEN=4 -DSPACES='"    "' && ./checklen
           # Test whether backslashes are preserved in macro definitions.
           cd ${WRKSRC} && cc -c checktype.c -DTYPE="unsigned long"
           cd ${WRKSRC} && cc -c checktype.c -DTYPE=unsigned\ long
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>