Like fish, but different.
fish -o 3 -n 7 -d as -d ac 2d 4c 8s 9d th
Means, do the calculations based on 3 opponents ( the -o option)
in a 7 card game ( I am doing texas holdem )
with the ace of spades and ace of clubs as my hold cards.
with 2d 4c 8s 9d th on the board
This results in:
990 boards containing 8s 4c 9d 2d Th with As Ac removed
P(NoPair |3) : 72%
P(OnePair |3) : 87%
P(TwoPair |3) : 25%
P(Trips |3) : 4.5%
P(Straight|3) : 14%
P(Flush |3) : 0%
P(FlHouse |3) : 0%
P(Quads |3) : 0%
P(StFlush |3) : 0%
the probability that one of the your three opponents has
NoPair is 72%
One pair is 87%
TwoPair is 25%
Trips is 4.5%
Straight is 14%
Flush is 0%
FlHouse is 0%
Quads is 0%
StFlush is 0%
Attached to this email is the c code and the Makefile.
I had to modify the fish portion of the Makefile to use -lm or the math
library because I use the math function pow.
I would like to ask a few questions about enhancements to the program,
but that will be done in another email.
/*
* fish.h
* Copyright 1999 Brian Goetz
*
* An example program for the poker hand evaluation library.
* It is so named because it performs the same action as a program written
* by Roy Hashimoto a long time ago.
*
* Given a (possibly empty) set of input cards, a (possibly empty)
* set of dead cards, and the number of cards in a hand, this program
* computes the distribution of each type of possible hand type after
* exhaustively enumerating the set of possible hands which include the input
* cards and exclude the dead cards.
*
* This program gives you software freedom; you can copy, convey,
* propagate, redistribute and/or modify this program under the terms of
* the GNU General Public License (GPL) as published by the Free Software
* Foundation (FSF), either version 3 of the License, or (at your option)
* any later version of the GPL published by the FSF.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program in a file in the toplevel directory called "GPLv3".
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "poker_defs.h"
#include "inlines/eval_type.h"
#define d_flag 1 /* dead flag - 2 cards (my pocket cards) */
/* example: -d As Ks */
#define n_flag 2 /* number flag - number of cards in play
* examples: 2 - pre-flop
* 5 - after-flop
* 6 - turn
* 7 - river
*/
#define o_flag 3 /* opponent flag - number of opponents
* example: -o 2, -o 3, ... , -o 8
*
* this number referes to opponents and doesn't
* include you the player.
*/
#define b_flag 4 /* board flag - following cards are on the board
* example: -b Th Jh 3s
* example: -b Th Jh 3s 8c
* example: -b Th Jh 3s 8c Ac
*
* If the -b flag is not seen it indicates that no
* cards are on the board
*/
int gNCards, gNPegged, gNDead;
CardMask gDeadCards, gPeggedCards;
float opponents = 3.0;
static void
parseArgs(int argc, char **argv) {
int i, c;
int flag;
/* no flags set */
flag = 0;
for (i = 1; i < argc; ++i) {
if (argv[i][0] == '-') {
if (strcmp(argv[i], "-n") == 0) {
if (++i == argc) goto error;
flag = n_flag;
gNCards = atoi(argv[i]);
}
else if (strcmp(argv[i], "-o") == 0) {
if (++i == argc) goto error;
opponents = atoi(argv[i]);
}
else if (strcmp(argv[i], "-d") == 0) {
flag = d_flag;
if (++i == argc) goto error;
if (Deck_stringToCard(argv[i], &c) == 0)
goto error;
if (!CardMask_CARD_IS_SET(gDeadCards, c)) {
CardMask_SET(gDeadCards, c);
++gNDead;
}
}
else
goto error;
} else {
if (Deck_stringToCard(argv[i], &c) == 0)
goto error;
if (!CardMask_CARD_IS_SET(gPeggedCards, c)) {
CardMask_SET(gPeggedCards, c);
++gNPegged;
}
}
}
return;
error:
fprintf(stderr, "Usage: fish [ -o opponents ] [ -d dead-card ] [-n n_cards] [ cards ]\n");
exit(0);
}
uint32 totals[HandType_LAST+1];
static void dump_totals(void) {
int i;
int sum = 0;
float not_percent = 0.0;
/* sum up the totals for all types */
for (i = HandType_FIRST; i <= HandType_LAST; i++)
sum = sum + totals[i];
for (i = HandType_FIRST; i <= HandType_LAST; i++)
if ( totals[i] != -2 ) {
not_percent = pow( (1.0 - ((float) totals[i]) / (float) sum), opponents);
printf("P(%s|%d) : %.2g\%\n", \
handTypeNamesPadded[i], \
(int) opponents, \
100.0 * (1.0 - not_percent));
}
}
int
main(int argc, char **argv) {
CardMask hand, deadCards, cards;
int handtype, nHands=0;
gNCards = 7;
CardMask_RESET(gDeadCards);
CardMask_RESET(gPeggedCards);
parseArgs(argc, argv);
CardMask_OR(deadCards, gDeadCards, gPeggedCards);
/* We use the fast and small EVAL_TYPE evaluator, since we only care
about the hand type, not the particular cards. If we cared about the
individual cards, we'd use EVAL_N.
*/
ENUMERATE_N_CARDS_D(cards, (gNCards-gNPegged), deadCards,
{
CardMask_OR(hand, cards, gPeggedCards);
handtype = Hand_EVAL_TYPE(hand, gNCards);
++nHands;
++totals[handtype];
});
printf("%d boards", nHands);
if (gNPegged > 0)
printf(" containing %s ", Deck_maskString(gPeggedCards));
if (gNDead)
printf(" with %s removed ", Deck_maskString(gDeadCards));
printf("\n");
dump_totals();
return 0;
}
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# examples/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
srcdir = .
top_srcdir = ..
pkgdatadir = $(datadir)/poker-eval
pkglibdir = $(libdir)/poker-eval
pkgincludedir = $(includedir)/poker-eval
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
noinst_PROGRAMS = eval$(EXEEXT) fish$(EXEEXT) five_card_hands$(EXEEXT) \
hcmp2$(EXEEXT) hcmpn$(EXEEXT) pokenum$(EXEEXT) \
seven_card_hands$(EXEEXT) usedecks$(EXEEXT)
subdir = examples
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/ccache.m4 \
$(top_srcdir)/config/gcov.m4 $(top_srcdir)/config/libtool.m4 \
$(top_srcdir)/config/ltoptions.m4 \
$(top_srcdir)/config/ltsugar.m4 \
$(top_srcdir)/config/ltversion.m4 \
$(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/config.h \
$(top_builddir)/include/poker_config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(noinst_PROGRAMS)
am_eval_OBJECTS = eval-eval.$(OBJEXT)
eval_OBJECTS = $(am_eval_OBJECTS)
eval_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_fish_OBJECTS = fish-fish.$(OBJEXT)
fish_OBJECTS = $(am_fish_OBJECTS)
fish_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_five_card_hands_OBJECTS = \
five_card_hands-five_card_hands.$(OBJEXT)
five_card_hands_OBJECTS = $(am_five_card_hands_OBJECTS)
five_card_hands_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_hcmp2_OBJECTS = hcmp2-hcmp2.$(OBJEXT)
hcmp2_OBJECTS = $(am_hcmp2_OBJECTS)
hcmp2_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_hcmpn_OBJECTS = hcmpn-hcmpn.$(OBJEXT)
hcmpn_OBJECTS = $(am_hcmpn_OBJECTS)
hcmpn_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_pokenum_OBJECTS = pokenum-pokenum.$(OBJEXT)
pokenum_OBJECTS = $(am_pokenum_OBJECTS)
pokenum_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_seven_card_hands_OBJECTS = \
seven_card_hands-seven_card_hands.$(OBJEXT)
seven_card_hands_OBJECTS = $(am_seven_card_hands_OBJECTS)
seven_card_hands_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
am_usedecks_OBJECTS = usedecks-usedecks.$(OBJEXT)
usedecks_OBJECTS = $(am_usedecks_OBJECTS)
usedecks_DEPENDENCIES = $(top_builddir)/lib/libpoker-eval.la
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_builddir)/include
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(eval_SOURCES) $(fish_SOURCES) $(five_card_hands_SOURCES) \
$(hcmp2_SOURCES) $(hcmpn_SOURCES) $(pokenum_SOURCES) \
$(seven_card_hands_SOURCES) $(usedecks_SOURCES)
DIST_SOURCES = $(eval_SOURCES) $(fish_SOURCES) \
$(five_card_hands_SOURCES) $(hcmp2_SOURCES) $(hcmpn_SOURCES) \
$(pokenum_SOURCES) $(seven_card_hands_SOURCES) \
$(usedecks_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/elmer/poker-eval/config/missing --run aclocal-1.9
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /home/elmer/poker-eval/config/missing --run tar
AR = ar
AUTOCONF = ${SHELL} /home/elmer/poker-eval/config/missing --run autoconf
AUTOHEADER = ${SHELL} /home/elmer/poker-eval/config/missing --run autoheader
AUTOMAKE = ${SHELL} /home/elmer/poker-eval/config/missing --run automake-1.9
AWK = /usr/bin/awk
CC = gcc
CCACHE =
CCDEPMODE = depmode=gcc3
# CFLAGS = -g -O2
CFLAGS = -g
CPP = gcc -E
CPPFLAGS = -Wall -Wpointer-arith -Wstrict-prototypes
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DSYMUTIL =
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
FGREP = /bin/grep -F
GCOV = /usr/bin/gcov
GCOV_CPPFLAGS =
GCOV_FLAGS =
GCOV_LDFLAGS =
GREP = /bin/grep
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LD = /usr/bin/ld -m elf_x86_64
LDFLAGS =
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/elmer/poker-eval/config/missing --run makeinfo
MD5SUM = /usr/bin/md5sum
NM = /usr/bin/nm -B
NMEDIT =
OBJDUMP = objdump
OBJEXT = o
OTOOL =
OTOOL64 =
PACKAGE = poker-eval
PACKAGE_BUGREPORT =
PACKAGE_NAME = poker-eval
PACKAGE_STRING = poker-eval 137.0
PACKAGE_TARNAME = poker-eval
PACKAGE_URL =
PACKAGE_VERSION = 137.0
PATH_SEPARATOR = :
RANLIB = ranlib
SED = /bin/sed
SET_MAKE =
SHELL = /bin/bash
STRIP = strip
VALGRIND =
VERSION = 137.0
ac_ct_CC = gcc
ac_ct_DUMPBIN =
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE =
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = /home/elmer/poker-eval/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
lt_ECHO = echo
mandir = ${datarootdir}/man
mkdir_p = mkdir -p --
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target = x86_64-unknown-linux-gnu
target_alias =
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
#
# Copyright (C) 2004-2006 Mekensleep
#
# Mekensleep
# 24 rue vieille du temple
# 75004 Paris
# [email protected]
#
# This program gives you software freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU General Public License (GPL) as published by the Free Software
# Foundation (FSF), either version 3 of the License, or (at your option)
# any later version of the GPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program in a file in the toplevel directory called "GPLv3".
# If not, see <http://www.gnu.org/licenses/>.
#
# Authors:
# Loic Dachary <[email protected]>
#
#
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = -I$(top_srcdir)/include
EXTRA_DIST = utest1 getopt_w32.c getopt_w32.h $(wildcard *.vcproj)
eval_SOURCES = eval.c
eval_LDADD = $(top_builddir)/lib/libpoker-eval.la
eval_CPPFLAGS = ${GCOV_CPPFLAGS}
eval_LDFLAGS = ${GCOV_LDFLAGS}
fish_SOURCES = fish.c
fish_LDADD = $(top_builddir)/lib/libpoker-eval.la
fish_CPPFLAGS = ${GCOV_CPPFLAGS}
fish_LDFLAGS = ${GCOV_LDFLAGS}
five_card_hands_SOURCES = five_card_hands.c
five_card_hands_LDADD = $(top_builddir)/lib/libpoker-eval.la
five_card_hands_CPPFLAGS = ${GCOV_CPPFLAGS}
five_card_hands_LDFLAGS = ${GCOV_LDFLAGS}
hcmp2_SOURCES = hcmp2.c
hcmp2_LDADD = $(top_builddir)/lib/libpoker-eval.la
hcmp2_CPPFLAGS = ${GCOV_CPPFLAGS}
hcmp2_LDFLAGS = ${GCOV_LDFLAGS}
hcmpn_SOURCES = hcmpn.c
hcmpn_LDADD = $(top_builddir)/lib/libpoker-eval.la
hcmpn_CPPFLAGS = ${GCOV_CPPFLAGS}
hcmpn_LDFLAGS = ${GCOV_LDFLAGS}
pokenum_SOURCES = pokenum.c
pokenum_LDADD = $(top_builddir)/lib/libpoker-eval.la
pokenum_CPPFLAGS = ${GCOV_CPPFLAGS}
pokenum_LDFLAGS = ${GCOV_LDFLAGS}
seven_card_hands_SOURCES = seven_card_hands.c
seven_card_hands_LDADD = $(top_builddir)/lib/libpoker-eval.la
seven_card_hands_CPPFLAGS = ${GCOV_CPPFLAGS}
seven_card_hands_LDFLAGS = ${GCOV_LDFLAGS}
usedecks_SOURCES = usedecks.c
usedecks_LDADD = $(top_builddir)/lib/libpoker-eval.la
usedecks_CPPFLAGS = ${GCOV_CPPFLAGS}
usedecks_LDFLAGS = ${GCOV_LDFLAGS}
all: all-am
.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu examples/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
eval$(EXEEXT): $(eval_OBJECTS) $(eval_DEPENDENCIES)
@rm -f eval$(EXEEXT)
$(LINK) $(eval_LDFLAGS) $(eval_OBJECTS) $(eval_LDADD) $(LIBS)
fish$(EXEEXT): $(fish_OBJECTS) $(fish_DEPENDENCIES)
@rm -f fish$(EXEEXT)
$(LINK) $(fish_LDFLAGS) $(fish_OBJECTS) $(fish_LDADD) $(LIBS) -lm
five_card_hands$(EXEEXT): $(five_card_hands_OBJECTS) $(five_card_hands_DEPENDENCIES)
@rm -f five_card_hands$(EXEEXT)
$(LINK) $(five_card_hands_LDFLAGS) $(five_card_hands_OBJECTS) $(five_card_hands_LDADD) $(LIBS)
hcmp2$(EXEEXT): $(hcmp2_OBJECTS) $(hcmp2_DEPENDENCIES)
@rm -f hcmp2$(EXEEXT)
$(LINK) $(hcmp2_LDFLAGS) $(hcmp2_OBJECTS) $(hcmp2_LDADD) $(LIBS)
hcmpn$(EXEEXT): $(hcmpn_OBJECTS) $(hcmpn_DEPENDENCIES)
@rm -f hcmpn$(EXEEXT)
$(LINK) $(hcmpn_LDFLAGS) $(hcmpn_OBJECTS) $(hcmpn_LDADD) $(LIBS)
pokenum$(EXEEXT): $(pokenum_OBJECTS) $(pokenum_DEPENDENCIES)
@rm -f pokenum$(EXEEXT)
$(LINK) $(pokenum_LDFLAGS) $(pokenum_OBJECTS) $(pokenum_LDADD) $(LIBS)
seven_card_hands$(EXEEXT): $(seven_card_hands_OBJECTS) $(seven_card_hands_DEPENDENCIES)
@rm -f seven_card_hands$(EXEEXT)
$(LINK) $(seven_card_hands_LDFLAGS) $(seven_card_hands_OBJECTS) $(seven_card_hands_LDADD) $(LIBS)
usedecks$(EXEEXT): $(usedecks_OBJECTS) $(usedecks_DEPENDENCIES)
@rm -f usedecks$(EXEEXT)
$(LINK) $(usedecks_LDFLAGS) $(usedecks_OBJECTS) $(usedecks_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/eval-eval.Po
include ./$(DEPDIR)/fish-fish.Po
include ./$(DEPDIR)/five_card_hands-five_card_hands.Po
include ./$(DEPDIR)/hcmp2-hcmp2.Po
include ./$(DEPDIR)/hcmpn-hcmpn.Po
include ./$(DEPDIR)/pokenum-pokenum.Po
include ./$(DEPDIR)/seven_card_hands-seven_card_hands.Po
include ./$(DEPDIR)/usedecks-usedecks.Po
.c.o:
if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c $<
.c.obj:
if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(LTCOMPILE) -c -o $@ $<
eval-eval.o: eval.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eval_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eval-eval.o -MD -MP -MF "$(DEPDIR)/eval-eval.Tpo" -c -o eval-eval.o `test -f 'eval.c' || echo '$(srcdir)/'`eval.c; \
then mv -f "$(DEPDIR)/eval-eval.Tpo" "$(DEPDIR)/eval-eval.Po"; else rm -f "$(DEPDIR)/eval-eval.Tpo"; exit 1; fi
# source='eval.c' object='eval-eval.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eval_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eval-eval.o `test -f 'eval.c' || echo '$(srcdir)/'`eval.c
eval-eval.obj: eval.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eval_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eval-eval.obj -MD -MP -MF "$(DEPDIR)/eval-eval.Tpo" -c -o eval-eval.obj `if test -f 'eval.c'; then $(CYGPATH_W) 'eval.c'; else $(CYGPATH_W) '$(srcdir)/eval.c'; fi`; \
then mv -f "$(DEPDIR)/eval-eval.Tpo" "$(DEPDIR)/eval-eval.Po"; else rm -f "$(DEPDIR)/eval-eval.Tpo"; exit 1; fi
# source='eval.c' object='eval-eval.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eval_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eval-eval.obj `if test -f 'eval.c'; then $(CYGPATH_W) 'eval.c'; else $(CYGPATH_W) '$(srcdir)/eval.c'; fi`
fish-fish.o: fish.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fish_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT fish-fish.o -MD -MP -MF "$(DEPDIR)/fish-fish.Tpo" -c -o fish-fish.o `test -f 'fish.c' || echo '$(srcdir)/'`fish.c; \
then mv -f "$(DEPDIR)/fish-fish.Tpo" "$(DEPDIR)/fish-fish.Po"; else rm -f "$(DEPDIR)/fish-fish.Tpo"; exit 1; fi
# source='fish.c' object='fish-fish.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fish_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o fish-fish.o `test -f 'fish.c' || echo '$(srcdir)/'`fish.c
fish-fish.obj: fish.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fish_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT fish-fish.obj -MD -MP -MF "$(DEPDIR)/fish-fish.Tpo" -c -o fish-fish.obj `if test -f 'fish.c'; then $(CYGPATH_W) 'fish.c'; else $(CYGPATH_W) '$(srcdir)/fish.c'; fi`; \
then mv -f "$(DEPDIR)/fish-fish.Tpo" "$(DEPDIR)/fish-fish.Po"; else rm -f "$(DEPDIR)/fish-fish.Tpo"; exit 1; fi
# source='fish.c' object='fish-fish.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fish_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o fish-fish.obj `if test -f 'fish.c'; then $(CYGPATH_W) 'fish.c'; else $(CYGPATH_W) '$(srcdir)/fish.c'; fi`
five_card_hands-five_card_hands.o: five_card_hands.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(five_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT five_card_hands-five_card_hands.o -MD -MP -MF "$(DEPDIR)/five_card_hands-five_card_hands.Tpo" -c -o five_card_hands-five_card_hands.o `test -f 'five_card_hands.c' || echo '$(srcdir)/'`five_card_hands.c; \
then mv -f "$(DEPDIR)/five_card_hands-five_card_hands.Tpo" "$(DEPDIR)/five_card_hands-five_card_hands.Po"; else rm -f "$(DEPDIR)/five_card_hands-five_card_hands.Tpo"; exit 1; fi
# source='five_card_hands.c' object='five_card_hands-five_card_hands.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(five_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o five_card_hands-five_card_hands.o `test -f 'five_card_hands.c' || echo '$(srcdir)/'`five_card_hands.c
five_card_hands-five_card_hands.obj: five_card_hands.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(five_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT five_card_hands-five_card_hands.obj -MD -MP -MF "$(DEPDIR)/five_card_hands-five_card_hands.Tpo" -c -o five_card_hands-five_card_hands.obj `if test -f 'five_card_hands.c'; then $(CYGPATH_W) 'five_card_hands.c'; else $(CYGPATH_W) '$(srcdir)/five_card_hands.c'; fi`; \
then mv -f "$(DEPDIR)/five_card_hands-five_card_hands.Tpo" "$(DEPDIR)/five_card_hands-five_card_hands.Po"; else rm -f "$(DEPDIR)/five_card_hands-five_card_hands.Tpo"; exit 1; fi
# source='five_card_hands.c' object='five_card_hands-five_card_hands.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(five_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o five_card_hands-five_card_hands.obj `if test -f 'five_card_hands.c'; then $(CYGPATH_W) 'five_card_hands.c'; else $(CYGPATH_W) '$(srcdir)/five_card_hands.c'; fi`
hcmp2-hcmp2.o: hcmp2.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmp2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hcmp2-hcmp2.o -MD -MP -MF "$(DEPDIR)/hcmp2-hcmp2.Tpo" -c -o hcmp2-hcmp2.o `test -f 'hcmp2.c' || echo '$(srcdir)/'`hcmp2.c; \
then mv -f "$(DEPDIR)/hcmp2-hcmp2.Tpo" "$(DEPDIR)/hcmp2-hcmp2.Po"; else rm -f "$(DEPDIR)/hcmp2-hcmp2.Tpo"; exit 1; fi
# source='hcmp2.c' object='hcmp2-hcmp2.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmp2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hcmp2-hcmp2.o `test -f 'hcmp2.c' || echo '$(srcdir)/'`hcmp2.c
hcmp2-hcmp2.obj: hcmp2.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmp2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hcmp2-hcmp2.obj -MD -MP -MF "$(DEPDIR)/hcmp2-hcmp2.Tpo" -c -o hcmp2-hcmp2.obj `if test -f 'hcmp2.c'; then $(CYGPATH_W) 'hcmp2.c'; else $(CYGPATH_W) '$(srcdir)/hcmp2.c'; fi`; \
then mv -f "$(DEPDIR)/hcmp2-hcmp2.Tpo" "$(DEPDIR)/hcmp2-hcmp2.Po"; else rm -f "$(DEPDIR)/hcmp2-hcmp2.Tpo"; exit 1; fi
# source='hcmp2.c' object='hcmp2-hcmp2.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmp2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hcmp2-hcmp2.obj `if test -f 'hcmp2.c'; then $(CYGPATH_W) 'hcmp2.c'; else $(CYGPATH_W) '$(srcdir)/hcmp2.c'; fi`
hcmpn-hcmpn.o: hcmpn.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmpn_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hcmpn-hcmpn.o -MD -MP -MF "$(DEPDIR)/hcmpn-hcmpn.Tpo" -c -o hcmpn-hcmpn.o `test -f 'hcmpn.c' || echo '$(srcdir)/'`hcmpn.c; \
then mv -f "$(DEPDIR)/hcmpn-hcmpn.Tpo" "$(DEPDIR)/hcmpn-hcmpn.Po"; else rm -f "$(DEPDIR)/hcmpn-hcmpn.Tpo"; exit 1; fi
# source='hcmpn.c' object='hcmpn-hcmpn.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmpn_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hcmpn-hcmpn.o `test -f 'hcmpn.c' || echo '$(srcdir)/'`hcmpn.c
hcmpn-hcmpn.obj: hcmpn.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmpn_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hcmpn-hcmpn.obj -MD -MP -MF "$(DEPDIR)/hcmpn-hcmpn.Tpo" -c -o hcmpn-hcmpn.obj `if test -f 'hcmpn.c'; then $(CYGPATH_W) 'hcmpn.c'; else $(CYGPATH_W) '$(srcdir)/hcmpn.c'; fi`; \
then mv -f "$(DEPDIR)/hcmpn-hcmpn.Tpo" "$(DEPDIR)/hcmpn-hcmpn.Po"; else rm -f "$(DEPDIR)/hcmpn-hcmpn.Tpo"; exit 1; fi
# source='hcmpn.c' object='hcmpn-hcmpn.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hcmpn_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hcmpn-hcmpn.obj `if test -f 'hcmpn.c'; then $(CYGPATH_W) 'hcmpn.c'; else $(CYGPATH_W) '$(srcdir)/hcmpn.c'; fi`
pokenum-pokenum.o: pokenum.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pokenum_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pokenum-pokenum.o -MD -MP -MF "$(DEPDIR)/pokenum-pokenum.Tpo" -c -o pokenum-pokenum.o `test -f 'pokenum.c' || echo '$(srcdir)/'`pokenum.c; \
then mv -f "$(DEPDIR)/pokenum-pokenum.Tpo" "$(DEPDIR)/pokenum-pokenum.Po"; else rm -f "$(DEPDIR)/pokenum-pokenum.Tpo"; exit 1; fi
# source='pokenum.c' object='pokenum-pokenum.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pokenum_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pokenum-pokenum.o `test -f 'pokenum.c' || echo '$(srcdir)/'`pokenum.c
pokenum-pokenum.obj: pokenum.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pokenum_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pokenum-pokenum.obj -MD -MP -MF "$(DEPDIR)/pokenum-pokenum.Tpo" -c -o pokenum-pokenum.obj `if test -f 'pokenum.c'; then $(CYGPATH_W) 'pokenum.c'; else $(CYGPATH_W) '$(srcdir)/pokenum.c'; fi`; \
then mv -f "$(DEPDIR)/pokenum-pokenum.Tpo" "$(DEPDIR)/pokenum-pokenum.Po"; else rm -f "$(DEPDIR)/pokenum-pokenum.Tpo"; exit 1; fi
# source='pokenum.c' object='pokenum-pokenum.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pokenum_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pokenum-pokenum.obj `if test -f 'pokenum.c'; then $(CYGPATH_W) 'pokenum.c'; else $(CYGPATH_W) '$(srcdir)/pokenum.c'; fi`
seven_card_hands-seven_card_hands.o: seven_card_hands.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(seven_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT seven_card_hands-seven_card_hands.o -MD -MP -MF "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo" -c -o seven_card_hands-seven_card_hands.o `test -f 'seven_card_hands.c' || echo '$(srcdir)/'`seven_card_hands.c; \
then mv -f "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo" "$(DEPDIR)/seven_card_hands-seven_card_hands.Po"; else rm -f "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo"; exit 1; fi
# source='seven_card_hands.c' object='seven_card_hands-seven_card_hands.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(seven_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o seven_card_hands-seven_card_hands.o `test -f 'seven_card_hands.c' || echo '$(srcdir)/'`seven_card_hands.c
seven_card_hands-seven_card_hands.obj: seven_card_hands.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(seven_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT seven_card_hands-seven_card_hands.obj -MD -MP -MF "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo" -c -o seven_card_hands-seven_card_hands.obj `if test -f 'seven_card_hands.c'; then $(CYGPATH_W) 'seven_card_hands.c'; else $(CYGPATH_W) '$(srcdir)/seven_card_hands.c'; fi`; \
then mv -f "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo" "$(DEPDIR)/seven_card_hands-seven_card_hands.Po"; else rm -f "$(DEPDIR)/seven_card_hands-seven_card_hands.Tpo"; exit 1; fi
# source='seven_card_hands.c' object='seven_card_hands-seven_card_hands.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(seven_card_hands_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o seven_card_hands-seven_card_hands.obj `if test -f 'seven_card_hands.c'; then $(CYGPATH_W) 'seven_card_hands.c'; else $(CYGPATH_W) '$(srcdir)/seven_card_hands.c'; fi`
usedecks-usedecks.o: usedecks.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usedecks_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT usedecks-usedecks.o -MD -MP -MF "$(DEPDIR)/usedecks-usedecks.Tpo" -c -o usedecks-usedecks.o `test -f 'usedecks.c' || echo '$(srcdir)/'`usedecks.c; \
then mv -f "$(DEPDIR)/usedecks-usedecks.Tpo" "$(DEPDIR)/usedecks-usedecks.Po"; else rm -f "$(DEPDIR)/usedecks-usedecks.Tpo"; exit 1; fi
# source='usedecks.c' object='usedecks-usedecks.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usedecks_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o usedecks-usedecks.o `test -f 'usedecks.c' || echo '$(srcdir)/'`usedecks.c
usedecks-usedecks.obj: usedecks.c
if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usedecks_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT usedecks-usedecks.obj -MD -MP -MF "$(DEPDIR)/usedecks-usedecks.Tpo" -c -o usedecks-usedecks.obj `if test -f 'usedecks.c'; then $(CYGPATH_W) 'usedecks.c'; else $(CYGPATH_W) '$(srcdir)/usedecks.c'; fi`; \
then mv -f "$(DEPDIR)/usedecks-usedecks.Tpo" "$(DEPDIR)/usedecks-usedecks.Po"; else rm -f "$(DEPDIR)/usedecks-usedecks.Tpo"; exit 1; fi
# source='usedecks.c' object='usedecks-usedecks.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usedecks_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o usedecks-usedecks.obj `if test -f 'usedecks.c'; then $(CYGPATH_W) 'usedecks.c'; else $(CYGPATH_W) '$(srcdir)/usedecks.c'; fi`
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS)
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \
mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-info-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
clean-libtool clean-local clean-noinstPROGRAMS ctags distclean \
distclean-compile distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
pdf pdf-am ps ps-am tags uninstall uninstall-am \
uninstall-info-am
clean-local:
-rm -f *.gcov *.gcda *.gcno
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users