From 154bcb4f6a9e4ea33b04c5485368a3ae0e665517 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 17 Jun 2007 15:24:32 +0000 Subject: bootstrap-mk-files doesn't know about PROG_CXX. Just build the sources directly and drop separate Makefile. --- games/polyglot/Makefile | 14 +++++++++++++- games/polyglot/files/Makefile | 15 --------------- 2 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 games/polyglot/files/Makefile diff --git a/games/polyglot/Makefile b/games/polyglot/Makefile index 0f770909c28..241ba6ec8ac 100644 --- a/games/polyglot/Makefile +++ b/games/polyglot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 20:06:07 rillig Exp $ +# $NetBSD: Makefile,v 1.2 2007/06/17 15:24:32 joerg Exp $ # DISTNAME= polyglot_14 @@ -26,6 +26,18 @@ SUBST_STAGE.ini= post-configure SUBST_FILES.ini= fruit.ini SUBST_SED.ini= -e 's,@LOCALBASE@,${LOCALBASE},g' +SRCS= adapter.cpp attack.cpp board.cpp book.cpp book_make.cpp \ + book_merge.cpp colour.cpp engine.cpp epd.cpp fen.cpp \ + game.cpp hash.cpp io.cpp line.cpp list.cpp main.cpp \ + move.cpp move_do.cpp move_gen.cpp move_legal.cpp \ + option.cpp parse.cpp pgn.cpp piece.cpp posix.cpp \ + random.cpp san.cpp search.cpp square.cpp uci.cpp \ + util.cpp + +do-build: + cd ${WRKSRC}/src && \ + ${CXX} ${CXXFLAGS} ${LDFLAGS} -lm -o polyglot ${SRCS} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/polyglot ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/polyglot/ diff --git a/games/polyglot/files/Makefile b/games/polyglot/files/Makefile deleted file mode 100644 index 887ab5f6dae..00000000000 --- a/games/polyglot/files/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 20:06:07 rillig Exp $ -# - -PROG_CXX= polyglot -SRCS= adapter.cpp attack.cpp board.cpp book.cpp book_make.cpp \ - book_merge.cpp colour.cpp engine.cpp epd.cpp fen.cpp \ - game.cpp hash.cpp io.cpp line.cpp list.cpp main.cpp \ - move.cpp move_do.cpp move_gen.cpp move_legal.cpp \ - option.cpp parse.cpp pgn.cpp piece.cpp posix.cpp \ - random.cpp san.cpp search.cpp square.cpp uci.cpp \ - util.cpp -LDADD= -lm -NOMAN= yes - -.include -- cgit v1.2.3