diff options
author | joerg <joerg> | 2007-06-17 15:24:32 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-06-17 15:24:32 +0000 |
commit | 9e9c7f230128bce6d2210a38e32d7a99106f61a7 (patch) | |
tree | e807b47eaba3569f89fb77df846e83f12fa16100 /games/polyglot | |
parent | 30eed91f3479a091aea8f6dee7e4b19ef819dc1b (diff) | |
download | pkgsrc-9e9c7f230128bce6d2210a38e32d7a99106f61a7.tar.gz |
bootstrap-mk-files doesn't know about PROG_CXX. Just build
the sources directly and drop separate Makefile.
Diffstat (limited to 'games/polyglot')
-rw-r--r-- | games/polyglot/Makefile | 14 | ||||
-rw-r--r-- | games/polyglot/files/Makefile | 15 |
2 files changed, 13 insertions, 16 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/ 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 <bsd.prog.mk> |