diff options
Diffstat (limited to 'games/polyglot/Makefile')
-rw-r--r-- | games/polyglot/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
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/ |