diff --git a/apps/plugins/puzzles/README.rockbox b/apps/plugins/puzzles/README.rockbox index e11025dbec..b0c54b287f 100644 --- a/apps/plugins/puzzles/README.rockbox +++ b/apps/plugins/puzzles/README.rockbox @@ -19,3 +19,10 @@ out how to do that with a wildcard or something. Kudos to Simon (duh), and Frank, for telling me about it. Franklin Wei (__builtin) + +April 2017: Changes made to move upstream sources to a separate +subdirectory, where they are completely unmodified from the +original. Updating the upstream version is now as simple as copying a +fresh set of sources to src/. Several hacks were used to accomplish +this: a global include specified on the command line, and a directory +of dummy header files. diff --git a/apps/plugins/puzzles/SOURCES b/apps/plugins/puzzles/SOURCES index 9c41a00358..1d58ff5723 100644 --- a/apps/plugins/puzzles/SOURCES +++ b/apps/plugins/puzzles/SOURCES @@ -1,26 +1,26 @@ rockbox.c rbwrappers.c - -combi.c -divvy.c -drawing.c -dsf.c -findloop.c -grid.c -latin.c -laydomino.c -loopgen.c -malloc.c -maxflow.c -midend.c -misc.c -penrose.c -printing.c -random.c -tdq.c -tree234.c -version.c +rbmalloc.c +src/combi.c +src/divvy.c +src/drawing.c +src/dsf.c +src/findloop.c +src/grid.c +src/latin.c +src/laydomino.c +src/loopgen.c +/*src/malloc.c*/ /* we have our own */ +src/maxflow.c +src/midend.c +src/misc.c +src/penrose.c +src/printing.c +src/random.c +src/tdq.c +src/tree234.c +src/version.c #ifdef COMBINED -list.c +src/list.c #endif diff --git a/apps/plugins/puzzles/SOURCES.games b/apps/plugins/puzzles/SOURCES.games index c14d15b9a1..5f8c58b477 100644 --- a/apps/plugins/puzzles/SOURCES.games +++ b/apps/plugins/puzzles/SOURCES.games @@ -1,51 +1,51 @@ -blackbox.c -bridges.c -cube.c -dominosa.c -fifteen.c -/*filling.c*/ -flip.c -flood.c -galaxies.c -guess.c -inertia.c -/*keen.c*/ -lightup.c -/*loopy.c*/ -magnets.c -map.c -/*mines.c*/ -net.c -netslide.c -/*palisade.c*/ -pattern.c -pegs.c -range.c -rect.c -samegame.c -signpost.c -singles.c -sixteen.c -slant.c -/*solo.c*/ -tents.c -/*towers.c*/ -tracks.c -twiddle.c -/*undead.c*/ -/*unequal.c*/ -unruly.c -untangle.c +src/blackbox.c +src/bridges.c +src/cube.c +src/dominosa.c +src/fifteen.c +/*src/filling.c*/ +src/flip.c +src/flood.c +src/galaxies.c +src/guess.c +src/inertia.c +/*src/keen.c*/ +src/lightup.c +/*src/loopy.c*/ +src/magnets.c +src/map.c +/*src/mines.c*/ +src/net.c +src/netslide.c +/*src/palisade.c*/ +src/pattern.c +src/pegs.c +src/range.c +src/rect.c +src/samegame.c +src/signpost.c +src/singles.c +src/sixteen.c +src/slant.c +/*src/solo.c*/ +src/tents.c +/*src/towers.c*/ +src/tracks.c +src/twiddle.c +/*src/undead.c*/ +/*src/unequal.c*/ +src/unruly.c +src/untangle.c /* disabled for now */ -/*unfinished/group.c*/ -/*unfinished/separate.c*/ -/*unfinished/slide.c*/ -/*unfinished/sokoban.c*/ +/*src/unfinished/group.c*/ +/*src/unfinished/separate.c*/ +/*src/unfinished/slide.c*/ +/*src/unfinished/sokoban.c*/ /* no c200v2 */ #if PLUGIN_BUFFER_SIZE > 0x14000 -pearl.c -/*loopy.c*/ -/*solo.c*/ +src/pearl.c +/*src/loopy.c*/ +/*src/solo.c*/ #endif diff --git a/apps/plugins/puzzles/dummy/assert.h b/apps/plugins/puzzles/dummy/assert.h new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/apps/plugins/puzzles/dummy/assert.h @@ -0,0 +1 @@ + diff --git a/apps/plugins/puzzles/dummy/math.h b/apps/plugins/puzzles/dummy/math.h new file mode 100644 index 0000000000..e69de29bb2 diff --git a/apps/plugins/puzzles/dummy/stdlib.h b/apps/plugins/puzzles/dummy/stdlib.h new file mode 100644 index 0000000000..e69de29bb2 diff --git a/apps/plugins/puzzles/html/jspage.pl b/apps/plugins/puzzles/html/jspage.pl deleted file mode 100755 index 19868bd948..0000000000 --- a/apps/plugins/puzzles/html/jspage.pl +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -open my $footerfile, "<", shift @ARGV or die "footer: open: $!\n"; -my $footer = ""; -$footer .= $_ while <$footerfile>; -close $footerfile; - -for my $arg (@ARGV) { - $arg =~ /(.*\/)?([^\/]+)\.html$/ or die; - my $filename = $2; - open my $gamefile, "<", $arg or die "$arg: open: $!\n"; - my $unfinished = 0; - my $docname = $filename; - chomp(my $puzzlename = <$gamefile>); - while ($puzzlename =~ s/^([^:=]+)(=([^:]+))?://) { - if ($1 eq "unfinished") { - $unfinished = 1; - } elsif ($1 eq "docname") { - $docname = $3; - } else { - die "$arg: unknown keyword '$1'\n"; - } - } - my $instructions = ""; - $instructions .= $_ while <$gamefile>; - close $gamefile; - - open my $outpage, ">", "${filename}.html"; - - my $unfinishedtitlefragment = $unfinished ? "an unfinished puzzle " : ""; - my $unfinishedheading = $unfinished ? "

an unfinished puzzle

\n" : ""; - my $unfinishedpara; - my $links; - if ($unfinished) { - $unfinishedpara = < -You have found your way to a page containing an unfinished -puzzle in my collection, not linked from the main -puzzles page. Don't be surprised if things are hard to understand -or don't work as you expect. -EOF - $links = < -Back to main puzzles page (which does not link to this) -EOF - } else { - $unfinishedpara = ""; - $links = < -Full instructions -| -Back to main puzzles page -EOF - } - - print $outpage < - - - -${puzzlename}, ${unfinishedtitlefragment}from Simon Tatham's Portable Puzzle Collection - - - -

${puzzlename}

-${unfinishedheading} -

from Simon Tatham's Portable Puzzle Collection

- -${unfinishedpara} - -
- -
-Sorry, this Javascript puzzle doesn't seem to work in your web -browser. Perhaps you have Javascript disabled, or perhaps your browser -doesn't provide a feature that the puzzle code requires (such as -typed arrays). -These puzzles have been successfully run in Firefox 19, Chrome 26, -Internet Explorer 10 and Safari 6. -
-
- -${instructions} - -${links} - -${footer} - - -EOF - - close $outpage; -} diff --git a/apps/plugins/puzzles/keymaps.h b/apps/plugins/puzzles/keymaps.h deleted file mode 100644 index 651ecca250..0000000000 --- a/apps/plugins/puzzles/keymaps.h +++ /dev/null @@ -1,206 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2014 Franklin Wei, Benjamin Brown - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ***************************************************************************/ - -#ifndef _XWORLD_KEYMAPS_H -#define _XWORLD_KEYMAPS_H - -/* Handle the "nice" targets that have directional buttons with normal names */ -#if (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \ - (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \ - (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \ - (CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD) || \ - (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) || \ - (CONFIG_KEYPAD == SANSA_CONNECT_PAD) || \ - (CONFIG_KEYPAD == SANSA_C200_PAD) || \ - (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ - (CONFIG_KEYPAD == SANSA_E200_PAD) || \ - (CONFIG_KEYPAD == SANSA_FUZE_PAD) || \ - (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) || \ - (CONFIG_KEYPAD == GIGABEAT_PAD) || \ - (CONFIG_KEYPAD == GIGABEAT_S_PAD) || \ - (CONFIG_KEYPAD == SAMSUNG_YH92X_PAD) || \ - (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ - (CONFIG_KEYPAD == IAUDIO_X5M5_PAD) || \ - (CONFIG_KEYPAD == CREATIVE_ZEN_PAD) || \ - (CONFIG_KEYPAD == SONY_NWZ_PAD) || \ - (CONFIG_KEYPAD == CREATIVEZVM_PAD) || \ - (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \ - (CONFIG_KEYPAD == IRIVER_H300_PAD) || \ - (CONFIG_KEYPAD == HM801_PAD) || \ - (CONFIG_KEYPAD == HM60X_PAD) -#define BTN_UP BUTTON_UP -#define BTN_DOWN BUTTON_DOWN -#define BTN_LEFT BUTTON_LEFT -#define BTN_RIGHT BUTTON_RIGHT - -#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) -#define BTN_UP_LEFT BUTTON_BACK -#define BTN_UP_RIGHT BUTTON_PLAYPAUSE -#define BTN_DOWN_LEFT BUTTON_BOTTOMLEFT -#define BTN_DOWN_RIGHT BUTTON_BOTTOMRIGHT -#endif - -#if (CONFIG_KEYPAD == HM60X_PAD) -#define BTN_FIRE BUTTON_POWER -#define BTN_PAUSE BUTTON_SELECT -#endif - -#if (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \ - (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \ - (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \ - (CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD) || \ - (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) || \ - (CONFIG_KEYPAD == SANSA_CONNECT_PAD) || \ - (CONFIG_KEYPAD == SANSA_C200_PAD) || \ - (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) || \ - (CONFIG_KEYPAD == ONDAVX747_PAD) -#define BTN_FIRE BUTTON_VOL_UP -#define BTN_PAUSE BUTTON_VOL_DOWN - -#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD) -#define BTN_FIRE BUTTON_HOME -#define BTN_PAUSE BUTTON_SELECT - -#elif (CONFIG_KEYPAD == SAMSUNG_YH92X_PAD) -#define BTN_FIRE BUTTON_FFWD -#define BTN_PAUSE BUTTON_REW - -#elif (CONFIG_KEYPAD == SANSA_E200_PAD) -#define BTN_FIRE BUTTON_REC -#define BTN_PAUSE BUTTON_POWER - -#elif (CONFIG_KEYPAD == SANSA_CLIP_PAD) -#define BTN_FIRE BUTTON_SELECT -#define BTN_PAUSE BUTTON_POWER - -#elif (CONFIG_KEYPAD == CREATIVE_ZEN_PAD) -#define BTN_FIRE BUTTON_SELECT -#define BTN_PAUSE BUTTON_BACK - -#elif (CONFIG_KEYPAD == CREATIVEZVM_PAD) -#define BTN_FIRE BUTTON_PLAY -#define BTN_PAUSE BUTTON_MENU - -#elif (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) -#define BTN_FIRE BUTTON_USER -#define BTN_PAUSE BUTTON_MENU - -#elif (CONFIG_KEYPAD == SONY_NWZ_PAD) -#define BTN_FIRE BUTTON_PLAY -#define BTN_PAUSE BUTTON_BACK - -#elif (CONFIG_KEYPAD == IRIVER_H300_PAD) -#define BTN_FIRE BUTTON_REC -#define BTN_PAUSE BUTTON_MODE - -#elif (CONFIG_KEYPAD == HM801_PAD) -#define BTN_FIRE BUTTON_PREV -#define BTN_PAUSE BUTTON_NEXT - -#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ - (CONFIG_KEYPAD == IAUDIO_X5M5_PAD) -#define BTN_FIRE BUTTON_REC -#define BTN_PAUSE BUTTON_PLAY - -#elif (CONFIG_KEYPAD == GIGABEAT_PAD) || \ - (CONFIG_KEYPAD == GIGABEAT_S_PAD) -#define BTN_FIRE BUTTON_VOL_UP -#define BTN_PAUSE BUTTON_MENU -/* #if CONFIG_KEYPAD == PHILIPS_HDD1630_PAD */ -#endif - -/* ... and now for the bad ones that don't have - * standard names for the directional buttons */ -#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD) -#define BTN_UP BUTTON_OK -#define BTN_DOWN BUTTON_CANCEL -#define BTN_LEFT BUTTON_MENU -#define BTN_RIGHT BUTTON_PLAY -#define BTN_FIRE BUTTON_POWER -#define BTN_PAUSE BUTTON_REC - -#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) -#define BTN_UP BUTTON_SCROLL_UP -#define BTN_DOWN BUTTON_SCROLL_DOWN -#define BTN_LEFT BUTTON_LEFT -#define BTN_RIGHT BUTTON_RIGHT -#define BTN_FIRE BUTTON_REW -#define BTN_PAUSE BUTTON_PLAY - -#elif (CONFIG_KEYPAD == MROBE500_PAD) -#define BTN_FIRE BUTTON_POWER - -#elif (CONFIG_KEYPAD == MROBE_REMOTE) -#define BTN_UP BUTTON_RC_PLAY -#define BTN_DOWN BUTTON_RC_DOWN -#define BTN_LEFT BUTTON_RC_REW -#define BTN_RIGHT BUTTON_RC_FF - -#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ - (CONFIG_KEYPAD == IPOD_3G_PAD) || \ - (CONFIG_KEYPAD == IPOD_1G2G_PAD) -#define BTN_UP BUTTON_MENU -#define BTN_DOWN BUTTON_PLAY -#define BTN_LEFT BUTTON_LEFT -#define BTN_RIGHT BUTTON_RIGHT -#define BTN_FIRE BUTTON_SELECT -#define BTN_PAUSE (BUTTON_MENU | BUTTON_SELECT) - -#elif (CONFIG_KEYPAD == ONDAVX777_PAD) -#define BTN_FIRE BUTTON_POWER - -#elif (CONFIG_KEYPAD == COWON_D2_PAD) -#define BTN_FIRE BUTTON_PLUS -#define BTN_PAUSE BUTTON_MINUS - -#elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \ - (CONFIG_KEYPAD == DX50_PAD) -#define BTN_LEFT BUTTON_LEFT -#define BTN_RIGHT BUTTON_RIGHT -#define BTN_FIRE BUTTON_BOTTOMLEFT -#define BTN_PAUSE BUTTON_TOPLEFT - -#else -#error Unsupported keypad -#endif - -#ifdef HAVE_TOUCHSCREEN -#define BTN_UP BUTTON_TOPMIDDLE -#define BTN_DOWN BUTTON_BOTTOMMIDDLE -#define BTN_LEFT BUTTON_LEFT -#define BTN_RIGHT BUTTON_RIGHT - -#if (CONFIG_KEYPAD == MROBE500_PAD) || \ - (CONFIG_KEYPAD == ONDAVX777_PAD) -#define BTN_PAUSE BUTTON_BOTTOMLEFT - -#elif (CONFIG_KEYPAD != COWON_D2_PAD) && \ - (CONFIG_KEYPAD != DX50_PAD) && \ - (CONFIG_KEYPAD != ONDAVX777_PAD) -#define BTN_FIRE BUTTON_BOTTOMLEFT -#define BTN_PAUSE BUTTON_TOPLEFT -#endif - -/* HAVE_TOUCHSCREEN */ -#endif - -/* _XWORLD_KEYMAPS_H */ -#endif diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make index 8780986a51..87e113efa9 100644 --- a/apps/plugins/puzzles/puzzles.make +++ b/apps/plugins/puzzles/puzzles.make @@ -48,9 +48,11 @@ PUZZLESOPTIMIZE := -Os # tiny plugin buffer endif # we suppress all warnings -PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \ - -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \ - -DFOR_REAL -I$(PUZZLES_SRCDIR) +PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \ + $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \ + -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing \ + -DFOR_REAL -I$(PUZZLES_SRCDIR)/src \ + -include $(PUZZLES_SRCDIR)/rbcompat.h ifdef PUZZLES_COMBINED PUZZLESFLAGS += -DCOMBINED endif @@ -71,11 +73,11 @@ $(PUZZLES_OBJDIR)/puzzles.ovl: $(PUZZLES_OBJ) $(PUZZLES_OUTLDS) $(TLSFLIB) -lgcc $(PUZZLES_OVLFLAGS) $(call PRINTS,LD $(@F))$(call objcopy,$(basename $@).elf,$@) else -$(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB) +$(PUZZLES_OBJDIR)/sgt-%.rock: $(PUZZLES_OBJDIR)/src/%.o $(PUZZLES_SHARED_OBJ) $(TLSFLIB) $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o $(PUZZLES_OBJDIR)/$*.elf \ $(filter %.o, $^) \ $(filter %.a, $+) \ - -lgcc $(filter-out -Wl%.map, $(PLUGINLDFLAGS)) -Wl,-Map,$(PUZZLES_OBJDIR)/$*.map + -lgcc $(filter-out -Wl%.map, $(PLUGINLDFLAGS)) -Wl,-Map,$(PUZZLES_OBJDIR)/src/$*.map $(SILENT)$(call objcopy,$(PUZZLES_OBJDIR)/$*.elf,$@) endif @@ -87,3 +89,7 @@ $(PUZZLES_OBJDIR)/%.o: $(PUZZLES_SRCDIR)/%.c $(PUZZLES_SRCDIR)/puzzles.make $(PUZZLES_OBJDIR)/unfinished/%.o: $(PUZZLES_SRCDIR)/unfinished/%.c $(PUZZLES_SRCDIR)/puzzles.make $(SILENT)mkdir -p $(dir $@) $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@ + +$(PUZZLES_OBJDIR)/src/%.o: $(PUZZLES_SRCDIR)/src/%.c $(PUZZLES_SRCDIR)/puzzles.make + $(SILENT)mkdir -p $(dir $@) + $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PUZZLESFLAGS) -c $< -o $@ diff --git a/apps/plugins/puzzles/rbcompat.h b/apps/plugins/puzzles/rbcompat.h index 148aaef073..4bb9f39ca7 100644 --- a/apps/plugins/puzzles/rbcompat.h +++ b/apps/plugins/puzzles/rbcompat.h @@ -1,5 +1,11 @@ +#ifndef __RBCOMPAT_H__ +#define __RBCOMPAT_H__ + #include "plugin.h" #include "rbassert.h" +#include "lib/pluginlib_exit.h" + +#include int sprintf_wrapper(char *str, const char *fmt, ...); char *getenv_wrapper(const char *c); @@ -60,3 +66,9 @@ double acos_wrapper(double x); #define strtoq strtoq_wrapper #define strtouq strtouq_wrapper #define vsprintf vsprintf_wrapper + +#define abs(x) ((x)<0?-(x):(x)) + +/* work around compilation error */ +typedef void FILE; +#endif diff --git a/apps/plugins/puzzles/malloc.c b/apps/plugins/puzzles/rbmalloc.c similarity index 98% rename from apps/plugins/puzzles/malloc.c rename to apps/plugins/puzzles/rbmalloc.c index 47a7137459..5bf914ff87 100644 --- a/apps/plugins/puzzles/malloc.c +++ b/apps/plugins/puzzles/rbmalloc.c @@ -4,7 +4,7 @@ #include #include -#include "puzzles.h" +#include "src/puzzles.h" /* * smalloc should guarantee to return a useful pointer - Halibut diff --git a/apps/plugins/puzzles/rbwrappers.c b/apps/plugins/puzzles/rbwrappers.c index e595cf93d1..4fbfdc4e60 100644 --- a/apps/plugins/puzzles/rbwrappers.c +++ b/apps/plugins/puzzles/rbwrappers.c @@ -1346,9 +1346,12 @@ double scalbn_wrapper (double x, int n) if (k > 0) /* normal result */ {__HI(x) = (hx&0x800fffff)|(k<<20); return x;} if (k <= -54) + { if (n > 50000) /* in case integer overflow in n+k */ return huge*copysign_wrapper(huge,x); /*overflow*/ - else return tiny*copysign_wrapper(tiny,x); /*underflow*/ + else + return tiny*copysign_wrapper(tiny,x); /*underflow*/ + } k += 54; /* subnormal result */ __HI(x) = (hx&0x800fffff)|(k<<20); return x*twom54; @@ -1607,18 +1610,6 @@ static void bcopy_wrapper(const void *src, void *dst, size_t n) memmove(dst, src, n); } -int -sscanf_wrapper(const char *ibuf, const char *fmt, ...) -{ - va_list ap; - int ret; - - va_start(ap, fmt); - ret = rb_vsscanf(ibuf, fmt, ap); - va_end(ap); - return(ret); -} - int rb_vsscanf(const char *inp, char const *fmt0, va_list ap) { @@ -2065,6 +2056,18 @@ match_failure: return (nassigned); } +int +sscanf_wrapper(const char *ibuf, const char *fmt, ...) +{ + va_list ap; + int ret; + + va_start(ap, fmt); + ret = rb_vsscanf(ibuf, fmt, ap); + va_end(ap); + return(ret); +} + /* * Fill in the given table from the scanset at the given format * (just after `['). Return a pointer to the character past the diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index 077d5f8fe2..54d24b065b 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c @@ -23,8 +23,8 @@ #include "plugin.h" -#include "puzzles.h" -#include "keymaps.h" +#include "src/puzzles.h" +#include "src/keymaps.h" #ifndef COMBINED #include "lib/playback_control.h" @@ -315,6 +315,7 @@ static void rb_draw_line(void *handle, int x1, int y1, int x2, int y2, draw_antialiased_line(x1, y1, x2, y2); } +#if 0 /* * draw filled polygon * originally by Sebastian Leonhardt (ulmutul) @@ -409,6 +410,7 @@ static void v_fillarea(int count, int *pxy) fill_poly_line(i, count, pxy); } } +#endif static void rb_draw_poly(void *handle, int *coords, int npoints, int fillcolor, int outlinecolor) @@ -916,7 +918,7 @@ static bool config_menu(void) config_item old; int pos = rb->gui_synclist_get_sel_pos(&list); memcpy(&old, config + pos, sizeof(old)); - char *old_str; + char *old_str = NULL; if(old.type == C_STRING) old_str = dupstr(old.sval); bool freed_str = do_configure_item(config + pos); @@ -928,13 +930,13 @@ static bool config_menu(void) if(freed_str) config[pos].sval = old_str; } - else if(old.type == C_STRING) - { - /* success, and we duplicated the old string, so free it */ - sfree(old_str); - } else { + if(old.type == C_STRING) + { + /* success, and we duplicated the old string, so free it */ + sfree(old_str); + } success = true; } break; @@ -956,33 +958,29 @@ done: const char *preset_formatter(int sel, void *data, char *buf, size_t len) { - char *name; - game_params *junk; - midend_fetch_preset(me, sel, &name, &junk); - rb->strlcpy(buf, name, len); + struct preset_menu *menu = data; + rb->snprintf(buf, len, "%s", menu->entries[sel].title); return buf; } -static bool presets_menu(void) +/* main worker function */ +static bool do_preset_menu(struct preset_menu *menu, char *title) { - if(!midend_num_presets(me)) - { - rb->splash(HZ, "No presets!"); + if(!menu->n_entries) return false; - } /* display a list */ struct gui_synclist list; - rb->gui_synclist_init(&list, &preset_formatter, NULL, false, 1, NULL); + rb->gui_synclist_init(&list, &preset_formatter, menu, false, 1, NULL); rb->gui_synclist_set_icon_callback(&list, NULL); - rb->gui_synclist_set_nb_items(&list, midend_num_presets(me)); + rb->gui_synclist_set_nb_items(&list, menu->n_entries); rb->gui_synclist_limit_scroll(&list, false); - int current = midend_which_preset(me); - rb->gui_synclist_select_item(&list, current >= 0 ? current : 0); + rb->gui_synclist_select_item(&list, 0); /* we don't start with the current one selected */ - rb->gui_synclist_set_title(&list, "Game Type", NOICON); + char def[] = "Game Type"; + rb->gui_synclist_set_title(&list, title ? title : def, NOICON); while(1) { rb->gui_synclist_draw(&list); @@ -994,11 +992,19 @@ static bool presets_menu(void) case ACTION_STD_OK: { int sel = rb->gui_synclist_get_sel_pos(&list); - char *junk; - game_params *params; - midend_fetch_preset(me, sel, &junk, ¶ms); - midend_set_params(me, params); - return true; + struct preset_menu_entry *entry = menu->entries + sel; + if(entry->params) + { + midend_set_params(me, entry->params); + return true; + } + else + { + /* recurse */ + if(do_preset_menu(entry->submenu, entry->title)) + return true; + } + break; } case ACTION_STD_PREV: case ACTION_STD_CANCEL: @@ -1009,6 +1015,11 @@ static bool presets_menu(void) } } +static bool presets_menu(void) +{ + return do_preset_menu(midend_get_presets(me, NULL), NULL); +} + static const struct { const char *game, *help; } quick_help_text[] = { @@ -1212,7 +1223,7 @@ static int pausemenu_cb(int action, const struct menu_item_ex *this_item) return ACTION_EXIT_MENUITEM; #endif case 9: - if(!midend_num_presets(me)) + if(!midend_get_presets(me, NULL)->n_entries) return ACTION_EXIT_MENUITEM; break; case 10: @@ -1808,7 +1819,7 @@ static int mainmenu_cb(int action, const struct menu_item_ex *this_item) return ACTION_EXIT_MENUITEM; #endif case 5: - if(!midend_num_presets(me)) + if(!midend_get_presets(me, NULL)->n_entries) return ACTION_EXIT_MENUITEM; break; case 6: diff --git a/apps/plugins/puzzles/Buildscr b/apps/plugins/puzzles/src/Buildscr similarity index 100% rename from apps/plugins/puzzles/Buildscr rename to apps/plugins/puzzles/src/Buildscr diff --git a/apps/plugins/puzzles/CHECKLST.txt b/apps/plugins/puzzles/src/CHECKLST.txt similarity index 100% rename from apps/plugins/puzzles/CHECKLST.txt rename to apps/plugins/puzzles/src/CHECKLST.txt diff --git a/apps/plugins/puzzles/LICENCE b/apps/plugins/puzzles/src/LICENCE similarity index 100% rename from apps/plugins/puzzles/LICENCE rename to apps/plugins/puzzles/src/LICENCE diff --git a/apps/plugins/puzzles/src/Makefile b/apps/plugins/puzzles/src/Makefile new file mode 100644 index 0000000000..09acd2dd39 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile @@ -0,0 +1,727 @@ +# Makefile for puzzles under X/GTK and Unix. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# You can define this path to point at your tools if you need to +# TOOLPATH = /opt/gcc/bin +CC := $(TOOLPATH)$(CC) +# You can manually set this to `gtk-config' or `pkg-config gtk+-1.2' +# (depending on what works on your system) if you want to enforce +# building with GTK 1.2, or you can set it to `pkg-config gtk+-2.0' +# if you want to enforce 2.0. The default is to try 2.0 and fall back +# to 1.2 if it isn't found. +GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 $$0 2>/dev/null || gtk-config $$0' + +CFLAGS := -O2 -Wall -ansi -pedantic -g -I./ -Iicons/ `$(GTK_CONFIG) \ + --cflags` $(CFLAGS) +XLIBS = `$(GTK_CONFIG) --libs` -lm +ULIBS = -lm# +INSTALL=install +INSTALL_PROGRAM=$(INSTALL) +INSTALL_DATA=$(INSTALL) +prefix=/usr/local +exec_prefix=$(prefix) +bindir=$(exec_prefix)/bin +gamesdir=$(exec_prefix)/games +mandir=$(prefix)/man +man1dir=$(mandir)/man1 + +all: $(BINPREFIX)blackbox $(BINPREFIX)bridges $(BINPREFIX)cube \ + $(BINPREFIX)dominosa $(BINPREFIX)fifteen \ + $(BINPREFIX)fifteensolver $(BINPREFIX)filling \ + $(BINPREFIX)fillingsolver $(BINPREFIX)flip $(BINPREFIX)flood \ + $(BINPREFIX)galaxies $(BINPREFIX)galaxiespicture \ + $(BINPREFIX)galaxiessolver $(BINPREFIX)guess \ + $(BINPREFIX)inertia $(BINPREFIX)keen $(BINPREFIX)keensolver \ + $(BINPREFIX)latincheck $(BINPREFIX)lightup \ + $(BINPREFIX)lightupsolver $(BINPREFIX)loopy \ + $(BINPREFIX)loopysolver $(BINPREFIX)magnets \ + $(BINPREFIX)magnetssolver $(BINPREFIX)map \ + $(BINPREFIX)mapsolver $(BINPREFIX)mineobfusc \ + $(BINPREFIX)mines $(BINPREFIX)net $(BINPREFIX)netslide \ + $(BINPREFIX)nullgame $(BINPREFIX)obfusc $(BINPREFIX)palisade \ + $(BINPREFIX)pattern $(BINPREFIX)patternpicture \ + $(BINPREFIX)patternsolver $(BINPREFIX)pearl \ + $(BINPREFIX)pearlbench $(BINPREFIX)pegs $(BINPREFIX)range \ + $(BINPREFIX)rect $(BINPREFIX)samegame $(BINPREFIX)signpost \ + $(BINPREFIX)signpostsolver $(BINPREFIX)singles \ + $(BINPREFIX)singlessolver $(BINPREFIX)sixteen \ + $(BINPREFIX)slant $(BINPREFIX)slantsolver $(BINPREFIX)solo \ + $(BINPREFIX)solosolver $(BINPREFIX)tents \ + $(BINPREFIX)tentssolver $(BINPREFIX)towers \ + $(BINPREFIX)towerssolver $(BINPREFIX)tracks \ + $(BINPREFIX)twiddle $(BINPREFIX)undead $(BINPREFIX)unequal \ + $(BINPREFIX)unequalsolver $(BINPREFIX)unruly \ + $(BINPREFIX)unrulysolver $(BINPREFIX)untangle + +$(BINPREFIX)blackbox: blackbox.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ blackbox.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)bridges: bridges.o drawing.o dsf.o findloop.o gtk.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ bridges.o drawing.o dsf.o findloop.o gtk.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)cube: cube.o drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o version.o + $(CC) -o $@ cube.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)dominosa: dominosa.o drawing.o gtk.o laydomino.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ dominosa.o drawing.o gtk.o laydomino.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)fifteen: drawing.o fifteen.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o fifteen.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)fifteensolver: fifteen2.o malloc.o misc.o nullfe.o random.o + $(CC) -o $@ fifteen2.o malloc.o misc.o nullfe.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)filling: drawing.o dsf.o filling.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o filling.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)fillingsolver: dsf.o filling2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o filling2.o malloc.o misc.o nullfe.o random.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)flip: drawing.o flip.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o flip.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)flood: drawing.o flood.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o flood.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)galaxies: drawing.o dsf.o galaxies.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o galaxies.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)galaxiespicture: dsf.o galaxie4.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o galaxie4.o malloc.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)galaxiessolver: dsf.o galaxie2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o galaxie2.o malloc.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)guess: drawing.o gtk.o guess.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o guess.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)inertia: drawing.o gtk.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)keen: drawing.o dsf.o gtk.o keen.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o + $(CC) -o $@ drawing.o dsf.o gtk.o keen.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)keensolver: dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o \ + nullfe.o random.o tree234.o + $(CC) -o $@ dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o \ + nullfe.o random.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)latincheck: latin8.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o + $(CC) -o $@ latin8.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)lightup: combi.o drawing.o gtk.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ combi.o drawing.o gtk.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)lightupsolver: combi.o lightup2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ combi.o lightup2.o malloc.o misc.o nullfe.o random.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)loopy: drawing.o dsf.o grid.o gtk.o loopgen.o loopy.o malloc.o \ + midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o \ + tree234.o version.o + $(CC) -o $@ drawing.o dsf.o grid.o gtk.o loopgen.o loopy.o malloc.o \ + midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o \ + tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)loopysolver: dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o \ + nullfe.o penrose.o random.o tree234.o + $(CC) -o $@ dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o nullfe.o \ + penrose.o random.o tree234.o -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)magnets: drawing.o gtk.o laydomino.o magnets.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o laydomino.o magnets.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)magnetssolver: laydomino.o magnets2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ laydomino.o magnets2.o malloc.o misc.o nullfe.o random.o \ + -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)map: drawing.o dsf.o gtk.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)mapsolver: dsf.o malloc.o map2.o misc.o nullfe.o random.o + $(CC) -o $@ dsf.o malloc.o map2.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)mineobfusc: malloc.o mines2.o misc.o nullfe.o random.o tree234.o + $(CC) -o $@ malloc.o mines2.o misc.o nullfe.o random.o tree234.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)mines: drawing.o gtk.o malloc.o midend.o mines.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o mines.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)net: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o misc.o \ + net.o no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o net.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)netslide: drawing.o gtk.o malloc.o midend.o misc.o netslide.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o netslide.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)nullgame: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)obfusc: malloc.o misc.o nullfe.o obfusc.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o obfusc.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)palisade: divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o palisade.o printing.o ps.o random.o version.o + $(CC) -o $@ divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o palisade.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)pattern: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)patternpicture: malloc.o misc.o nullfe.o pattern4.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o pattern4.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)patternsolver: malloc.o misc.o nullfe.o pattern2.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o pattern2.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)pearl: drawing.o dsf.o grid.o gtk.o loopgen.o malloc.o midend.o \ + misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o \ + tdq.o tree234.o version.o + $(CC) -o $@ drawing.o dsf.o grid.o gtk.o loopgen.o malloc.o midend.o \ + misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o \ + tdq.o tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)pearlbench: dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o \ + pearl2.o penrose.o random.o tdq.o tree234.o + $(CC) -o $@ dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o pearl2.o \ + penrose.o random.o tdq.o tree234.o -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)pegs: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o pegs.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pegs.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)range: drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o range.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o range.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)rect: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)samegame: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)signpost: drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o signpost.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o signpost.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)signpostsolver: dsf.o malloc.o misc.o nullfe.o random.o \ + signpos2.o + $(CC) -o $@ dsf.o malloc.o misc.o nullfe.o random.o signpos2.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)singles: drawing.o dsf.o gtk.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)singlessolver: dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o \ + random.o singles3.o tree234.o + $(CC) -o $@ dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o \ + random.o singles3.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)sixteen: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)slant: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o slant.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o slant.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)slantsolver: dsf.o findloop.o malloc.o misc.o nullfe.o random.o \ + slant2.o + $(CC) -o $@ dsf.o findloop.o malloc.o misc.o nullfe.o random.o \ + slant2.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)solo: divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o + $(CC) -o $@ divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)solosolver: divvy.o dsf.o malloc.o misc.o nullfe.o random.o \ + solo2.o + $(CC) -o $@ divvy.o dsf.o malloc.o misc.o nullfe.o random.o solo2.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)tents: drawing.o dsf.o gtk.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tents.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tents.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)tentssolver: dsf.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tents3.o + $(CC) -o $@ dsf.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tents3.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)towers: drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o + $(CC) -o $@ drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)towerssolver: latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o towers2.o tree234.o + $(CC) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + towers2.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)tracks: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tracks.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tracks.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)twiddle: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)undead: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)unequal: drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o + $(CC) -o $@ drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)unequalsolver: latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o unequal2.o + $(CC) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o unequal2.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)unruly: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)unrulysolver: malloc.o misc.o nullfe.o random.o unruly2.o + $(CC) -o $@ malloc.o misc.o nullfe.o random.o unruly2.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)untangle: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o \ + $(XLFLAGS) $(XLIBS) + +blackbox.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +gtk.o: ./gtk.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + +GAMES += blackbox +GAMES += bridges +GAMES += cube +GAMES += dominosa +GAMES += fifteen +GAMES += filling +GAMES += flip +GAMES += flood +GAMES += galaxies +GAMES += guess +GAMES += inertia +GAMES += keen +GAMES += lightup +GAMES += loopy +GAMES += magnets +GAMES += map +GAMES += mines +GAMES += net +GAMES += netslide +GAMES += palisade +GAMES += pattern +GAMES += pearl +GAMES += pegs +GAMES += range +GAMES += rect +GAMES += samegame +GAMES += signpost +GAMES += singles +GAMES += sixteen +GAMES += slant +GAMES += solo +GAMES += tents +GAMES += towers +GAMES += tracks +GAMES += twiddle +GAMES += undead +GAMES += unequal +GAMES += unruly +GAMES += untangle +install: + for i in $(GAMES); do \ + $(INSTALL_PROGRAM) -m 755 $(BINPREFIX)$$i $(DESTDIR)$(gamesdir)/$(BINPREFIX)$$i \ + || exit 1; \ + done +test: benchmark.html benchmark.txt + +benchmark.html: benchmark.txt benchmark.pl + ./benchmark.pl benchmark.txt > $@ + +benchmark.txt: benchmark.sh $(GAMES) + ./benchmark.sh > $@ + + +clean: + rm -f *.o $(BINPREFIX)blackbox $(BINPREFIX)bridges $(BINPREFIX)cube $(BINPREFIX)dominosa $(BINPREFIX)fifteen $(BINPREFIX)fifteensolver $(BINPREFIX)filling $(BINPREFIX)fillingsolver $(BINPREFIX)flip $(BINPREFIX)flood $(BINPREFIX)galaxies $(BINPREFIX)galaxiespicture $(BINPREFIX)galaxiessolver $(BINPREFIX)guess $(BINPREFIX)inertia $(BINPREFIX)keen $(BINPREFIX)keensolver $(BINPREFIX)latincheck $(BINPREFIX)lightup $(BINPREFIX)lightupsolver $(BINPREFIX)loopy $(BINPREFIX)loopysolver $(BINPREFIX)magnets $(BINPREFIX)magnetssolver $(BINPREFIX)map $(BINPREFIX)mapsolver $(BINPREFIX)mineobfusc $(BINPREFIX)mines $(BINPREFIX)net $(BINPREFIX)netslide $(BINPREFIX)nullgame $(BINPREFIX)obfusc $(BINPREFIX)palisade $(BINPREFIX)pattern $(BINPREFIX)patternpicture $(BINPREFIX)patternsolver $(BINPREFIX)pearl $(BINPREFIX)pearlbench $(BINPREFIX)pegs $(BINPREFIX)range $(BINPREFIX)rect $(BINPREFIX)samegame $(BINPREFIX)signpost $(BINPREFIX)signpostsolver $(BINPREFIX)singles $(BINPREFIX)singlessolver $(BINPREFIX)sixteen $(BINPREFIX)slant $(BINPREFIX)slantsolver $(BINPREFIX)solo $(BINPREFIX)solosolver $(BINPREFIX)tents $(BINPREFIX)tentssolver $(BINPREFIX)towers $(BINPREFIX)towerssolver $(BINPREFIX)tracks $(BINPREFIX)twiddle $(BINPREFIX)undead $(BINPREFIX)unequal $(BINPREFIX)unequalsolver $(BINPREFIX)unruly $(BINPREFIX)unrulysolver $(BINPREFIX)untangle diff --git a/apps/plugins/puzzles/src/Makefile.am b/apps/plugins/puzzles/src/Makefile.am new file mode 100644 index 0000000000..6e03ed49a5 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.am @@ -0,0 +1,446 @@ +# Makefile.am for puzzles under Unix with Autoconf/Automake. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +GAMES = +noinst_PROGRAMS = blackbox bridges cube dominosa fifteen fifteensolver \ + filling fillingsolver flip flood galaxies galaxiespicture \ + galaxiessolver guess inertia keen keensolver latincheck \ + lightup lightupsolver loopy loopysolver magnets \ + magnetssolver map mapsolver mineobfusc mines net netslide \ + nullgame obfusc palisade pattern patternpicture \ + patternsolver pearl pearlbench pegs range rect samegame \ + signpost signpostsolver singles singlessolver sixteen slant \ + slantsolver solo solosolver tents tentssolver towers \ + towerssolver tracks twiddle undead unequal unequalsolver \ + unruly unrulysolver untangle +AUTOMAKE_OPTIONS = subdir-objects + +allsources = ./blackbox.c ./bridges.c ./combi.c ./cube.c ./divvy.c \ + ./dominosa.c ./drawing.c ./dsf.c ./fifteen.c ./filling.c \ + ./findloop.c ./flip.c ./flood.c ./galaxies.c ./grid.c \ + ./grid.h ./gtk.c ./guess.c ./inertia.c ./keen.c ./latin.c \ + ./latin.h ./laydomino.c ./lightup.c ./list.c ./loopgen.c \ + ./loopgen.h ./loopy.c ./magnets.c ./malloc.c ./map.c \ + ./maxflow.c ./maxflow.h ./midend.c ./mines.c ./misc.c \ + ./net.c ./netslide.c ./no-icon.c ./nullfe.c ./nullgame.c \ + ./obfusc.c ./osx.m ./palisade.c ./pattern.c ./pearl.c \ + ./pegs.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./range.c ./rect.c ./resource.h \ + ./samegame.c ./signpost.c ./singles.c ./sixteen.c ./slant.c \ + ./solo.c ./tdq.c ./tents.c ./towers.c ./tracks.c ./tree234.c \ + ./tree234.h ./twiddle.c ./undead.c ./unequal.c ./unruly.c \ + ./untangle.c ./version.c ./version.h ./windows.c + +AM_CPPFLAGS = -I$(srcdir)/./ -I$(srcdir)/icons/ +AM_CFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) +blackbox_SOURCES = ./blackbox.c ./drawing.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +blackbox_LDADD = $(GTK_LIBS) -lm + +bridges_SOURCES = ./bridges.c ./drawing.c ./dsf.c ./findloop.c ./gtk.c \ + ./malloc.c ./midend.c ./misc.c ./no-icon.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./version.c ./version.h +bridges_LDADD = $(GTK_LIBS) -lm + +cube_SOURCES = ./cube.c ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h +cube_LDADD = $(GTK_LIBS) -lm + +dominosa_SOURCES = ./dominosa.c ./drawing.c ./gtk.c ./laydomino.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h +dominosa_LDADD = $(GTK_LIBS) -lm + +fifteen_SOURCES = ./drawing.c ./fifteen.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +fifteen_LDADD = $(GTK_LIBS) -lm + +fifteensolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +fifteensolver_LDADD = libfifteen2_a-fifteen.$(OBJEXT) -lm + +filling_SOURCES = ./drawing.c ./dsf.c ./filling.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h +filling_LDADD = $(GTK_LIBS) -lm + +fillingsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +fillingsolver_LDADD = libfilling2_a-filling.$(OBJEXT) -lm + +flip_SOURCES = ./drawing.c ./flip.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h +flip_LDADD = $(GTK_LIBS) -lm + +flood_SOURCES = ./drawing.c ./flood.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h +flood_LDADD = $(GTK_LIBS) -lm + +galaxies_SOURCES = ./drawing.c ./dsf.c ./galaxies.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h +galaxies_LDADD = $(GTK_LIBS) -lm + +galaxiespicture_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +galaxiespicture_LDADD = libgalaxie4_a-galaxies.$(OBJEXT) -lm + +galaxiessolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +galaxiessolver_LDADD = libgalaxie2_a-galaxies.$(OBJEXT) -lm + +guess_SOURCES = ./drawing.c ./gtk.c ./guess.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h +guess_LDADD = $(GTK_LIBS) -lm + +inertia_SOURCES = ./drawing.c ./gtk.c ./inertia.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +inertia_LDADD = $(GTK_LIBS) -lm + +keen_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./keen.c ./latin.c ./latin.h \ + ./malloc.c ./maxflow.c ./maxflow.h ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h +keen_LDADD = $(GTK_LIBS) -lm + +keensolver_SOURCES = ./dsf.c ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h +keensolver_LDADD = libkeen2_a-keen.$(OBJEXT) liblatin6_a-latin.$(OBJEXT) -lm + +latincheck_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h +latincheck_LDADD = liblatin8_a-latin.$(OBJEXT) -lm + +lightup_SOURCES = ./combi.c ./drawing.c ./gtk.c ./lightup.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h +lightup_LDADD = $(GTK_LIBS) -lm + +lightupsolver_SOURCES = ./combi.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +lightupsolver_LDADD = liblightup2_a-lightup.$(OBJEXT) -lm + +loopy_SOURCES = ./drawing.c ./dsf.c ./grid.c ./grid.h ./gtk.c ./loopgen.c \ + ./loopgen.h ./loopy.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h ./version.c \ + ./version.h +loopy_LDADD = $(GTK_LIBS) -lm + +loopysolver_SOURCES = ./dsf.c ./grid.c ./grid.h ./loopgen.c ./loopgen.h \ + ./malloc.c ./misc.c ./nullfe.c ./penrose.c ./penrose.h \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h +loopysolver_LDADD = libloopy2_a-loopy.$(OBJEXT) -lm + +magnets_SOURCES = ./drawing.c ./gtk.c ./laydomino.c ./magnets.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h +magnets_LDADD = $(GTK_LIBS) -lm + +magnetssolver_SOURCES = ./laydomino.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c +magnetssolver_LDADD = libmagnets2_a-magnets.$(OBJEXT) -lm + +map_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./map.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +map_LDADD = $(GTK_LIBS) -lm + +mapsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +mapsolver_LDADD = libmap2_a-map.$(OBJEXT) -lm + +mineobfusc_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h +mineobfusc_LDADD = libmines2_a-mines.$(OBJEXT) -lm + +mines_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./mines.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h +mines_LDADD = $(GTK_LIBS) -lm + +net_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./net.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h +net_LDADD = $(GTK_LIBS) -lm + +netslide_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./netslide.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h +netslide_LDADD = $(GTK_LIBS) -lm + +nullgame_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./nullgame.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +nullgame_LDADD = $(GTK_LIBS) -lm + +obfusc_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./obfusc.c ./puzzles.h \ + ./random.c +obfusc_LDADD = -lm + +palisade_SOURCES = ./divvy.c ./drawing.c ./dsf.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./palisade.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./version.c ./version.h +palisade_LDADD = $(GTK_LIBS) -lm + +pattern_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./pattern.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h +pattern_LDADD = $(GTK_LIBS) -lm + +patternpicture_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +patternpicture_LDADD = libpattern4_a-pattern.$(OBJEXT) -lm + +patternsolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +patternsolver_LDADD = libpattern2_a-pattern.$(OBJEXT) -lm + +pearl_SOURCES = ./drawing.c ./dsf.c ./grid.c ./grid.h ./gtk.c ./loopgen.c \ + ./loopgen.h ./malloc.c ./midend.c ./misc.c ./no-icon.c \ + ./pearl.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tdq.c ./tree234.c ./tree234.h \ + ./version.c ./version.h +pearl_LDADD = $(GTK_LIBS) -lm + +pearlbench_SOURCES = ./dsf.c ./grid.c ./grid.h ./loopgen.c ./loopgen.h \ + ./malloc.c ./misc.c ./nullfe.c ./penrose.c ./penrose.h \ + ./puzzles.h ./random.c ./tdq.c ./tree234.c ./tree234.h +pearlbench_LDADD = libpearl2_a-pearl.$(OBJEXT) -lm + +pegs_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./pegs.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h +pegs_LDADD = $(GTK_LIBS) -lm + +range_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./range.c ./version.c ./version.h +range_LDADD = $(GTK_LIBS) -lm + +rect_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./rect.c ./version.c ./version.h +rect_LDADD = $(GTK_LIBS) -lm + +samegame_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./samegame.c ./version.c ./version.h +samegame_LDADD = $(GTK_LIBS) -lm + +signpost_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./signpost.c ./version.c ./version.h +signpost_LDADD = $(GTK_LIBS) -lm + +signpostsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c +signpostsolver_LDADD = libsignpos2_a-signpost.$(OBJEXT) -lm + +singles_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./singles.c \ + ./tree234.c ./tree234.h ./version.c ./version.h +singles_LDADD = $(GTK_LIBS) -lm + +singlessolver_SOURCES = ./dsf.c ./latin.c ./latin.h ./malloc.c ./maxflow.c \ + ./maxflow.h ./misc.c ./nullfe.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h +singlessolver_LDADD = libsingles3_a-singles.$(OBJEXT) -lm + +sixteen_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./sixteen.c ./version.c ./version.h +sixteen_LDADD = $(GTK_LIBS) -lm + +slant_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./slant.c ./version.c ./version.h +slant_LDADD = $(GTK_LIBS) -lm + +slantsolver_SOURCES = ./dsf.c ./findloop.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c +slantsolver_LDADD = libslant2_a-slant.$(OBJEXT) -lm + +solo_SOURCES = ./divvy.c ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./solo.c ./version.c ./version.h +solo_LDADD = $(GTK_LIBS) -lm + +solosolver_SOURCES = ./divvy.c ./dsf.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c +solosolver_LDADD = libsolo2_a-solo.$(OBJEXT) -lm + +tents_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./maxflow.c \ + ./maxflow.h ./midend.c ./misc.c ./no-icon.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./tents.c ./version.c \ + ./version.h +tents_LDADD = $(GTK_LIBS) -lm + +tentssolver_SOURCES = ./dsf.c ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c +tentssolver_LDADD = libtents3_a-tents.$(OBJEXT) -lm + +towers_SOURCES = ./drawing.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./towers.c \ + ./tree234.c ./tree234.h ./version.c ./version.h +towers_LDADD = $(GTK_LIBS) -lm + +towerssolver_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h +towerssolver_LDADD = liblatin6_a-latin.$(OBJEXT) \ + libtowers2_a-towers.$(OBJEXT) -lm + +tracks_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tracks.c ./version.c ./version.h +tracks_LDADD = $(GTK_LIBS) -lm + +twiddle_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./twiddle.c ./version.c ./version.h +twiddle_LDADD = $(GTK_LIBS) -lm + +undead_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./undead.c ./version.c ./version.h +undead_LDADD = $(GTK_LIBS) -lm + +unequal_SOURCES = ./drawing.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./tree234.c \ + ./tree234.h ./unequal.c ./version.c ./version.h +unequal_LDADD = $(GTK_LIBS) -lm + +unequalsolver_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h +unequalsolver_LDADD = liblatin6_a-latin.$(OBJEXT) \ + libunequal2_a-unequal.$(OBJEXT) -lm + +unruly_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./unruly.c ./version.c ./version.h +unruly_LDADD = $(GTK_LIBS) -lm + +unrulysolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h ./random.c +unrulysolver_LDADD = libunruly2_a-unruly.$(OBJEXT) -lm + +untangle_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./untangle.c ./version.c ./version.h +untangle_LDADD = $(GTK_LIBS) -lm + +libfifteen2_a_SOURCES = ./fifteen.c ./puzzles.h +libfifteen2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libfilling2_a_SOURCES = ./filling.c ./puzzles.h +libfilling2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libgalaxie2_a_SOURCES = ./galaxies.c ./puzzles.h +libgalaxie2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libgalaxie4_a_SOURCES = ./galaxies.c ./puzzles.h +libgalaxie4_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) \ + -DSTANDALONE_PICTURE_GENERATOR +libkeen2_a_SOURCES = ./keen.c ./puzzles.h ./latin.h +libkeen2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +liblatin6_a_SOURCES = ./latin.c ./puzzles.h ./tree234.h ./maxflow.h \ + ./latin.h +liblatin6_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +liblatin8_a_SOURCES = ./latin.c ./puzzles.h ./tree234.h ./maxflow.h \ + ./latin.h +liblatin8_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_LATIN_TEST +liblightup2_a_SOURCES = ./lightup.c ./puzzles.h +liblightup2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libloopy2_a_SOURCES = ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h +libloopy2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmagnets2_a_SOURCES = ./magnets.c ./puzzles.h +libmagnets2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmap2_a_SOURCES = ./map.c ./puzzles.h +libmap2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmines2_a_SOURCES = ./mines.c ./tree234.h ./puzzles.h +libmines2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_OBFUSCATOR +libpattern2_a_SOURCES = ./pattern.c ./puzzles.h +libpattern2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libpattern4_a_SOURCES = ./pattern.c ./puzzles.h +libpattern4_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) \ + -DSTANDALONE_PICTURE_GENERATOR +libpearl2_a_SOURCES = ./pearl.c ./puzzles.h ./grid.h ./loopgen.h +libpearl2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsignpos2_a_SOURCES = ./signpost.c ./puzzles.h +libsignpos2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsingles3_a_SOURCES = ./singles.c ./puzzles.h ./latin.h +libsingles3_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libslant2_a_SOURCES = ./slant.c ./puzzles.h +libslant2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsolo2_a_SOURCES = ./solo.c ./puzzles.h +libsolo2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libtents3_a_SOURCES = ./tents.c ./puzzles.h ./maxflow.h +libtents3_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libtowers2_a_SOURCES = ./towers.c ./puzzles.h ./latin.h +libtowers2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libunequal2_a_SOURCES = ./unequal.c ./puzzles.h ./latin.h +libunequal2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libunruly2_a_SOURCES = ./unruly.c ./puzzles.h +libunruly2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +noinst_LIBRARIES = libfifteen2.a libfilling2.a libgalaxie2.a libgalaxie4.a \ + libkeen2.a liblatin6.a liblatin8.a liblightup2.a libloopy2.a \ + libmagnets2.a libmap2.a libmines2.a libpattern2.a \ + libpattern4.a libpearl2.a libsignpos2.a libsingles3.a \ + libslant2.a libsolo2.a libtents3.a libtowers2.a \ + libunequal2.a libunruly2.a + +GAMES += blackbox +GAMES += bridges +GAMES += cube +GAMES += dominosa +GAMES += fifteen +GAMES += filling +GAMES += flip +GAMES += flood +GAMES += galaxies +GAMES += guess +GAMES += inertia +GAMES += keen +GAMES += lightup +GAMES += loopy +GAMES += magnets +GAMES += map +GAMES += mines +GAMES += net +GAMES += netslide +GAMES += palisade +GAMES += pattern +GAMES += pearl +GAMES += pegs +GAMES += range +GAMES += rect +GAMES += samegame +GAMES += signpost +GAMES += singles +GAMES += sixteen +GAMES += slant +GAMES += solo +GAMES += tents +GAMES += towers +GAMES += tracks +GAMES += twiddle +GAMES += undead +GAMES += unequal +GAMES += unruly +GAMES += untangle +bin_PROGRAMS = $(GAMES) +test: benchmark.html benchmark.txt + +benchmark.html: benchmark.txt benchmark.pl + ./benchmark.pl benchmark.txt > $@ + +benchmark.txt: benchmark.sh $(GAMES) + ./benchmark.sh > $@ diff --git a/apps/plugins/puzzles/src/Makefile.cyg b/apps/plugins/puzzles/src/Makefile.cyg new file mode 100644 index 0000000000..4dcfd8ae2d --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.cyg @@ -0,0 +1,718 @@ +# Makefile for puzzles under cygwin. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# You can define this path to point at your tools if you need to +# TOOLPATH = c:\cygwin\bin\ # or similar, if you're running Windows +# TOOLPATH = /pkg/mingw32msvc/i386-mingw32msvc/bin/ +CC = $(TOOLPATH)gcc +RC = $(TOOLPATH)windres +# Uncomment the following two lines to compile under Winelib +# CC = winegcc +# RC = wrc +# You may also need to tell windres where to find include files: +# RCINC = --include-dir c:\cygwin\include\ + +CFLAGS = -mno-cygwin -Wall -O2 -D_WINDOWS -DDEBUG -DWIN32S_COMPAT \ + -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP -I./ -Iicons/ +LDFLAGS = -mno-cygwin -s +RCFLAGS = $(RCINC) --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400 \ + --define MINGW32_FIX=1 --include ./ --include icons/ + +all: blackbox.exe bridges.exe cube.exe dominosa.exe fifteen.exe \ + fifteensolver.exe filling.exe fillingsolver.exe flip.exe \ + flood.exe galaxies.exe galaxiespicture.exe \ + galaxiessolver.exe guess.exe inertia.exe keen.exe \ + keensolver.exe latincheck.exe lightup.exe lightupsolver.exe \ + loopy.exe loopysolver.exe magnets.exe magnetssolver.exe \ + map.exe mapsolver.exe mineobfusc.exe mines.exe netgame.exe \ + netslide.exe nullgame.exe palisade.exe pattern.exe \ + patternpicture.exe patternsolver.exe pearl.exe \ + pearlbench.exe pegs.exe puzzles.exe range.exe rect.exe \ + samegame.exe signpost.exe signpostsolver.exe singles.exe \ + singlessolver.exe sixteen.exe slant.exe slantsolver.exe \ + solo.exe solosolver.exe tents.exe tentssolver.exe towers.exe \ + towerssolver.exe tracks.exe twiddle.exe undead.exe \ + unequal.exe unequalsolver.exe unruly.exe unrulysolver.exe \ + untangle.exe + +blackbox.exe: blackbox.o drawing.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,blackbox.map blackbox.o \ + drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +bridges.exe: bridges.o drawing.o dsf.o findloop.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,bridges.map bridges.o \ + drawing.o dsf.o findloop.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o \ + -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +cube.exe: cube.o drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,cube.map cube.o drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 -luser32 \ + -lwinspool + +dominosa.exe: dominosa.o drawing.o laydomino.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,dominosa.map dominosa.o \ + drawing.o laydomino.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +fifteen.exe: drawing.o fifteen.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,fifteen.map drawing.o \ + fifteen.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +fifteensolver.exe: fifteen2.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,fifteensolver.map fifteen2.o \ + malloc.o misc.o nullfe.o random.o + +filling.exe: drawing.o dsf.o filling.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,filling.map drawing.o \ + dsf.o filling.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +fillingsolver.exe: dsf.o filling2.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,fillingsolver.map dsf.o filling2.o \ + malloc.o misc.o nullfe.o random.o + +flip.exe: drawing.o flip.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o tree234.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,flip.map drawing.o flip.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + tree234.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +flood.exe: drawing.o flood.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,flood.map drawing.o \ + flood.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +galaxies.exe: drawing.o dsf.o galaxies.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,galaxies.map drawing.o \ + dsf.o galaxies.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +galaxiespicture.exe: dsf.o galaxie4.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,galaxiespicture.map dsf.o galaxie4.o \ + malloc.o misc.o nullfe.o random.o + +galaxiessolver.exe: dsf.o galaxie2.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,galaxiessolver.map dsf.o galaxie2.o \ + malloc.o misc.o nullfe.o random.o + +guess.exe: drawing.o guess.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,guess.map drawing.o \ + guess.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +inertia.exe: drawing.o inertia.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,inertia.map drawing.o \ + inertia.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +keen.exe: drawing.o dsf.o keen.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o tree234.o version.o \ + windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,keen.map drawing.o dsf.o \ + keen.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o tree234.o version.o \ + windows.o -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +keensolver.exe: dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,keensolver.map dsf.o keen2.o \ + latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o + +latincheck.exe: latin8.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,latincheck.map latin8.o malloc.o \ + maxflow.o misc.o nullfe.o random.o tree234.o + +lightup.exe: combi.o drawing.o lightup.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,lightup.map combi.o \ + drawing.o lightup.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +lightupsolver.exe: combi.o lightup2.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,lightupsolver.map combi.o lightup2.o \ + malloc.o misc.o nullfe.o random.o + +loopy.exe: drawing.o dsf.o grid.o loopgen.o loopy.o malloc.o midend.o misc.o \ + noicon.res.o penrose.o printing.o random.o tree234.o \ + version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,loopy.map drawing.o dsf.o \ + grid.o loopgen.o loopy.o malloc.o midend.o misc.o \ + noicon.res.o penrose.o printing.o random.o tree234.o \ + version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 -luser32 \ + -lwinspool + +loopysolver.exe: dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o nullfe.o \ + penrose.o random.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,loopysolver.map dsf.o grid.o \ + loopgen.o loopy2.o malloc.o misc.o nullfe.o penrose.o \ + random.o tree234.o + +magnets.exe: drawing.o laydomino.o magnets.o malloc.o midend.o misc.o \ + noicon.res.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,magnets.map drawing.o \ + laydomino.o magnets.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +magnetssolver.exe: laydomino.o magnets2.o malloc.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,magnetssolver.map laydomino.o \ + magnets2.o malloc.o misc.o nullfe.o random.o + +map.exe: drawing.o dsf.o malloc.o map.o midend.o misc.o noicon.res.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,map.map drawing.o dsf.o \ + malloc.o map.o midend.o misc.o noicon.res.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +mapsolver.exe: dsf.o malloc.o map2.o misc.o nullfe.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,mapsolver.map dsf.o malloc.o map2.o \ + misc.o nullfe.o random.o + +mineobfusc.exe: malloc.o mines2.o misc.o nullfe.o random.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,mineobfusc.map malloc.o mines2.o \ + misc.o nullfe.o random.o tree234.o + +mines.exe: drawing.o malloc.o midend.o mines.o misc.o noicon.res.o \ + printing.o random.o tree234.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,mines.map drawing.o \ + malloc.o midend.o mines.o misc.o noicon.res.o printing.o \ + random.o tree234.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +netgame.exe: drawing.o dsf.o findloop.o malloc.o midend.o misc.o net.o \ + noicon.res.o printing.o random.o tree234.o version.o \ + windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,netgame.map drawing.o \ + dsf.o findloop.o malloc.o midend.o misc.o net.o noicon.res.o \ + printing.o random.o tree234.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +netslide.exe: drawing.o malloc.o midend.o misc.o netslide.o noicon.res.o \ + printing.o random.o tree234.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,netslide.map drawing.o \ + malloc.o midend.o misc.o netslide.o noicon.res.o printing.o \ + random.o tree234.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +nullgame.exe: drawing.o malloc.o midend.o misc.o noicon.res.o nullgame.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,nullgame.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o nullgame.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +palisade.exe: divvy.o drawing.o dsf.o malloc.o midend.o misc.o noicon.res.o \ + palisade.o printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,palisade.map divvy.o \ + drawing.o dsf.o malloc.o midend.o misc.o noicon.res.o \ + palisade.o printing.o random.o version.o windows.o \ + -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +pattern.exe: drawing.o malloc.o midend.o misc.o noicon.res.o pattern.o \ + printing.o random.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,pattern.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o pattern.o printing.o \ + random.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +patternpicture.exe: malloc.o misc.o nullfe.o pattern4.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,patternpicture.map malloc.o misc.o \ + nullfe.o pattern4.o random.o + +patternsolver.exe: malloc.o misc.o nullfe.o pattern2.o random.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,patternsolver.map malloc.o misc.o \ + nullfe.o pattern2.o random.o + +pearl.exe: drawing.o dsf.o grid.o loopgen.o malloc.o midend.o misc.o pearl.o \ + penrose.o printing.o random.o tdq.o tree234.o version.o \ + windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,pearl.map drawing.o dsf.o \ + grid.o loopgen.o malloc.o midend.o misc.o pearl.o penrose.o \ + printing.o random.o tdq.o tree234.o version.o windows.o \ + -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +pearlbench.exe: dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o pearl2.o \ + penrose.o random.o tdq.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,pearlbench.map dsf.o grid.o \ + loopgen.o malloc.o misc.o nullfe.o pearl2.o penrose.o \ + random.o tdq.o tree234.o + +pegs.exe: drawing.o malloc.o midend.o misc.o noicon.res.o pegs.o printing.o \ + random.o tree234.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,pegs.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o pegs.o printing.o \ + random.o tree234.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +puzzles.exe: blackbo3.o bridges3.o combi.o cube3.o divvy.o dominos3.o \ + drawing.o dsf.o fifteen5.o filling5.o findloop.o flip3.o \ + flood3.o galaxie7.o grid.o guess3.o inertia3.o keen5.o \ + latin.o laydomino.o lightup5.o list.o loopgen.o loopy5.o \ + magnets5.o malloc.o map5.o maxflow.o midend.o mines5.o \ + misc.o net3.o netslid3.o noicon.res.o palisad3.o pattern7.o \ + pearl5.o pegs3.o penrose.o printing.o random.o range3.o \ + rect3.o samegam3.o signpos5.o singles5.o sixteen3.o slant5.o \ + solo5.o tdq.o tents5.o towers5.o tracks3.o tree234.o \ + twiddle3.o undead3.o unequal5.o unruly5.o untangl3.o \ + version.o windows1.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,puzzles.map blackbo3.o \ + bridges3.o combi.o cube3.o divvy.o dominos3.o drawing.o \ + dsf.o fifteen5.o filling5.o findloop.o flip3.o flood3.o \ + galaxie7.o grid.o guess3.o inertia3.o keen5.o latin.o \ + laydomino.o lightup5.o list.o loopgen.o loopy5.o magnets5.o \ + malloc.o map5.o maxflow.o midend.o mines5.o misc.o net3.o \ + netslid3.o noicon.res.o palisad3.o pattern7.o pearl5.o \ + pegs3.o penrose.o printing.o random.o range3.o rect3.o \ + samegam3.o signpos5.o singles5.o sixteen3.o slant5.o solo5.o \ + tdq.o tents5.o towers5.o tracks3.o tree234.o twiddle3.o \ + undead3.o unequal5.o unruly5.o untangl3.o version.o \ + windows1.o -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +range.exe: drawing.o dsf.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o range.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,range.map drawing.o dsf.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + range.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +rect.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o rect.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,rect.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + rect.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +samegame.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o samegame.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,samegame.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + samegame.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +signpost.exe: drawing.o dsf.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o signpost.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,signpost.map drawing.o \ + dsf.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o signpost.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +signpostsolver.exe: dsf.o malloc.o misc.o nullfe.o random.o signpos2.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,signpostsolver.map dsf.o malloc.o \ + misc.o nullfe.o random.o signpos2.o + +singles.exe: drawing.o dsf.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o singles.o tree234.o \ + version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,singles.map drawing.o \ + dsf.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o singles.o tree234.o \ + version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 -luser32 \ + -lwinspool + +singlessolver.exe: dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o random.o \ + singles3.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,singlessolver.map dsf.o latin.o \ + malloc.o maxflow.o misc.o nullfe.o random.o singles3.o \ + tree234.o + +sixteen.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o sixteen.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,sixteen.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + sixteen.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +slant.exe: drawing.o dsf.o findloop.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o slant.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,slant.map drawing.o dsf.o \ + findloop.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o slant.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +slantsolver.exe: dsf.o findloop.o malloc.o misc.o nullfe.o random.o slant2.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,slantsolver.map dsf.o findloop.o \ + malloc.o misc.o nullfe.o random.o slant2.o + +solo.exe: divvy.o drawing.o dsf.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o solo.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,solo.map divvy.o drawing.o \ + dsf.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o solo.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +solosolver.exe: divvy.o dsf.o malloc.o misc.o nullfe.o random.o solo2.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,solosolver.map divvy.o dsf.o \ + malloc.o misc.o nullfe.o random.o solo2.o + +tents.exe: drawing.o dsf.o malloc.o maxflow.o midend.o misc.o noicon.res.o \ + printing.o random.o tents.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,tents.map drawing.o dsf.o \ + malloc.o maxflow.o midend.o misc.o noicon.res.o printing.o \ + random.o tents.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +tentssolver.exe: dsf.o malloc.o maxflow.o misc.o nullfe.o random.o tents3.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,tentssolver.map dsf.o malloc.o \ + maxflow.o misc.o nullfe.o random.o tents3.o + +towers.exe: drawing.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o towers.o tree234.o \ + version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,towers.map drawing.o \ + latin.o malloc.o maxflow.o midend.o misc.o noicon.res.o \ + printing.o random.o towers.o tree234.o version.o windows.o \ + -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +towerssolver.exe: latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + towers2.o tree234.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,towerssolver.map latin6.o malloc.o \ + maxflow.o misc.o nullfe.o random.o towers2.o tree234.o + +tracks.exe: drawing.o dsf.o findloop.o malloc.o midend.o misc.o noicon.res.o \ + printing.o random.o tracks.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,tracks.map drawing.o dsf.o \ + findloop.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o tracks.o version.o windows.o -lcomctl32 -lcomdlg32 \ + -lgdi32 -luser32 -lwinspool + +twiddle.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o twiddle.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,twiddle.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + twiddle.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +undead.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o undead.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,undead.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + undead.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +unequal.exe: drawing.o latin.o malloc.o maxflow.o midend.o misc.o \ + noicon.res.o printing.o random.o tree234.o unequal.o \ + version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,unequal.map drawing.o \ + latin.o malloc.o maxflow.o midend.o misc.o noicon.res.o \ + printing.o random.o tree234.o unequal.o version.o windows.o \ + -lcomctl32 -lcomdlg32 -lgdi32 -luser32 -lwinspool + +unequalsolver.exe: latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o unequal2.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,unequalsolver.map latin6.o malloc.o \ + maxflow.o misc.o nullfe.o random.o tree234.o unequal2.o + +unruly.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o unruly.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,unruly.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + unruly.o version.o windows.o -lcomctl32 -lcomdlg32 -lgdi32 \ + -luser32 -lwinspool + +unrulysolver.exe: malloc.o misc.o nullfe.o random.o unruly2.o + $(CC) $(LDFLAGS) -o $@ -Wl,-Map,unrulysolver.map malloc.o misc.o \ + nullfe.o random.o unruly2.o + +untangle.exe: drawing.o malloc.o midend.o misc.o noicon.res.o printing.o \ + random.o tree234.o untangle.o version.o windows.o + $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,untangle.map drawing.o \ + malloc.o midend.o misc.o noicon.res.o printing.o random.o \ + tree234.o untangle.o version.o windows.o -lcomctl32 \ + -lcomdlg32 -lgdi32 -luser32 -lwinspool + +blackbox.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +gtk.o: ./gtk.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +noicon.res.o: ./noicon.rc ./puzzles.rc2 ./resource.h + $(RC) $(FWHACK) $(RCFL) $(RCFLAGS) $< $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + + +clean: + rm -f *.o *.exe *.res.o *.map + diff --git a/apps/plugins/puzzles/src/Makefile.doc b/apps/plugins/puzzles/src/Makefile.doc new file mode 100644 index 0000000000..c7d6946cf1 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.doc @@ -0,0 +1,17 @@ +all: puzzles.hlp puzzles.txt HACKING + +preprocessed.but: puzzles.but + sed 's/PREFIX-/$(BINPREFIX)/g' puzzles.but > preprocessed.but + +puzzles.hlp puzzles.txt: preprocessed.but + halibut --winhelp=puzzles.hlp --text=puzzles.txt preprocessed.but + +HACKING: devel.but + halibut --text=HACKING devel.but + +chm: puzzles.hhp +puzzles.hhp: puzzles.but chm.but + halibut --html puzzles.but chm.but + +clean: + rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck] diff --git a/apps/plugins/puzzles/src/Makefile.emcc b/apps/plugins/puzzles/src/Makefile.emcc new file mode 100644 index 0000000000..9677b2a1cf --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.emcc @@ -0,0 +1,497 @@ +# Makefile for puzzles using Emscripten. Requires GNU make. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# This can be set on the command line to point at the emcc command, +# if it is not on your PATH. +EMCC = emcc + +CFLAGS = -DSLOW_SYSTEM -I./ -Iicons/ + +all: $(OUTPREFIX)blackbox.js $(OUTPREFIX)bridges.js $(OUTPREFIX)cube.js \ + $(OUTPREFIX)dominosa.js $(OUTPREFIX)fifteen.js \ + $(OUTPREFIX)filling.js $(OUTPREFIX)flip.js \ + $(OUTPREFIX)flood.js $(OUTPREFIX)galaxies.js \ + $(OUTPREFIX)guess.js $(OUTPREFIX)inertia.js \ + $(OUTPREFIX)keen.js $(OUTPREFIX)lightup.js \ + $(OUTPREFIX)loopy.js $(OUTPREFIX)magnets.js \ + $(OUTPREFIX)map.js $(OUTPREFIX)mines.js $(OUTPREFIX)net.js \ + $(OUTPREFIX)netslide.js $(OUTPREFIX)nullgame.js \ + $(OUTPREFIX)palisade.js $(OUTPREFIX)pattern.js \ + $(OUTPREFIX)pearl.js $(OUTPREFIX)pegs.js \ + $(OUTPREFIX)range.js $(OUTPREFIX)rect.js \ + $(OUTPREFIX)samegame.js $(OUTPREFIX)signpost.js \ + $(OUTPREFIX)singles.js $(OUTPREFIX)sixteen.js \ + $(OUTPREFIX)slant.js $(OUTPREFIX)solo.js \ + $(OUTPREFIX)tents.js $(OUTPREFIX)towers.js \ + $(OUTPREFIX)tracks.js $(OUTPREFIX)twiddle.js \ + $(OUTPREFIX)undead.js $(OUTPREFIX)unequal.js \ + $(OUTPREFIX)unruly.js $(OUTPREFIX)untangle.js + +$(OUTPREFIX)blackbox.js: blackbox.o drawing.o emcc.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)blackbox.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" blackbox.o drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)bridges.js: bridges.o drawing.o dsf.o findloop.o emcc.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)bridges.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" bridges.o drawing.o dsf.o findloop.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)cube.js: cube.o drawing.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)cube.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" cube.o drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)dominosa.js: dominosa.o drawing.o emcc.o laydomino.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)dominosa.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" dominosa.o drawing.o emcc.o laydomino.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)fifteen.js: drawing.o fifteen.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)fifteen.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o fifteen.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)filling.js: drawing.o dsf.o filling.o emcc.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)filling.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o filling.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)flip.js: drawing.o flip.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)flip.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o flip.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)flood.js: drawing.o flood.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)flood.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o flood.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)galaxies.js: drawing.o dsf.o galaxies.o emcc.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)galaxies.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o galaxies.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)guess.js: drawing.o emcc.o guess.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)guess.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o guess.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)inertia.js: drawing.o emcc.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)inertia.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o inertia.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)keen.js: drawing.o dsf.o emcc.o keen.o latin.o malloc.o \ + maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + tree234.o version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)keen.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o keen.o latin.o malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)lightup.js: combi.o drawing.o emcc.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)lightup.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" combi.o drawing.o emcc.o lightup.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)loopy.js: drawing.o dsf.o grid.o emcc.o loopgen.o loopy.o \ + malloc.o midend.o misc.o no-icon.o penrose.o printing.o ps.o \ + random.o tree234.o version.o emccpre.js emcclib.js \ + emccx.json + $(EMCC) -o $(OUTPREFIX)loopy.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o grid.o emcc.o loopgen.o loopy.o malloc.o midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)magnets.js: drawing.o emcc.o laydomino.o magnets.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)magnets.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o laydomino.o magnets.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)map.js: drawing.o dsf.o emcc.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)map.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o malloc.o map.o midend.o misc.o no-icon.o printing.o ps.o random.o version.o + +$(OUTPREFIX)mines.js: drawing.o emcc.o malloc.o midend.o mines.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)mines.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o mines.o misc.o no-icon.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)net.js: drawing.o dsf.o findloop.o emcc.o malloc.o midend.o \ + misc.o net.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)net.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o findloop.o emcc.o malloc.o midend.o misc.o net.o no-icon.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)netslide.js: drawing.o emcc.o malloc.o midend.o misc.o \ + netslide.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)netslide.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o netslide.o no-icon.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)nullgame.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)nullgame.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o nullgame.o printing.o ps.o random.o version.o + +$(OUTPREFIX)palisade.js: divvy.o drawing.o dsf.o emcc.o malloc.o midend.o \ + misc.o no-icon.o palisade.o printing.o ps.o random.o \ + version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)palisade.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" divvy.o drawing.o dsf.o emcc.o malloc.o midend.o misc.o no-icon.o palisade.o printing.o ps.o random.o version.o + +$(OUTPREFIX)pattern.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)pattern.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o pattern.o printing.o ps.o random.o version.o + +$(OUTPREFIX)pearl.js: drawing.o dsf.o grid.o emcc.o loopgen.o malloc.o \ + midend.o misc.o no-icon.o pearl.o penrose.o printing.o ps.o \ + random.o tdq.o tree234.o version.o emccpre.js emcclib.js \ + emccx.json + $(EMCC) -o $(OUTPREFIX)pearl.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o grid.o emcc.o loopgen.o malloc.o midend.o misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o tdq.o tree234.o version.o + +$(OUTPREFIX)pegs.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + pegs.o printing.o ps.o random.o tree234.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)pegs.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o pegs.o printing.o ps.o random.o tree234.o version.o + +$(OUTPREFIX)range.js: drawing.o dsf.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o range.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)range.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o range.o version.o + +$(OUTPREFIX)rect.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)rect.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o rect.o version.o + +$(OUTPREFIX)samegame.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)samegame.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o samegame.o version.o + +$(OUTPREFIX)signpost.js: drawing.o dsf.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o signpost.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)signpost.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o signpost.o version.o + +$(OUTPREFIX)singles.js: drawing.o dsf.o emcc.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)singles.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o latin.o malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o singles.o tree234.o version.o + +$(OUTPREFIX)sixteen.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)sixteen.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o sixteen.o version.o + +$(OUTPREFIX)slant.js: drawing.o dsf.o findloop.o emcc.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o slant.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)slant.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o findloop.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o slant.o version.o + +$(OUTPREFIX)solo.js: divvy.o drawing.o dsf.o emcc.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)solo.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" divvy.o drawing.o dsf.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o solo.o version.o + +$(OUTPREFIX)tents.js: drawing.o dsf.o emcc.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tents.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)tents.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o emcc.o malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o tents.o version.o + +$(OUTPREFIX)towers.js: drawing.o emcc.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)towers.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o latin.o malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o version.o + +$(OUTPREFIX)tracks.js: drawing.o dsf.o findloop.o emcc.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tracks.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)tracks.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o dsf.o findloop.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o tracks.o version.o + +$(OUTPREFIX)twiddle.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)twiddle.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o twiddle.o version.o + +$(OUTPREFIX)undead.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)undead.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o undead.o version.o + +$(OUTPREFIX)unequal.js: drawing.o emcc.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)unequal.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o latin.o malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o unequal.o version.o + +$(OUTPREFIX)unruly.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o emccpre.js \ + emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)unruly.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o unruly.o version.o + +$(OUTPREFIX)untangle.js: drawing.o emcc.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o \ + emccpre.js emcclib.js emccx.json + $(EMCC) -o $(OUTPREFIX)untangle.js -O2 -s ASM_JS=1 --pre-js emccpre.js --js-library emcclib.js -s EXPORTED_FUNCTIONS="`sed 's://.*::' emccx.json | tr -d ' \n'`" drawing.o emcc.o malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o untangle.o version.o + +blackbox.o: ./blackbox.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +emcc.o: ./emcc.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(EMCC) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(EMCC) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + + +clean: + rm -rf *.o $(OUTPREFIX)blackbox.js $(OUTPREFIX)bridges.js $(OUTPREFIX)cube.js $(OUTPREFIX)dominosa.js $(OUTPREFIX)fifteen.js $(OUTPREFIX)filling.js $(OUTPREFIX)flip.js $(OUTPREFIX)flood.js $(OUTPREFIX)galaxies.js $(OUTPREFIX)guess.js $(OUTPREFIX)inertia.js $(OUTPREFIX)keen.js $(OUTPREFIX)lightup.js $(OUTPREFIX)loopy.js $(OUTPREFIX)magnets.js $(OUTPREFIX)map.js $(OUTPREFIX)mines.js $(OUTPREFIX)net.js $(OUTPREFIX)netslide.js $(OUTPREFIX)nullgame.js $(OUTPREFIX)palisade.js $(OUTPREFIX)pattern.js $(OUTPREFIX)pearl.js $(OUTPREFIX)pegs.js $(OUTPREFIX)range.js $(OUTPREFIX)rect.js $(OUTPREFIX)samegame.js $(OUTPREFIX)signpost.js $(OUTPREFIX)singles.js $(OUTPREFIX)sixteen.js $(OUTPREFIX)slant.js $(OUTPREFIX)solo.js $(OUTPREFIX)tents.js $(OUTPREFIX)towers.js $(OUTPREFIX)tracks.js $(OUTPREFIX)twiddle.js $(OUTPREFIX)undead.js $(OUTPREFIX)unequal.js $(OUTPREFIX)unruly.js $(OUTPREFIX)untangle.js diff --git a/apps/plugins/puzzles/src/Makefile.gnustep b/apps/plugins/puzzles/src/Makefile.gnustep new file mode 100644 index 0000000000..79677f2728 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.gnustep @@ -0,0 +1,412 @@ +# Makefile for puzzles under GNUstep. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. +NEEDS_GUI=yes +include $(GNUSTEP_MAKEFILES)/common.make +include $(GNUSTEP_MAKEFILES)/rules.make +include $(GNUSTEP_MAKEFILES)/Instance/rules.make + +all:: Puzzles fifteensolver fillingsolver galaxiespicture galaxiessolver \ + keensolver latincheck lightupsolver loopysolver \ + magnetssolver mapsolver mineobfusc obfusc patternpicture \ + patternsolver pearlbench signpostsolver singlessolver \ + slantsolver solosolver tentssolver towerssolver \ + unequalsolver unrulysolver + +.SUFFIXES: .o .c .m + + + +Puzzles.app: + mkdir -p $@ +Puzzles.app/Resources: Puzzles.app + mkdir -p $@ +Puzzles.app/Resources/Puzzles.icns: Puzzles.app/Resources osx.icns + cp osx.icns $@ +Puzzles.app/Info.plist: Puzzles.app osx-info.plist + cp osx-info.plist $@ +Puzzles: Puzzles.app Puzzles.app/Puzzles \ + Puzzles.app/Resources/Puzzles.icns Puzzles.app/Info.plist \ + $(Puzzles_extra) + +Puzzles.app/Puzzles: blackbo3.o bridges3.o combi.o cube3.o divvy.o \ + dominos3.o drawing.o dsf.o fifteen5.o filling5.o findloop.o \ + flip3.o flood3.o galaxie7.o grid.o guess3.o inertia3.o \ + keen5.o latin.o laydomino.o lightup5.o list.o loopgen.o \ + loopy5.o magnets5.o malloc.o map5.o maxflow.o midend.o \ + mines5.o misc.o net3.o netslid3.o osx.o palisad3.o \ + pattern7.o pearl5.o pegs3.o penrose.o random.o range3.o \ + rect3.o samegam3.o signpos5.o singles5.o sixteen3.o slant5.o \ + solo5.o tdq.o tents5.o towers5.o tracks3.o tree234.o \ + twiddle3.o undead3.o unequal5.o unruly5.o untangl3.o \ + version.o + $(CC) $(ALL_LDFLAGS) -o $@ blackbo3.o bridges3.o combi.o cube3.o \ + divvy.o dominos3.o drawing.o dsf.o fifteen5.o filling5.o \ + findloop.o flip3.o flood3.o galaxie7.o grid.o guess3.o \ + inertia3.o keen5.o latin.o laydomino.o lightup5.o list.o \ + loopgen.o loopy5.o magnets5.o malloc.o map5.o maxflow.o \ + midend.o mines5.o misc.o net3.o netslid3.o osx.o palisad3.o \ + pattern7.o pearl5.o pegs3.o penrose.o random.o range3.o \ + rect3.o samegam3.o signpos5.o singles5.o sixteen3.o slant5.o \ + solo5.o tdq.o tents5.o towers5.o tracks3.o tree234.o \ + twiddle3.o undead3.o unequal5.o unruly5.o untangl3.o \ + version.o $(ALL_LIB_DIRS) $(ALL_LIBS) + +fifteensolver: fifteen2.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ fifteen2.o malloc.o misc.o nullfe.o random.o + +fillingsolver: dsf.o filling2.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ dsf.o filling2.o malloc.o misc.o nullfe.o \ + random.o + +galaxiespicture: dsf.o galaxie4.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ dsf.o galaxie4.o malloc.o misc.o nullfe.o \ + random.o -lm + +galaxiessolver: dsf.o galaxie2.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ dsf.o galaxie2.o malloc.o misc.o nullfe.o \ + random.o -lm + +keensolver: dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o + $(CC) $(ULDFLAGS) -o $@ dsf.o keen2.o latin6.o malloc.o maxflow.o \ + misc.o nullfe.o random.o tree234.o + +latincheck: latin8.o malloc.o maxflow.o misc.o nullfe.o random.o tree234.o + $(CC) $(ULDFLAGS) -o $@ latin8.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o + +lightupsolver: combi.o lightup2.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ combi.o lightup2.o malloc.o misc.o nullfe.o \ + random.o + +loopysolver: dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o nullfe.o \ + penrose.o random.o tree234.o + $(CC) $(ULDFLAGS) -o $@ dsf.o grid.o loopgen.o loopy2.o malloc.o \ + misc.o nullfe.o penrose.o random.o tree234.o -lm + +magnetssolver: laydomino.o magnets2.o malloc.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ laydomino.o magnets2.o malloc.o misc.o \ + nullfe.o random.o -lm + +mapsolver: dsf.o malloc.o map2.o misc.o nullfe.o random.o + $(CC) $(ULDFLAGS) -o $@ dsf.o malloc.o map2.o misc.o nullfe.o \ + random.o -lm + +mineobfusc: malloc.o mines2.o misc.o nullfe.o random.o tree234.o + $(CC) $(ULDFLAGS) -o $@ malloc.o mines2.o misc.o nullfe.o random.o \ + tree234.o + +obfusc: malloc.o misc.o nullfe.o obfusc.o random.o + $(CC) $(ULDFLAGS) -o $@ malloc.o misc.o nullfe.o obfusc.o random.o + +patternpicture: malloc.o misc.o nullfe.o pattern4.o random.o + $(CC) $(ULDFLAGS) -o $@ malloc.o misc.o nullfe.o pattern4.o random.o + +patternsolver: malloc.o misc.o nullfe.o pattern2.o random.o + $(CC) $(ULDFLAGS) -o $@ malloc.o misc.o nullfe.o pattern2.o random.o + +pearlbench: dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o pearl2.o \ + penrose.o random.o tdq.o tree234.o + $(CC) $(ULDFLAGS) -o $@ dsf.o grid.o loopgen.o malloc.o misc.o \ + nullfe.o pearl2.o penrose.o random.o tdq.o tree234.o -lm + +signpostsolver: dsf.o malloc.o misc.o nullfe.o random.o signpos2.o + $(CC) $(ULDFLAGS) -o $@ dsf.o malloc.o misc.o nullfe.o random.o \ + signpos2.o -lm + +singlessolver: dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o random.o \ + singles3.o tree234.o + $(CC) $(ULDFLAGS) -o $@ dsf.o latin.o malloc.o maxflow.o misc.o \ + nullfe.o random.o singles3.o tree234.o + +slantsolver: dsf.o findloop.o malloc.o misc.o nullfe.o random.o slant2.o + $(CC) $(ULDFLAGS) -o $@ dsf.o findloop.o malloc.o misc.o nullfe.o \ + random.o slant2.o + +solosolver: divvy.o dsf.o malloc.o misc.o nullfe.o random.o solo2.o + $(CC) $(ULDFLAGS) -o $@ divvy.o dsf.o malloc.o misc.o nullfe.o \ + random.o solo2.o + +tentssolver: dsf.o malloc.o maxflow.o misc.o nullfe.o random.o tents3.o + $(CC) $(ULDFLAGS) -o $@ dsf.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tents3.o + +towerssolver: latin6.o malloc.o maxflow.o misc.o nullfe.o random.o towers2.o \ + tree234.o + $(CC) $(ULDFLAGS) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o towers2.o tree234.o + +unequalsolver: latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o unequal2.o + $(CC) $(ULDFLAGS) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o unequal2.o + +unrulysolver: malloc.o misc.o nullfe.o random.o unruly2.o + $(CC) $(ULDFLAGS) -o $@ malloc.o misc.o nullfe.o random.o unruly2.o + +blackbox.o: ./blackbox.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +gtk.o: ./gtk.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(CC) -DGNUSTEP $(ALL_OBJCFLAGS) $(COMPAT) $(FWHACK) $(OBJCFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(ALL_CFLAGS) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + +clean:: + rm -f *.o fifteensolver fillingsolver galaxiespicture galaxiessolver keensolver latincheck lightupsolver loopysolver magnetssolver mapsolver mineobfusc obfusc patternpicture patternsolver pearlbench signpostsolver singlessolver slantsolver solosolver tentssolver towerssolver unequalsolver unrulysolver + rm -rf *.app diff --git a/apps/plugins/puzzles/src/Makefile.gtk b/apps/plugins/puzzles/src/Makefile.gtk new file mode 100644 index 0000000000..e5c1d40b90 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.gtk @@ -0,0 +1,727 @@ +# Makefile for puzzles under X/GTK and Unix. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# You can define this path to point at your tools if you need to +# TOOLPATH = /opt/gcc/bin +CC := $(TOOLPATH)$(CC) +# You can manually set this to `gtk-config' or `pkg-config gtk+-1.2' +# (depending on what works on your system) if you want to enforce +# building with GTK 1.2, or you can set it to `pkg-config gtk+-2.0' +# if you want to enforce 2.0. The default is to try 2.0 and fall back +# to 1.2 if it isn't found. +GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 $$0 2>/dev/null || gtk-config $$0' + +CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g -I./ -Iicons/ `$(GTK_CONFIG) \ + --cflags` $(CFLAGS) +XLIBS = `$(GTK_CONFIG) --libs` -lm +ULIBS = -lm# +INSTALL=install +INSTALL_PROGRAM=$(INSTALL) +INSTALL_DATA=$(INSTALL) +prefix=/usr/local +exec_prefix=$(prefix) +bindir=$(exec_prefix)/bin +gamesdir=$(exec_prefix)/games +mandir=$(prefix)/man +man1dir=$(mandir)/man1 + +all: $(BINPREFIX)blackbox $(BINPREFIX)bridges $(BINPREFIX)cube \ + $(BINPREFIX)dominosa $(BINPREFIX)fifteen \ + $(BINPREFIX)fifteensolver $(BINPREFIX)filling \ + $(BINPREFIX)fillingsolver $(BINPREFIX)flip $(BINPREFIX)flood \ + $(BINPREFIX)galaxies $(BINPREFIX)galaxiespicture \ + $(BINPREFIX)galaxiessolver $(BINPREFIX)guess \ + $(BINPREFIX)inertia $(BINPREFIX)keen $(BINPREFIX)keensolver \ + $(BINPREFIX)latincheck $(BINPREFIX)lightup \ + $(BINPREFIX)lightupsolver $(BINPREFIX)loopy \ + $(BINPREFIX)loopysolver $(BINPREFIX)magnets \ + $(BINPREFIX)magnetssolver $(BINPREFIX)map \ + $(BINPREFIX)mapsolver $(BINPREFIX)mineobfusc \ + $(BINPREFIX)mines $(BINPREFIX)net $(BINPREFIX)netslide \ + $(BINPREFIX)nullgame $(BINPREFIX)obfusc $(BINPREFIX)palisade \ + $(BINPREFIX)pattern $(BINPREFIX)patternpicture \ + $(BINPREFIX)patternsolver $(BINPREFIX)pearl \ + $(BINPREFIX)pearlbench $(BINPREFIX)pegs $(BINPREFIX)range \ + $(BINPREFIX)rect $(BINPREFIX)samegame $(BINPREFIX)signpost \ + $(BINPREFIX)signpostsolver $(BINPREFIX)singles \ + $(BINPREFIX)singlessolver $(BINPREFIX)sixteen \ + $(BINPREFIX)slant $(BINPREFIX)slantsolver $(BINPREFIX)solo \ + $(BINPREFIX)solosolver $(BINPREFIX)tents \ + $(BINPREFIX)tentssolver $(BINPREFIX)towers \ + $(BINPREFIX)towerssolver $(BINPREFIX)tracks \ + $(BINPREFIX)twiddle $(BINPREFIX)undead $(BINPREFIX)unequal \ + $(BINPREFIX)unequalsolver $(BINPREFIX)unruly \ + $(BINPREFIX)unrulysolver $(BINPREFIX)untangle + +$(BINPREFIX)blackbox: blackbox.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ blackbox.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)bridges: bridges.o drawing.o dsf.o findloop.o gtk.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ bridges.o drawing.o dsf.o findloop.o gtk.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)cube: cube.o drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o version.o + $(CC) -o $@ cube.o drawing.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)dominosa: dominosa.o drawing.o gtk.o laydomino.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ dominosa.o drawing.o gtk.o laydomino.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)fifteen: drawing.o fifteen.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o fifteen.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)fifteensolver: fifteen2.o malloc.o misc.o nullfe.o random.o + $(CC) -o $@ fifteen2.o malloc.o misc.o nullfe.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)filling: drawing.o dsf.o filling.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o filling.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)fillingsolver: dsf.o filling2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o filling2.o malloc.o misc.o nullfe.o random.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)flip: drawing.o flip.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o flip.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)flood: drawing.o flood.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o flood.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)galaxies: drawing.o dsf.o galaxies.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o galaxies.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)galaxiespicture: dsf.o galaxie4.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o galaxie4.o malloc.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)galaxiessolver: dsf.o galaxie2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ dsf.o galaxie2.o malloc.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)guess: drawing.o gtk.o guess.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o guess.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)inertia: drawing.o gtk.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)keen: drawing.o dsf.o gtk.o keen.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o + $(CC) -o $@ drawing.o dsf.o gtk.o keen.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)keensolver: dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o \ + nullfe.o random.o tree234.o + $(CC) -o $@ dsf.o keen2.o latin6.o malloc.o maxflow.o misc.o \ + nullfe.o random.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)latincheck: latin8.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o + $(CC) -o $@ latin8.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)lightup: combi.o drawing.o gtk.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ combi.o drawing.o gtk.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)lightupsolver: combi.o lightup2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ combi.o lightup2.o malloc.o misc.o nullfe.o random.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)loopy: drawing.o dsf.o grid.o gtk.o loopgen.o loopy.o malloc.o \ + midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o \ + tree234.o version.o + $(CC) -o $@ drawing.o dsf.o grid.o gtk.o loopgen.o loopy.o malloc.o \ + midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o \ + tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)loopysolver: dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o \ + nullfe.o penrose.o random.o tree234.o + $(CC) -o $@ dsf.o grid.o loopgen.o loopy2.o malloc.o misc.o nullfe.o \ + penrose.o random.o tree234.o -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)magnets: drawing.o gtk.o laydomino.o magnets.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o laydomino.o magnets.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)magnetssolver: laydomino.o magnets2.o malloc.o misc.o nullfe.o \ + random.o + $(CC) -o $@ laydomino.o magnets2.o malloc.o misc.o nullfe.o random.o \ + -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)map: drawing.o dsf.o gtk.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)mapsolver: dsf.o malloc.o map2.o misc.o nullfe.o random.o + $(CC) -o $@ dsf.o malloc.o map2.o misc.o nullfe.o random.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)mineobfusc: malloc.o mines2.o misc.o nullfe.o random.o tree234.o + $(CC) -o $@ malloc.o mines2.o misc.o nullfe.o random.o tree234.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)mines: drawing.o gtk.o malloc.o midend.o mines.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o mines.o misc.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)net: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o misc.o \ + net.o no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o net.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)netslide: drawing.o gtk.o malloc.o midend.o misc.o netslide.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o netslide.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)nullgame: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)obfusc: malloc.o misc.o nullfe.o obfusc.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o obfusc.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)palisade: divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o palisade.o printing.o ps.o random.o version.o + $(CC) -o $@ divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o palisade.o printing.o ps.o random.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)pattern: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)patternpicture: malloc.o misc.o nullfe.o pattern4.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o pattern4.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)patternsolver: malloc.o misc.o nullfe.o pattern2.o random.o + $(CC) -o $@ malloc.o misc.o nullfe.o pattern2.o random.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)pearl: drawing.o dsf.o grid.o gtk.o loopgen.o malloc.o midend.o \ + misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o \ + tdq.o tree234.o version.o + $(CC) -o $@ drawing.o dsf.o grid.o gtk.o loopgen.o malloc.o midend.o \ + misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o \ + tdq.o tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)pearlbench: dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o \ + pearl2.o penrose.o random.o tdq.o tree234.o + $(CC) -o $@ dsf.o grid.o loopgen.o malloc.o misc.o nullfe.o pearl2.o \ + penrose.o random.o tdq.o tree234.o -lm $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)pegs: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o pegs.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + pegs.o printing.o ps.o random.o tree234.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)range: drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o range.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o range.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)rect: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)samegame: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)signpost: drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o signpost.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o signpost.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)signpostsolver: dsf.o malloc.o misc.o nullfe.o random.o \ + signpos2.o + $(CC) -o $@ dsf.o malloc.o misc.o nullfe.o random.o signpos2.o -lm \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)singles: drawing.o dsf.o gtk.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)singlessolver: dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o \ + random.o singles3.o tree234.o + $(CC) -o $@ dsf.o latin.o malloc.o maxflow.o misc.o nullfe.o \ + random.o singles3.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)sixteen: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)slant: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o slant.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o slant.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)slantsolver: dsf.o findloop.o malloc.o misc.o nullfe.o random.o \ + slant2.o + $(CC) -o $@ dsf.o findloop.o malloc.o misc.o nullfe.o random.o \ + slant2.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)solo: divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o + $(CC) -o $@ divvy.o drawing.o dsf.o gtk.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)solosolver: divvy.o dsf.o malloc.o misc.o nullfe.o random.o \ + solo2.o + $(CC) -o $@ divvy.o dsf.o malloc.o misc.o nullfe.o random.o solo2.o \ + $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)tents: drawing.o dsf.o gtk.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tents.o version.o + $(CC) -o $@ drawing.o dsf.o gtk.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tents.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)tentssolver: dsf.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tents3.o + $(CC) -o $@ dsf.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tents3.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)towers: drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o + $(CC) -o $@ drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)towerssolver: latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o towers2.o tree234.o + $(CC) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + towers2.o tree234.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)tracks: drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tracks.o version.o + $(CC) -o $@ drawing.o dsf.o findloop.o gtk.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tracks.o version.o \ + $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)twiddle: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)undead: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)unequal: drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o + $(CC) -o $@ drawing.o gtk.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o $(XLFLAGS) $(XLIBS) + +$(BINPREFIX)unequalsolver: latin6.o malloc.o maxflow.o misc.o nullfe.o \ + random.o tree234.o unequal2.o + $(CC) -o $@ latin6.o malloc.o maxflow.o misc.o nullfe.o random.o \ + tree234.o unequal2.o $(XLFLAGS) $(ULIBS) + +$(BINPREFIX)unruly: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o $(XLFLAGS) \ + $(XLIBS) + +$(BINPREFIX)unrulysolver: malloc.o misc.o nullfe.o random.o unruly2.o + $(CC) -o $@ malloc.o misc.o nullfe.o random.o unruly2.o $(XLFLAGS) \ + $(ULIBS) + +$(BINPREFIX)untangle: drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o + $(CC) -o $@ drawing.o gtk.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o \ + $(XLFLAGS) $(XLIBS) + +blackbox.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +gtk.o: ./gtk.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + +GAMES += blackbox +GAMES += bridges +GAMES += cube +GAMES += dominosa +GAMES += fifteen +GAMES += filling +GAMES += flip +GAMES += flood +GAMES += galaxies +GAMES += guess +GAMES += inertia +GAMES += keen +GAMES += lightup +GAMES += loopy +GAMES += magnets +GAMES += map +GAMES += mines +GAMES += net +GAMES += netslide +GAMES += palisade +GAMES += pattern +GAMES += pearl +GAMES += pegs +GAMES += range +GAMES += rect +GAMES += samegame +GAMES += signpost +GAMES += singles +GAMES += sixteen +GAMES += slant +GAMES += solo +GAMES += tents +GAMES += towers +GAMES += tracks +GAMES += twiddle +GAMES += undead +GAMES += unequal +GAMES += unruly +GAMES += untangle +install: + for i in $(GAMES); do \ + $(INSTALL_PROGRAM) -m 755 $(BINPREFIX)$$i $(DESTDIR)$(gamesdir)/$(BINPREFIX)$$i \ + || exit 1; \ + done +test: benchmark.html benchmark.txt + +benchmark.html: benchmark.txt benchmark.pl + ./benchmark.pl benchmark.txt > $@ + +benchmark.txt: benchmark.sh $(GAMES) + ./benchmark.sh > $@ + + +clean: + rm -f *.o $(BINPREFIX)blackbox $(BINPREFIX)bridges $(BINPREFIX)cube $(BINPREFIX)dominosa $(BINPREFIX)fifteen $(BINPREFIX)fifteensolver $(BINPREFIX)filling $(BINPREFIX)fillingsolver $(BINPREFIX)flip $(BINPREFIX)flood $(BINPREFIX)galaxies $(BINPREFIX)galaxiespicture $(BINPREFIX)galaxiessolver $(BINPREFIX)guess $(BINPREFIX)inertia $(BINPREFIX)keen $(BINPREFIX)keensolver $(BINPREFIX)latincheck $(BINPREFIX)lightup $(BINPREFIX)lightupsolver $(BINPREFIX)loopy $(BINPREFIX)loopysolver $(BINPREFIX)magnets $(BINPREFIX)magnetssolver $(BINPREFIX)map $(BINPREFIX)mapsolver $(BINPREFIX)mineobfusc $(BINPREFIX)mines $(BINPREFIX)net $(BINPREFIX)netslide $(BINPREFIX)nullgame $(BINPREFIX)obfusc $(BINPREFIX)palisade $(BINPREFIX)pattern $(BINPREFIX)patternpicture $(BINPREFIX)patternsolver $(BINPREFIX)pearl $(BINPREFIX)pearlbench $(BINPREFIX)pegs $(BINPREFIX)range $(BINPREFIX)rect $(BINPREFIX)samegame $(BINPREFIX)signpost $(BINPREFIX)signpostsolver $(BINPREFIX)singles $(BINPREFIX)singlessolver $(BINPREFIX)sixteen $(BINPREFIX)slant $(BINPREFIX)slantsolver $(BINPREFIX)solo $(BINPREFIX)solosolver $(BINPREFIX)tents $(BINPREFIX)tentssolver $(BINPREFIX)towers $(BINPREFIX)towerssolver $(BINPREFIX)tracks $(BINPREFIX)twiddle $(BINPREFIX)undead $(BINPREFIX)unequal $(BINPREFIX)unequalsolver $(BINPREFIX)unruly $(BINPREFIX)unrulysolver $(BINPREFIX)untangle diff --git a/apps/plugins/puzzles/src/Makefile.in b/apps/plugins/puzzles/src/Makefile.in new file mode 100644 index 0000000000..b86194f893 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.in @@ -0,0 +1,2611 @@ +# Makefile.in generated by automake 1.15 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2014 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. + +@SET_MAKE@ + +# Makefile.am for puzzles under Unix with Autoconf/Automake. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +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 = : +noinst_PROGRAMS = blackbox$(EXEEXT) bridges$(EXEEXT) cube$(EXEEXT) \ + dominosa$(EXEEXT) fifteen$(EXEEXT) fifteensolver$(EXEEXT) \ + filling$(EXEEXT) fillingsolver$(EXEEXT) flip$(EXEEXT) \ + flood$(EXEEXT) galaxies$(EXEEXT) galaxiespicture$(EXEEXT) \ + galaxiessolver$(EXEEXT) guess$(EXEEXT) inertia$(EXEEXT) \ + keen$(EXEEXT) keensolver$(EXEEXT) latincheck$(EXEEXT) \ + lightup$(EXEEXT) lightupsolver$(EXEEXT) loopy$(EXEEXT) \ + loopysolver$(EXEEXT) magnets$(EXEEXT) magnetssolver$(EXEEXT) \ + map$(EXEEXT) mapsolver$(EXEEXT) mineobfusc$(EXEEXT) \ + mines$(EXEEXT) net$(EXEEXT) netslide$(EXEEXT) \ + nullgame$(EXEEXT) obfusc$(EXEEXT) palisade$(EXEEXT) \ + pattern$(EXEEXT) patternpicture$(EXEEXT) \ + patternsolver$(EXEEXT) pearl$(EXEEXT) pearlbench$(EXEEXT) \ + pegs$(EXEEXT) range$(EXEEXT) rect$(EXEEXT) samegame$(EXEEXT) \ + signpost$(EXEEXT) signpostsolver$(EXEEXT) singles$(EXEEXT) \ + singlessolver$(EXEEXT) sixteen$(EXEEXT) slant$(EXEEXT) \ + slantsolver$(EXEEXT) solo$(EXEEXT) solosolver$(EXEEXT) \ + tents$(EXEEXT) tentssolver$(EXEEXT) towers$(EXEEXT) \ + towerssolver$(EXEEXT) tracks$(EXEEXT) twiddle$(EXEEXT) \ + undead$(EXEEXT) unequal$(EXEEXT) unequalsolver$(EXEEXT) \ + unruly$(EXEEXT) unrulysolver$(EXEEXT) untangle$(EXEEXT) +bin_PROGRAMS = $(am__EXEEXT_1) +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +AM_V_AR = $(am__v_AR_@AM_V@) +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +am__v_AR_0 = @echo " AR " $@; +am__v_AR_1 = +libfifteen2_a_AR = $(AR) $(ARFLAGS) +libfifteen2_a_LIBADD = +am__dirstamp = $(am__leading_dot)dirstamp +am_libfifteen2_a_OBJECTS = ./libfifteen2_a-fifteen.$(OBJEXT) +libfifteen2_a_OBJECTS = $(am_libfifteen2_a_OBJECTS) +libfilling2_a_AR = $(AR) $(ARFLAGS) +libfilling2_a_LIBADD = +am_libfilling2_a_OBJECTS = ./libfilling2_a-filling.$(OBJEXT) +libfilling2_a_OBJECTS = $(am_libfilling2_a_OBJECTS) +libgalaxie2_a_AR = $(AR) $(ARFLAGS) +libgalaxie2_a_LIBADD = +am_libgalaxie2_a_OBJECTS = ./libgalaxie2_a-galaxies.$(OBJEXT) +libgalaxie2_a_OBJECTS = $(am_libgalaxie2_a_OBJECTS) +libgalaxie4_a_AR = $(AR) $(ARFLAGS) +libgalaxie4_a_LIBADD = +am_libgalaxie4_a_OBJECTS = ./libgalaxie4_a-galaxies.$(OBJEXT) +libgalaxie4_a_OBJECTS = $(am_libgalaxie4_a_OBJECTS) +libkeen2_a_AR = $(AR) $(ARFLAGS) +libkeen2_a_LIBADD = +am_libkeen2_a_OBJECTS = ./libkeen2_a-keen.$(OBJEXT) +libkeen2_a_OBJECTS = $(am_libkeen2_a_OBJECTS) +liblatin6_a_AR = $(AR) $(ARFLAGS) +liblatin6_a_LIBADD = +am_liblatin6_a_OBJECTS = ./liblatin6_a-latin.$(OBJEXT) +liblatin6_a_OBJECTS = $(am_liblatin6_a_OBJECTS) +liblatin8_a_AR = $(AR) $(ARFLAGS) +liblatin8_a_LIBADD = +am_liblatin8_a_OBJECTS = ./liblatin8_a-latin.$(OBJEXT) +liblatin8_a_OBJECTS = $(am_liblatin8_a_OBJECTS) +liblightup2_a_AR = $(AR) $(ARFLAGS) +liblightup2_a_LIBADD = +am_liblightup2_a_OBJECTS = ./liblightup2_a-lightup.$(OBJEXT) +liblightup2_a_OBJECTS = $(am_liblightup2_a_OBJECTS) +libloopy2_a_AR = $(AR) $(ARFLAGS) +libloopy2_a_LIBADD = +am_libloopy2_a_OBJECTS = ./libloopy2_a-loopy.$(OBJEXT) +libloopy2_a_OBJECTS = $(am_libloopy2_a_OBJECTS) +libmagnets2_a_AR = $(AR) $(ARFLAGS) +libmagnets2_a_LIBADD = +am_libmagnets2_a_OBJECTS = ./libmagnets2_a-magnets.$(OBJEXT) +libmagnets2_a_OBJECTS = $(am_libmagnets2_a_OBJECTS) +libmap2_a_AR = $(AR) $(ARFLAGS) +libmap2_a_LIBADD = +am_libmap2_a_OBJECTS = ./libmap2_a-map.$(OBJEXT) +libmap2_a_OBJECTS = $(am_libmap2_a_OBJECTS) +libmines2_a_AR = $(AR) $(ARFLAGS) +libmines2_a_LIBADD = +am_libmines2_a_OBJECTS = ./libmines2_a-mines.$(OBJEXT) +libmines2_a_OBJECTS = $(am_libmines2_a_OBJECTS) +libpattern2_a_AR = $(AR) $(ARFLAGS) +libpattern2_a_LIBADD = +am_libpattern2_a_OBJECTS = ./libpattern2_a-pattern.$(OBJEXT) +libpattern2_a_OBJECTS = $(am_libpattern2_a_OBJECTS) +libpattern4_a_AR = $(AR) $(ARFLAGS) +libpattern4_a_LIBADD = +am_libpattern4_a_OBJECTS = ./libpattern4_a-pattern.$(OBJEXT) +libpattern4_a_OBJECTS = $(am_libpattern4_a_OBJECTS) +libpearl2_a_AR = $(AR) $(ARFLAGS) +libpearl2_a_LIBADD = +am_libpearl2_a_OBJECTS = ./libpearl2_a-pearl.$(OBJEXT) +libpearl2_a_OBJECTS = $(am_libpearl2_a_OBJECTS) +libsignpos2_a_AR = $(AR) $(ARFLAGS) +libsignpos2_a_LIBADD = +am_libsignpos2_a_OBJECTS = ./libsignpos2_a-signpost.$(OBJEXT) +libsignpos2_a_OBJECTS = $(am_libsignpos2_a_OBJECTS) +libsingles3_a_AR = $(AR) $(ARFLAGS) +libsingles3_a_LIBADD = +am_libsingles3_a_OBJECTS = ./libsingles3_a-singles.$(OBJEXT) +libsingles3_a_OBJECTS = $(am_libsingles3_a_OBJECTS) +libslant2_a_AR = $(AR) $(ARFLAGS) +libslant2_a_LIBADD = +am_libslant2_a_OBJECTS = ./libslant2_a-slant.$(OBJEXT) +libslant2_a_OBJECTS = $(am_libslant2_a_OBJECTS) +libsolo2_a_AR = $(AR) $(ARFLAGS) +libsolo2_a_LIBADD = +am_libsolo2_a_OBJECTS = ./libsolo2_a-solo.$(OBJEXT) +libsolo2_a_OBJECTS = $(am_libsolo2_a_OBJECTS) +libtents3_a_AR = $(AR) $(ARFLAGS) +libtents3_a_LIBADD = +am_libtents3_a_OBJECTS = ./libtents3_a-tents.$(OBJEXT) +libtents3_a_OBJECTS = $(am_libtents3_a_OBJECTS) +libtowers2_a_AR = $(AR) $(ARFLAGS) +libtowers2_a_LIBADD = +am_libtowers2_a_OBJECTS = ./libtowers2_a-towers.$(OBJEXT) +libtowers2_a_OBJECTS = $(am_libtowers2_a_OBJECTS) +libunequal2_a_AR = $(AR) $(ARFLAGS) +libunequal2_a_LIBADD = +am_libunequal2_a_OBJECTS = ./libunequal2_a-unequal.$(OBJEXT) +libunequal2_a_OBJECTS = $(am_libunequal2_a_OBJECTS) +libunruly2_a_AR = $(AR) $(ARFLAGS) +libunruly2_a_LIBADD = +am_libunruly2_a_OBJECTS = ./libunruly2_a-unruly.$(OBJEXT) +libunruly2_a_OBJECTS = $(am_libunruly2_a_OBJECTS) +am__EXEEXT_1 = blackbox$(EXEEXT) bridges$(EXEEXT) cube$(EXEEXT) \ + dominosa$(EXEEXT) fifteen$(EXEEXT) filling$(EXEEXT) \ + flip$(EXEEXT) flood$(EXEEXT) galaxies$(EXEEXT) guess$(EXEEXT) \ + inertia$(EXEEXT) keen$(EXEEXT) lightup$(EXEEXT) loopy$(EXEEXT) \ + magnets$(EXEEXT) map$(EXEEXT) mines$(EXEEXT) net$(EXEEXT) \ + netslide$(EXEEXT) palisade$(EXEEXT) pattern$(EXEEXT) \ + pearl$(EXEEXT) pegs$(EXEEXT) range$(EXEEXT) rect$(EXEEXT) \ + samegame$(EXEEXT) signpost$(EXEEXT) singles$(EXEEXT) \ + sixteen$(EXEEXT) slant$(EXEEXT) solo$(EXEEXT) tents$(EXEEXT) \ + towers$(EXEEXT) tracks$(EXEEXT) twiddle$(EXEEXT) \ + undead$(EXEEXT) unequal$(EXEEXT) unruly$(EXEEXT) \ + untangle$(EXEEXT) +am__installdirs = "$(DESTDIR)$(bindir)" +PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) +am_blackbox_OBJECTS = ./blackbox.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +blackbox_OBJECTS = $(am_blackbox_OBJECTS) +am__DEPENDENCIES_1 = +blackbox_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_bridges_OBJECTS = ./bridges.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./dsf.$(OBJEXT) ./findloop.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./version.$(OBJEXT) +bridges_OBJECTS = $(am_bridges_OBJECTS) +bridges_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_cube_OBJECTS = ./cube.$(OBJEXT) ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./version.$(OBJEXT) +cube_OBJECTS = $(am_cube_OBJECTS) +cube_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_dominosa_OBJECTS = ./dominosa.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./laydomino.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./version.$(OBJEXT) +dominosa_OBJECTS = $(am_dominosa_OBJECTS) +dominosa_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_fifteen_OBJECTS = ./drawing.$(OBJEXT) ./fifteen.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +fifteen_OBJECTS = $(am_fifteen_OBJECTS) +fifteen_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_fifteensolver_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +fifteensolver_OBJECTS = $(am_fifteensolver_OBJECTS) +fifteensolver_DEPENDENCIES = libfifteen2_a-fifteen.$(OBJEXT) +am_filling_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./filling.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./version.$(OBJEXT) +filling_OBJECTS = $(am_filling_OBJECTS) +filling_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_fillingsolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +fillingsolver_OBJECTS = $(am_fillingsolver_OBJECTS) +fillingsolver_DEPENDENCIES = libfilling2_a-filling.$(OBJEXT) +am_flip_OBJECTS = ./drawing.$(OBJEXT) ./flip.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./tree234.$(OBJEXT) ./version.$(OBJEXT) +flip_OBJECTS = $(am_flip_OBJECTS) +flip_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_flood_OBJECTS = ./drawing.$(OBJEXT) ./flood.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +flood_OBJECTS = $(am_flood_OBJECTS) +flood_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_galaxies_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./galaxies.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./version.$(OBJEXT) +galaxies_OBJECTS = $(am_galaxies_OBJECTS) +galaxies_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_galaxiespicture_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +galaxiespicture_OBJECTS = $(am_galaxiespicture_OBJECTS) +galaxiespicture_DEPENDENCIES = libgalaxie4_a-galaxies.$(OBJEXT) +am_galaxiessolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +galaxiessolver_OBJECTS = $(am_galaxiessolver_OBJECTS) +galaxiessolver_DEPENDENCIES = libgalaxie2_a-galaxies.$(OBJEXT) +am_guess_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./guess.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +guess_OBJECTS = $(am_guess_OBJECTS) +guess_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_inertia_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./inertia.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +inertia_OBJECTS = $(am_inertia_OBJECTS) +inertia_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_keen_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./keen.$(OBJEXT) ./latin.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./maxflow.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./tree234.$(OBJEXT) ./version.$(OBJEXT) +keen_OBJECTS = $(am_keen_OBJECTS) +keen_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_keensolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./maxflow.$(OBJEXT) ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) \ + ./random.$(OBJEXT) ./tree234.$(OBJEXT) +keensolver_OBJECTS = $(am_keensolver_OBJECTS) +keensolver_DEPENDENCIES = libkeen2_a-keen.$(OBJEXT) \ + liblatin6_a-latin.$(OBJEXT) +am_latincheck_OBJECTS = ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) +latincheck_OBJECTS = $(am_latincheck_OBJECTS) +latincheck_DEPENDENCIES = liblatin8_a-latin.$(OBJEXT) +am_lightup_OBJECTS = ./combi.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./lightup.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./version.$(OBJEXT) +lightup_OBJECTS = $(am_lightup_OBJECTS) +lightup_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_lightupsolver_OBJECTS = ./combi.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +lightupsolver_OBJECTS = $(am_lightupsolver_OBJECTS) +lightupsolver_DEPENDENCIES = liblightup2_a-lightup.$(OBJEXT) +am_loopy_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./grid.$(OBJEXT) ./gtk.$(OBJEXT) ./loopgen.$(OBJEXT) \ + ./loopy.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./penrose.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) ./version.$(OBJEXT) +loopy_OBJECTS = $(am_loopy_OBJECTS) +loopy_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_loopysolver_OBJECTS = ./dsf.$(OBJEXT) ./grid.$(OBJEXT) \ + ./loopgen.$(OBJEXT) ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./penrose.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) +loopysolver_OBJECTS = $(am_loopysolver_OBJECTS) +loopysolver_DEPENDENCIES = libloopy2_a-loopy.$(OBJEXT) +am_magnets_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./laydomino.$(OBJEXT) ./magnets.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./version.$(OBJEXT) +magnets_OBJECTS = $(am_magnets_OBJECTS) +magnets_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_magnetssolver_OBJECTS = ./laydomino.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +magnetssolver_OBJECTS = $(am_magnetssolver_OBJECTS) +magnetssolver_DEPENDENCIES = libmagnets2_a-magnets.$(OBJEXT) +am_map_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./map.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +map_OBJECTS = $(am_map_OBJECTS) +map_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_mapsolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +mapsolver_OBJECTS = $(am_mapsolver_OBJECTS) +mapsolver_DEPENDENCIES = libmap2_a-map.$(OBJEXT) +am_mineobfusc_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) ./tree234.$(OBJEXT) +mineobfusc_OBJECTS = $(am_mineobfusc_OBJECTS) +mineobfusc_DEPENDENCIES = libmines2_a-mines.$(OBJEXT) +am_mines_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./mines.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./tree234.$(OBJEXT) \ + ./version.$(OBJEXT) +mines_OBJECTS = $(am_mines_OBJECTS) +mines_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_net_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./findloop.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./net.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./tree234.$(OBJEXT) ./version.$(OBJEXT) +net_OBJECTS = $(am_net_OBJECTS) +net_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_netslide_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./netslide.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./tree234.$(OBJEXT) \ + ./version.$(OBJEXT) +netslide_OBJECTS = $(am_netslide_OBJECTS) +netslide_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_nullgame_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./nullgame.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +nullgame_OBJECTS = $(am_nullgame_OBJECTS) +nullgame_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_obfusc_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./obfusc.$(OBJEXT) ./random.$(OBJEXT) +obfusc_OBJECTS = $(am_obfusc_OBJECTS) +obfusc_DEPENDENCIES = +am_palisade_OBJECTS = ./divvy.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./palisade.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./version.$(OBJEXT) +palisade_OBJECTS = $(am_palisade_OBJECTS) +palisade_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_pattern_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./pattern.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./version.$(OBJEXT) +pattern_OBJECTS = $(am_pattern_OBJECTS) +pattern_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_patternpicture_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +patternpicture_OBJECTS = $(am_patternpicture_OBJECTS) +patternpicture_DEPENDENCIES = libpattern4_a-pattern.$(OBJEXT) +am_patternsolver_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +patternsolver_OBJECTS = $(am_patternsolver_OBJECTS) +patternsolver_DEPENDENCIES = libpattern2_a-pattern.$(OBJEXT) +am_pearl_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./grid.$(OBJEXT) ./gtk.$(OBJEXT) ./loopgen.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./pearl.$(OBJEXT) ./penrose.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./tdq.$(OBJEXT) ./tree234.$(OBJEXT) ./version.$(OBJEXT) +pearl_OBJECTS = $(am_pearl_OBJECTS) +pearl_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_pearlbench_OBJECTS = ./dsf.$(OBJEXT) ./grid.$(OBJEXT) \ + ./loopgen.$(OBJEXT) ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./penrose.$(OBJEXT) ./random.$(OBJEXT) \ + ./tdq.$(OBJEXT) ./tree234.$(OBJEXT) +pearlbench_OBJECTS = $(am_pearlbench_OBJECTS) +pearlbench_DEPENDENCIES = libpearl2_a-pearl.$(OBJEXT) +am_pegs_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./pegs.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./tree234.$(OBJEXT) \ + ./version.$(OBJEXT) +pegs_OBJECTS = $(am_pegs_OBJECTS) +pegs_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_range_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./range.$(OBJEXT) ./version.$(OBJEXT) +range_OBJECTS = $(am_range_OBJECTS) +range_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_rect_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./rect.$(OBJEXT) ./version.$(OBJEXT) +rect_OBJECTS = $(am_rect_OBJECTS) +rect_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_samegame_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./samegame.$(OBJEXT) ./version.$(OBJEXT) +samegame_OBJECTS = $(am_samegame_OBJECTS) +samegame_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_signpost_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./signpost.$(OBJEXT) \ + ./version.$(OBJEXT) +signpost_OBJECTS = $(am_signpost_OBJECTS) +signpost_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_signpostsolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +signpostsolver_OBJECTS = $(am_signpostsolver_OBJECTS) +signpostsolver_DEPENDENCIES = libsignpos2_a-signpost.$(OBJEXT) +am_singles_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./gtk.$(OBJEXT) ./latin.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./maxflow.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./singles.$(OBJEXT) ./tree234.$(OBJEXT) \ + ./version.$(OBJEXT) +singles_OBJECTS = $(am_singles_OBJECTS) +singles_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_singlessolver_OBJECTS = ./dsf.$(OBJEXT) ./latin.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) ./tree234.$(OBJEXT) +singlessolver_OBJECTS = $(am_singlessolver_OBJECTS) +singlessolver_DEPENDENCIES = libsingles3_a-singles.$(OBJEXT) +am_sixteen_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./sixteen.$(OBJEXT) ./version.$(OBJEXT) +sixteen_OBJECTS = $(am_sixteen_OBJECTS) +sixteen_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_slant_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./findloop.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./slant.$(OBJEXT) ./version.$(OBJEXT) +slant_OBJECTS = $(am_slant_OBJECTS) +slant_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_slantsolver_OBJECTS = ./dsf.$(OBJEXT) ./findloop.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) \ + ./random.$(OBJEXT) +slantsolver_OBJECTS = $(am_slantsolver_OBJECTS) +slantsolver_DEPENDENCIES = libslant2_a-slant.$(OBJEXT) +am_solo_OBJECTS = ./divvy.$(OBJEXT) ./drawing.$(OBJEXT) \ + ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./solo.$(OBJEXT) ./version.$(OBJEXT) +solo_OBJECTS = $(am_solo_OBJECTS) +solo_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_solosolver_OBJECTS = ./divvy.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) \ + ./random.$(OBJEXT) +solosolver_OBJECTS = $(am_solosolver_OBJECTS) +solosolver_DEPENDENCIES = libsolo2_a-solo.$(OBJEXT) +am_tents_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) ./midend.$(OBJEXT) \ + ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) \ + ./ps.$(OBJEXT) ./random.$(OBJEXT) ./tents.$(OBJEXT) \ + ./version.$(OBJEXT) +tents_OBJECTS = $(am_tents_OBJECTS) +tents_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_tentssolver_OBJECTS = ./dsf.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./maxflow.$(OBJEXT) ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) \ + ./random.$(OBJEXT) +tentssolver_OBJECTS = $(am_tentssolver_OBJECTS) +tentssolver_DEPENDENCIES = libtents3_a-tents.$(OBJEXT) +am_towers_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./latin.$(OBJEXT) ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./towers.$(OBJEXT) ./tree234.$(OBJEXT) ./version.$(OBJEXT) +towers_OBJECTS = $(am_towers_OBJECTS) +towers_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_towerssolver_OBJECTS = ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) +towerssolver_OBJECTS = $(am_towerssolver_OBJECTS) +towerssolver_DEPENDENCIES = liblatin6_a-latin.$(OBJEXT) \ + libtowers2_a-towers.$(OBJEXT) +am_tracks_OBJECTS = ./drawing.$(OBJEXT) ./dsf.$(OBJEXT) \ + ./findloop.$(OBJEXT) ./gtk.$(OBJEXT) ./malloc.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./tracks.$(OBJEXT) ./version.$(OBJEXT) +tracks_OBJECTS = $(am_tracks_OBJECTS) +tracks_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_twiddle_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./twiddle.$(OBJEXT) ./version.$(OBJEXT) +twiddle_OBJECTS = $(am_twiddle_OBJECTS) +twiddle_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_undead_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./undead.$(OBJEXT) ./version.$(OBJEXT) +undead_OBJECTS = $(am_undead_OBJECTS) +undead_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_unequal_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./latin.$(OBJEXT) ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) \ + ./midend.$(OBJEXT) ./misc.$(OBJEXT) ./no-icon.$(OBJEXT) \ + ./printing.$(OBJEXT) ./ps.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) ./unequal.$(OBJEXT) ./version.$(OBJEXT) +unequal_OBJECTS = $(am_unequal_OBJECTS) +unequal_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_unequalsolver_OBJECTS = ./malloc.$(OBJEXT) ./maxflow.$(OBJEXT) \ + ./misc.$(OBJEXT) ./nullfe.$(OBJEXT) ./random.$(OBJEXT) \ + ./tree234.$(OBJEXT) +unequalsolver_OBJECTS = $(am_unequalsolver_OBJECTS) +unequalsolver_DEPENDENCIES = liblatin6_a-latin.$(OBJEXT) \ + libunequal2_a-unequal.$(OBJEXT) +am_unruly_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./unruly.$(OBJEXT) ./version.$(OBJEXT) +unruly_OBJECTS = $(am_unruly_OBJECTS) +unruly_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_unrulysolver_OBJECTS = ./malloc.$(OBJEXT) ./misc.$(OBJEXT) \ + ./nullfe.$(OBJEXT) ./random.$(OBJEXT) +unrulysolver_OBJECTS = $(am_unrulysolver_OBJECTS) +unrulysolver_DEPENDENCIES = libunruly2_a-unruly.$(OBJEXT) +am_untangle_OBJECTS = ./drawing.$(OBJEXT) ./gtk.$(OBJEXT) \ + ./malloc.$(OBJEXT) ./midend.$(OBJEXT) ./misc.$(OBJEXT) \ + ./no-icon.$(OBJEXT) ./printing.$(OBJEXT) ./ps.$(OBJEXT) \ + ./random.$(OBJEXT) ./tree234.$(OBJEXT) ./untangle.$(OBJEXT) \ + ./version.$(OBJEXT) +untangle_OBJECTS = $(am_untangle_OBJECTS) +untangle_DEPENDENCIES = $(am__DEPENDENCIES_1) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libfifteen2_a_SOURCES) $(libfilling2_a_SOURCES) \ + $(libgalaxie2_a_SOURCES) $(libgalaxie4_a_SOURCES) \ + $(libkeen2_a_SOURCES) $(liblatin6_a_SOURCES) \ + $(liblatin8_a_SOURCES) $(liblightup2_a_SOURCES) \ + $(libloopy2_a_SOURCES) $(libmagnets2_a_SOURCES) \ + $(libmap2_a_SOURCES) $(libmines2_a_SOURCES) \ + $(libpattern2_a_SOURCES) $(libpattern4_a_SOURCES) \ + $(libpearl2_a_SOURCES) $(libsignpos2_a_SOURCES) \ + $(libsingles3_a_SOURCES) $(libslant2_a_SOURCES) \ + $(libsolo2_a_SOURCES) $(libtents3_a_SOURCES) \ + $(libtowers2_a_SOURCES) $(libunequal2_a_SOURCES) \ + $(libunruly2_a_SOURCES) $(blackbox_SOURCES) $(bridges_SOURCES) \ + $(cube_SOURCES) $(dominosa_SOURCES) $(fifteen_SOURCES) \ + $(fifteensolver_SOURCES) $(filling_SOURCES) \ + $(fillingsolver_SOURCES) $(flip_SOURCES) $(flood_SOURCES) \ + $(galaxies_SOURCES) $(galaxiespicture_SOURCES) \ + $(galaxiessolver_SOURCES) $(guess_SOURCES) $(inertia_SOURCES) \ + $(keen_SOURCES) $(keensolver_SOURCES) $(latincheck_SOURCES) \ + $(lightup_SOURCES) $(lightupsolver_SOURCES) $(loopy_SOURCES) \ + $(loopysolver_SOURCES) $(magnets_SOURCES) \ + $(magnetssolver_SOURCES) $(map_SOURCES) $(mapsolver_SOURCES) \ + $(mineobfusc_SOURCES) $(mines_SOURCES) $(net_SOURCES) \ + $(netslide_SOURCES) $(nullgame_SOURCES) $(obfusc_SOURCES) \ + $(palisade_SOURCES) $(pattern_SOURCES) \ + $(patternpicture_SOURCES) $(patternsolver_SOURCES) \ + $(pearl_SOURCES) $(pearlbench_SOURCES) $(pegs_SOURCES) \ + $(range_SOURCES) $(rect_SOURCES) $(samegame_SOURCES) \ + $(signpost_SOURCES) $(signpostsolver_SOURCES) \ + $(singles_SOURCES) $(singlessolver_SOURCES) $(sixteen_SOURCES) \ + $(slant_SOURCES) $(slantsolver_SOURCES) $(solo_SOURCES) \ + $(solosolver_SOURCES) $(tents_SOURCES) $(tentssolver_SOURCES) \ + $(towers_SOURCES) $(towerssolver_SOURCES) $(tracks_SOURCES) \ + $(twiddle_SOURCES) $(undead_SOURCES) $(unequal_SOURCES) \ + $(unequalsolver_SOURCES) $(unruly_SOURCES) \ + $(unrulysolver_SOURCES) $(untangle_SOURCES) +DIST_SOURCES = $(libfifteen2_a_SOURCES) $(libfilling2_a_SOURCES) \ + $(libgalaxie2_a_SOURCES) $(libgalaxie4_a_SOURCES) \ + $(libkeen2_a_SOURCES) $(liblatin6_a_SOURCES) \ + $(liblatin8_a_SOURCES) $(liblightup2_a_SOURCES) \ + $(libloopy2_a_SOURCES) $(libmagnets2_a_SOURCES) \ + $(libmap2_a_SOURCES) $(libmines2_a_SOURCES) \ + $(libpattern2_a_SOURCES) $(libpattern4_a_SOURCES) \ + $(libpearl2_a_SOURCES) $(libsignpos2_a_SOURCES) \ + $(libsingles3_a_SOURCES) $(libslant2_a_SOURCES) \ + $(libsolo2_a_SOURCES) $(libtents3_a_SOURCES) \ + $(libtowers2_a_SOURCES) $(libunequal2_a_SOURCES) \ + $(libunruly2_a_SOURCES) $(blackbox_SOURCES) $(bridges_SOURCES) \ + $(cube_SOURCES) $(dominosa_SOURCES) $(fifteen_SOURCES) \ + $(fifteensolver_SOURCES) $(filling_SOURCES) \ + $(fillingsolver_SOURCES) $(flip_SOURCES) $(flood_SOURCES) \ + $(galaxies_SOURCES) $(galaxiespicture_SOURCES) \ + $(galaxiessolver_SOURCES) $(guess_SOURCES) $(inertia_SOURCES) \ + $(keen_SOURCES) $(keensolver_SOURCES) $(latincheck_SOURCES) \ + $(lightup_SOURCES) $(lightupsolver_SOURCES) $(loopy_SOURCES) \ + $(loopysolver_SOURCES) $(magnets_SOURCES) \ + $(magnetssolver_SOURCES) $(map_SOURCES) $(mapsolver_SOURCES) \ + $(mineobfusc_SOURCES) $(mines_SOURCES) $(net_SOURCES) \ + $(netslide_SOURCES) $(nullgame_SOURCES) $(obfusc_SOURCES) \ + $(palisade_SOURCES) $(pattern_SOURCES) \ + $(patternpicture_SOURCES) $(patternsolver_SOURCES) \ + $(pearl_SOURCES) $(pearlbench_SOURCES) $(pegs_SOURCES) \ + $(range_SOURCES) $(rect_SOURCES) $(samegame_SOURCES) \ + $(signpost_SOURCES) $(signpostsolver_SOURCES) \ + $(singles_SOURCES) $(singlessolver_SOURCES) $(sixteen_SOURCES) \ + $(slant_SOURCES) $(slantsolver_SOURCES) $(solo_SOURCES) \ + $(solosolver_SOURCES) $(tents_SOURCES) $(tentssolver_SOURCES) \ + $(towers_SOURCES) $(towerssolver_SOURCES) $(tracks_SOURCES) \ + $(twiddle_SOURCES) $(undead_SOURCES) $(unequal_SOURCES) \ + $(unequalsolver_SOURCES) $(unruly_SOURCES) \ + $(unrulysolver_SOURCES) $(untangle_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +AM_RECURSIVE_TARGETS = cscope +am__DIST_COMMON = $(srcdir)/Makefile.in README compile depcomp \ + install-sh missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +DIST_TARGETS = dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +GAMES = blackbox bridges cube dominosa fifteen filling flip flood \ + galaxies guess inertia keen lightup loopy magnets map mines \ + net netslide palisade pattern pearl pegs range rect samegame \ + signpost singles sixteen slant solo tents towers tracks \ + twiddle undead unequal unruly untangle +AUTOMAKE_OPTIONS = subdir-objects +allsources = ./blackbox.c ./bridges.c ./combi.c ./cube.c ./divvy.c \ + ./dominosa.c ./drawing.c ./dsf.c ./fifteen.c ./filling.c \ + ./findloop.c ./flip.c ./flood.c ./galaxies.c ./grid.c \ + ./grid.h ./gtk.c ./guess.c ./inertia.c ./keen.c ./latin.c \ + ./latin.h ./laydomino.c ./lightup.c ./list.c ./loopgen.c \ + ./loopgen.h ./loopy.c ./magnets.c ./malloc.c ./map.c \ + ./maxflow.c ./maxflow.h ./midend.c ./mines.c ./misc.c \ + ./net.c ./netslide.c ./no-icon.c ./nullfe.c ./nullgame.c \ + ./obfusc.c ./osx.m ./palisade.c ./pattern.c ./pearl.c \ + ./pegs.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./range.c ./rect.c ./resource.h \ + ./samegame.c ./signpost.c ./singles.c ./sixteen.c ./slant.c \ + ./solo.c ./tdq.c ./tents.c ./towers.c ./tracks.c ./tree234.c \ + ./tree234.h ./twiddle.c ./undead.c ./unequal.c ./unruly.c \ + ./untangle.c ./version.c ./version.h ./windows.c + +AM_CPPFLAGS = -I$(srcdir)/./ -I$(srcdir)/icons/ +AM_CFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) +blackbox_SOURCES = ./blackbox.c ./drawing.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +blackbox_LDADD = $(GTK_LIBS) -lm +bridges_SOURCES = ./bridges.c ./drawing.c ./dsf.c ./findloop.c ./gtk.c \ + ./malloc.c ./midend.c ./misc.c ./no-icon.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./version.c ./version.h + +bridges_LDADD = $(GTK_LIBS) -lm +cube_SOURCES = ./cube.c ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h + +cube_LDADD = $(GTK_LIBS) -lm +dominosa_SOURCES = ./dominosa.c ./drawing.c ./gtk.c ./laydomino.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h + +dominosa_LDADD = $(GTK_LIBS) -lm +fifteen_SOURCES = ./drawing.c ./fifteen.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +fifteen_LDADD = $(GTK_LIBS) -lm +fifteensolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +fifteensolver_LDADD = libfifteen2_a-fifteen.$(OBJEXT) -lm +filling_SOURCES = ./drawing.c ./dsf.c ./filling.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h + +filling_LDADD = $(GTK_LIBS) -lm +fillingsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +fillingsolver_LDADD = libfilling2_a-filling.$(OBJEXT) -lm +flip_SOURCES = ./drawing.c ./flip.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h + +flip_LDADD = $(GTK_LIBS) -lm +flood_SOURCES = ./drawing.c ./flood.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h + +flood_LDADD = $(GTK_LIBS) -lm +galaxies_SOURCES = ./drawing.c ./dsf.c ./galaxies.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h + +galaxies_LDADD = $(GTK_LIBS) -lm +galaxiespicture_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +galaxiespicture_LDADD = libgalaxie4_a-galaxies.$(OBJEXT) -lm +galaxiessolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +galaxiessolver_LDADD = libgalaxie2_a-galaxies.$(OBJEXT) -lm +guess_SOURCES = ./drawing.c ./gtk.c ./guess.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./version.c ./version.h + +guess_LDADD = $(GTK_LIBS) -lm +inertia_SOURCES = ./drawing.c ./gtk.c ./inertia.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +inertia_LDADD = $(GTK_LIBS) -lm +keen_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./keen.c ./latin.c ./latin.h \ + ./malloc.c ./maxflow.c ./maxflow.h ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h + +keen_LDADD = $(GTK_LIBS) -lm +keensolver_SOURCES = ./dsf.c ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h + +keensolver_LDADD = libkeen2_a-keen.$(OBJEXT) liblatin6_a-latin.$(OBJEXT) -lm +latincheck_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h + +latincheck_LDADD = liblatin8_a-latin.$(OBJEXT) -lm +lightup_SOURCES = ./combi.c ./drawing.c ./gtk.c ./lightup.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h + +lightup_LDADD = $(GTK_LIBS) -lm +lightupsolver_SOURCES = ./combi.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +lightupsolver_LDADD = liblightup2_a-lightup.$(OBJEXT) -lm +loopy_SOURCES = ./drawing.c ./dsf.c ./grid.c ./grid.h ./gtk.c ./loopgen.c \ + ./loopgen.h ./loopy.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h ./version.c \ + ./version.h + +loopy_LDADD = $(GTK_LIBS) -lm +loopysolver_SOURCES = ./dsf.c ./grid.c ./grid.h ./loopgen.c ./loopgen.h \ + ./malloc.c ./misc.c ./nullfe.c ./penrose.c ./penrose.h \ + ./puzzles.h ./random.c ./tree234.c ./tree234.h + +loopysolver_LDADD = libloopy2_a-loopy.$(OBJEXT) -lm +magnets_SOURCES = ./drawing.c ./gtk.c ./laydomino.c ./magnets.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./version.c ./version.h + +magnets_LDADD = $(GTK_LIBS) -lm +magnetssolver_SOURCES = ./laydomino.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c + +magnetssolver_LDADD = libmagnets2_a-magnets.$(OBJEXT) -lm +map_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./map.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +map_LDADD = $(GTK_LIBS) -lm +mapsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +mapsolver_LDADD = libmap2_a-map.$(OBJEXT) -lm +mineobfusc_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h + +mineobfusc_LDADD = libmines2_a-mines.$(OBJEXT) -lm +mines_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./mines.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./version.c ./version.h + +mines_LDADD = $(GTK_LIBS) -lm +net_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./net.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h + +net_LDADD = $(GTK_LIBS) -lm +netslide_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./netslide.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h + +netslide_LDADD = $(GTK_LIBS) -lm +nullgame_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./nullgame.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +nullgame_LDADD = $(GTK_LIBS) -lm +obfusc_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./obfusc.c ./puzzles.h \ + ./random.c + +obfusc_LDADD = -lm +palisade_SOURCES = ./divvy.c ./drawing.c ./dsf.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./palisade.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./version.c ./version.h + +palisade_LDADD = $(GTK_LIBS) -lm +pattern_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./pattern.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./version.c ./version.h + +pattern_LDADD = $(GTK_LIBS) -lm +patternpicture_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +patternpicture_LDADD = libpattern4_a-pattern.$(OBJEXT) -lm +patternsolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +patternsolver_LDADD = libpattern2_a-pattern.$(OBJEXT) -lm +pearl_SOURCES = ./drawing.c ./dsf.c ./grid.c ./grid.h ./gtk.c ./loopgen.c \ + ./loopgen.h ./malloc.c ./midend.c ./misc.c ./no-icon.c \ + ./pearl.c ./penrose.c ./penrose.h ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tdq.c ./tree234.c ./tree234.h \ + ./version.c ./version.h + +pearl_LDADD = $(GTK_LIBS) -lm +pearlbench_SOURCES = ./dsf.c ./grid.c ./grid.h ./loopgen.c ./loopgen.h \ + ./malloc.c ./misc.c ./nullfe.c ./penrose.c ./penrose.h \ + ./puzzles.h ./random.c ./tdq.c ./tree234.c ./tree234.h + +pearlbench_LDADD = libpearl2_a-pearl.$(OBJEXT) -lm +pegs_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./pegs.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./tree234.c ./tree234.h ./version.c ./version.h + +pegs_LDADD = $(GTK_LIBS) -lm +range_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./range.c ./version.c ./version.h + +range_LDADD = $(GTK_LIBS) -lm +rect_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./rect.c ./version.c ./version.h + +rect_LDADD = $(GTK_LIBS) -lm +samegame_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./samegame.c ./version.c ./version.h + +samegame_LDADD = $(GTK_LIBS) -lm +signpost_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./signpost.c ./version.c ./version.h + +signpost_LDADD = $(GTK_LIBS) -lm +signpostsolver_SOURCES = ./dsf.c ./malloc.c ./misc.c ./nullfe.c ./puzzles.h \ + ./random.c + +signpostsolver_LDADD = libsignpos2_a-signpost.$(OBJEXT) -lm +singles_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./singles.c \ + ./tree234.c ./tree234.h ./version.c ./version.h + +singles_LDADD = $(GTK_LIBS) -lm +singlessolver_SOURCES = ./dsf.c ./latin.c ./latin.h ./malloc.c ./maxflow.c \ + ./maxflow.h ./misc.c ./nullfe.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h + +singlessolver_LDADD = libsingles3_a-singles.$(OBJEXT) -lm +sixteen_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./sixteen.c ./version.c ./version.h + +sixteen_LDADD = $(GTK_LIBS) -lm +slant_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./slant.c ./version.c ./version.h + +slant_LDADD = $(GTK_LIBS) -lm +slantsolver_SOURCES = ./dsf.c ./findloop.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c + +slantsolver_LDADD = libslant2_a-slant.$(OBJEXT) -lm +solo_SOURCES = ./divvy.c ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./midend.c \ + ./misc.c ./no-icon.c ./printing.c ./ps.c ./puzzles.h \ + ./random.c ./solo.c ./version.c ./version.h + +solo_LDADD = $(GTK_LIBS) -lm +solosolver_SOURCES = ./divvy.c ./dsf.c ./malloc.c ./misc.c ./nullfe.c \ + ./puzzles.h ./random.c + +solosolver_LDADD = libsolo2_a-solo.$(OBJEXT) -lm +tents_SOURCES = ./drawing.c ./dsf.c ./gtk.c ./malloc.c ./maxflow.c \ + ./maxflow.h ./midend.c ./misc.c ./no-icon.c ./printing.c \ + ./ps.c ./puzzles.h ./random.c ./tents.c ./version.c \ + ./version.h + +tents_LDADD = $(GTK_LIBS) -lm +tentssolver_SOURCES = ./dsf.c ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c + +tentssolver_LDADD = libtents3_a-tents.$(OBJEXT) -lm +towers_SOURCES = ./drawing.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./towers.c \ + ./tree234.c ./tree234.h ./version.c ./version.h + +towers_LDADD = $(GTK_LIBS) -lm +towerssolver_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h + +towerssolver_LDADD = liblatin6_a-latin.$(OBJEXT) \ + libtowers2_a-towers.$(OBJEXT) -lm + +tracks_SOURCES = ./drawing.c ./dsf.c ./findloop.c ./gtk.c ./malloc.c \ + ./midend.c ./misc.c ./no-icon.c ./printing.c ./ps.c \ + ./puzzles.h ./random.c ./tracks.c ./version.c ./version.h + +tracks_LDADD = $(GTK_LIBS) -lm +twiddle_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./twiddle.c ./version.c ./version.h + +twiddle_LDADD = $(GTK_LIBS) -lm +undead_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./undead.c ./version.c ./version.h + +undead_LDADD = $(GTK_LIBS) -lm +unequal_SOURCES = ./drawing.c ./gtk.c ./latin.c ./latin.h ./malloc.c \ + ./maxflow.c ./maxflow.h ./midend.c ./misc.c ./no-icon.c \ + ./printing.c ./ps.c ./puzzles.h ./random.c ./tree234.c \ + ./tree234.h ./unequal.c ./version.c ./version.h + +unequal_LDADD = $(GTK_LIBS) -lm +unequalsolver_SOURCES = ./malloc.c ./maxflow.c ./maxflow.h ./misc.c \ + ./nullfe.c ./puzzles.h ./random.c ./tree234.c ./tree234.h + +unequalsolver_LDADD = liblatin6_a-latin.$(OBJEXT) \ + libunequal2_a-unequal.$(OBJEXT) -lm + +unruly_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./unruly.c ./version.c ./version.h + +unruly_LDADD = $(GTK_LIBS) -lm +unrulysolver_SOURCES = ./malloc.c ./misc.c ./nullfe.c ./puzzles.h ./random.c +unrulysolver_LDADD = libunruly2_a-unruly.$(OBJEXT) -lm +untangle_SOURCES = ./drawing.c ./gtk.c ./malloc.c ./midend.c ./misc.c \ + ./no-icon.c ./printing.c ./ps.c ./puzzles.h ./random.c \ + ./tree234.c ./tree234.h ./untangle.c ./version.c ./version.h + +untangle_LDADD = $(GTK_LIBS) -lm +libfifteen2_a_SOURCES = ./fifteen.c ./puzzles.h +libfifteen2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libfilling2_a_SOURCES = ./filling.c ./puzzles.h +libfilling2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libgalaxie2_a_SOURCES = ./galaxies.c ./puzzles.h +libgalaxie2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libgalaxie4_a_SOURCES = ./galaxies.c ./puzzles.h +libgalaxie4_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) \ + -DSTANDALONE_PICTURE_GENERATOR + +libkeen2_a_SOURCES = ./keen.c ./puzzles.h ./latin.h +libkeen2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +liblatin6_a_SOURCES = ./latin.c ./puzzles.h ./tree234.h ./maxflow.h \ + ./latin.h + +liblatin6_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +liblatin8_a_SOURCES = ./latin.c ./puzzles.h ./tree234.h ./maxflow.h \ + ./latin.h + +liblatin8_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_LATIN_TEST +liblightup2_a_SOURCES = ./lightup.c ./puzzles.h +liblightup2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libloopy2_a_SOURCES = ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h +libloopy2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmagnets2_a_SOURCES = ./magnets.c ./puzzles.h +libmagnets2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmap2_a_SOURCES = ./map.c ./puzzles.h +libmap2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libmines2_a_SOURCES = ./mines.c ./tree234.h ./puzzles.h +libmines2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_OBFUSCATOR +libpattern2_a_SOURCES = ./pattern.c ./puzzles.h +libpattern2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libpattern4_a_SOURCES = ./pattern.c ./puzzles.h +libpattern4_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) \ + -DSTANDALONE_PICTURE_GENERATOR + +libpearl2_a_SOURCES = ./pearl.c ./puzzles.h ./grid.h ./loopgen.h +libpearl2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsignpos2_a_SOURCES = ./signpost.c ./puzzles.h +libsignpos2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsingles3_a_SOURCES = ./singles.c ./puzzles.h ./latin.h +libsingles3_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libslant2_a_SOURCES = ./slant.c ./puzzles.h +libslant2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libsolo2_a_SOURCES = ./solo.c ./puzzles.h +libsolo2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libtents3_a_SOURCES = ./tents.c ./puzzles.h ./maxflow.h +libtents3_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libtowers2_a_SOURCES = ./towers.c ./puzzles.h ./latin.h +libtowers2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libunequal2_a_SOURCES = ./unequal.c ./puzzles.h ./latin.h +libunequal2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +libunruly2_a_SOURCES = ./unruly.c ./puzzles.h +libunruly2_a_CPPFLAGS = $(GTK_CFLAGS) $(WARNINGOPTS) -DSTANDALONE_SOLVER +noinst_LIBRARIES = libfifteen2.a libfilling2.a libgalaxie2.a libgalaxie4.a \ + libkeen2.a liblatin6.a liblatin8.a liblightup2.a libloopy2.a \ + libmagnets2.a libmap2.a libmines2.a libpattern2.a \ + libpattern4.a libpearl2.a libsignpos2.a libsingles3.a \ + libslant2.a libsolo2.a libtents3.a libtowers2.a \ + libunequal2.a libunruly2.a + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .o .obj +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +./$(am__dirstamp): + @$(MKDIR_P) . + @: > ./$(am__dirstamp) +$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ./$(DEPDIR) + @: > $(DEPDIR)/$(am__dirstamp) +./libfifteen2_a-fifteen.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libfifteen2.a: $(libfifteen2_a_OBJECTS) $(libfifteen2_a_DEPENDENCIES) $(EXTRA_libfifteen2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libfifteen2.a + $(AM_V_AR)$(libfifteen2_a_AR) libfifteen2.a $(libfifteen2_a_OBJECTS) $(libfifteen2_a_LIBADD) + $(AM_V_at)$(RANLIB) libfifteen2.a +./libfilling2_a-filling.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libfilling2.a: $(libfilling2_a_OBJECTS) $(libfilling2_a_DEPENDENCIES) $(EXTRA_libfilling2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libfilling2.a + $(AM_V_AR)$(libfilling2_a_AR) libfilling2.a $(libfilling2_a_OBJECTS) $(libfilling2_a_LIBADD) + $(AM_V_at)$(RANLIB) libfilling2.a +./libgalaxie2_a-galaxies.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libgalaxie2.a: $(libgalaxie2_a_OBJECTS) $(libgalaxie2_a_DEPENDENCIES) $(EXTRA_libgalaxie2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libgalaxie2.a + $(AM_V_AR)$(libgalaxie2_a_AR) libgalaxie2.a $(libgalaxie2_a_OBJECTS) $(libgalaxie2_a_LIBADD) + $(AM_V_at)$(RANLIB) libgalaxie2.a +./libgalaxie4_a-galaxies.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libgalaxie4.a: $(libgalaxie4_a_OBJECTS) $(libgalaxie4_a_DEPENDENCIES) $(EXTRA_libgalaxie4_a_DEPENDENCIES) + $(AM_V_at)-rm -f libgalaxie4.a + $(AM_V_AR)$(libgalaxie4_a_AR) libgalaxie4.a $(libgalaxie4_a_OBJECTS) $(libgalaxie4_a_LIBADD) + $(AM_V_at)$(RANLIB) libgalaxie4.a +./libkeen2_a-keen.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libkeen2.a: $(libkeen2_a_OBJECTS) $(libkeen2_a_DEPENDENCIES) $(EXTRA_libkeen2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libkeen2.a + $(AM_V_AR)$(libkeen2_a_AR) libkeen2.a $(libkeen2_a_OBJECTS) $(libkeen2_a_LIBADD) + $(AM_V_at)$(RANLIB) libkeen2.a +./liblatin6_a-latin.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +liblatin6.a: $(liblatin6_a_OBJECTS) $(liblatin6_a_DEPENDENCIES) $(EXTRA_liblatin6_a_DEPENDENCIES) + $(AM_V_at)-rm -f liblatin6.a + $(AM_V_AR)$(liblatin6_a_AR) liblatin6.a $(liblatin6_a_OBJECTS) $(liblatin6_a_LIBADD) + $(AM_V_at)$(RANLIB) liblatin6.a +./liblatin8_a-latin.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +liblatin8.a: $(liblatin8_a_OBJECTS) $(liblatin8_a_DEPENDENCIES) $(EXTRA_liblatin8_a_DEPENDENCIES) + $(AM_V_at)-rm -f liblatin8.a + $(AM_V_AR)$(liblatin8_a_AR) liblatin8.a $(liblatin8_a_OBJECTS) $(liblatin8_a_LIBADD) + $(AM_V_at)$(RANLIB) liblatin8.a +./liblightup2_a-lightup.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +liblightup2.a: $(liblightup2_a_OBJECTS) $(liblightup2_a_DEPENDENCIES) $(EXTRA_liblightup2_a_DEPENDENCIES) + $(AM_V_at)-rm -f liblightup2.a + $(AM_V_AR)$(liblightup2_a_AR) liblightup2.a $(liblightup2_a_OBJECTS) $(liblightup2_a_LIBADD) + $(AM_V_at)$(RANLIB) liblightup2.a +./libloopy2_a-loopy.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libloopy2.a: $(libloopy2_a_OBJECTS) $(libloopy2_a_DEPENDENCIES) $(EXTRA_libloopy2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libloopy2.a + $(AM_V_AR)$(libloopy2_a_AR) libloopy2.a $(libloopy2_a_OBJECTS) $(libloopy2_a_LIBADD) + $(AM_V_at)$(RANLIB) libloopy2.a +./libmagnets2_a-magnets.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libmagnets2.a: $(libmagnets2_a_OBJECTS) $(libmagnets2_a_DEPENDENCIES) $(EXTRA_libmagnets2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libmagnets2.a + $(AM_V_AR)$(libmagnets2_a_AR) libmagnets2.a $(libmagnets2_a_OBJECTS) $(libmagnets2_a_LIBADD) + $(AM_V_at)$(RANLIB) libmagnets2.a +./libmap2_a-map.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +libmap2.a: $(libmap2_a_OBJECTS) $(libmap2_a_DEPENDENCIES) $(EXTRA_libmap2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libmap2.a + $(AM_V_AR)$(libmap2_a_AR) libmap2.a $(libmap2_a_OBJECTS) $(libmap2_a_LIBADD) + $(AM_V_at)$(RANLIB) libmap2.a +./libmines2_a-mines.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libmines2.a: $(libmines2_a_OBJECTS) $(libmines2_a_DEPENDENCIES) $(EXTRA_libmines2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libmines2.a + $(AM_V_AR)$(libmines2_a_AR) libmines2.a $(libmines2_a_OBJECTS) $(libmines2_a_LIBADD) + $(AM_V_at)$(RANLIB) libmines2.a +./libpattern2_a-pattern.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libpattern2.a: $(libpattern2_a_OBJECTS) $(libpattern2_a_DEPENDENCIES) $(EXTRA_libpattern2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libpattern2.a + $(AM_V_AR)$(libpattern2_a_AR) libpattern2.a $(libpattern2_a_OBJECTS) $(libpattern2_a_LIBADD) + $(AM_V_at)$(RANLIB) libpattern2.a +./libpattern4_a-pattern.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libpattern4.a: $(libpattern4_a_OBJECTS) $(libpattern4_a_DEPENDENCIES) $(EXTRA_libpattern4_a_DEPENDENCIES) + $(AM_V_at)-rm -f libpattern4.a + $(AM_V_AR)$(libpattern4_a_AR) libpattern4.a $(libpattern4_a_OBJECTS) $(libpattern4_a_LIBADD) + $(AM_V_at)$(RANLIB) libpattern4.a +./libpearl2_a-pearl.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libpearl2.a: $(libpearl2_a_OBJECTS) $(libpearl2_a_DEPENDENCIES) $(EXTRA_libpearl2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libpearl2.a + $(AM_V_AR)$(libpearl2_a_AR) libpearl2.a $(libpearl2_a_OBJECTS) $(libpearl2_a_LIBADD) + $(AM_V_at)$(RANLIB) libpearl2.a +./libsignpos2_a-signpost.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libsignpos2.a: $(libsignpos2_a_OBJECTS) $(libsignpos2_a_DEPENDENCIES) $(EXTRA_libsignpos2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libsignpos2.a + $(AM_V_AR)$(libsignpos2_a_AR) libsignpos2.a $(libsignpos2_a_OBJECTS) $(libsignpos2_a_LIBADD) + $(AM_V_at)$(RANLIB) libsignpos2.a +./libsingles3_a-singles.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libsingles3.a: $(libsingles3_a_OBJECTS) $(libsingles3_a_DEPENDENCIES) $(EXTRA_libsingles3_a_DEPENDENCIES) + $(AM_V_at)-rm -f libsingles3.a + $(AM_V_AR)$(libsingles3_a_AR) libsingles3.a $(libsingles3_a_OBJECTS) $(libsingles3_a_LIBADD) + $(AM_V_at)$(RANLIB) libsingles3.a +./libslant2_a-slant.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libslant2.a: $(libslant2_a_OBJECTS) $(libslant2_a_DEPENDENCIES) $(EXTRA_libslant2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libslant2.a + $(AM_V_AR)$(libslant2_a_AR) libslant2.a $(libslant2_a_OBJECTS) $(libslant2_a_LIBADD) + $(AM_V_at)$(RANLIB) libslant2.a +./libsolo2_a-solo.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libsolo2.a: $(libsolo2_a_OBJECTS) $(libsolo2_a_DEPENDENCIES) $(EXTRA_libsolo2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libsolo2.a + $(AM_V_AR)$(libsolo2_a_AR) libsolo2.a $(libsolo2_a_OBJECTS) $(libsolo2_a_LIBADD) + $(AM_V_at)$(RANLIB) libsolo2.a +./libtents3_a-tents.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libtents3.a: $(libtents3_a_OBJECTS) $(libtents3_a_DEPENDENCIES) $(EXTRA_libtents3_a_DEPENDENCIES) + $(AM_V_at)-rm -f libtents3.a + $(AM_V_AR)$(libtents3_a_AR) libtents3.a $(libtents3_a_OBJECTS) $(libtents3_a_LIBADD) + $(AM_V_at)$(RANLIB) libtents3.a +./libtowers2_a-towers.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libtowers2.a: $(libtowers2_a_OBJECTS) $(libtowers2_a_DEPENDENCIES) $(EXTRA_libtowers2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libtowers2.a + $(AM_V_AR)$(libtowers2_a_AR) libtowers2.a $(libtowers2_a_OBJECTS) $(libtowers2_a_LIBADD) + $(AM_V_at)$(RANLIB) libtowers2.a +./libunequal2_a-unequal.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libunequal2.a: $(libunequal2_a_OBJECTS) $(libunequal2_a_DEPENDENCIES) $(EXTRA_libunequal2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libunequal2.a + $(AM_V_AR)$(libunequal2_a_AR) libunequal2.a $(libunequal2_a_OBJECTS) $(libunequal2_a_LIBADD) + $(AM_V_at)$(RANLIB) libunequal2.a +./libunruly2_a-unruly.$(OBJEXT): ./$(am__dirstamp) \ + $(DEPDIR)/$(am__dirstamp) + +libunruly2.a: $(libunruly2_a_OBJECTS) $(libunruly2_a_DEPENDENCIES) $(EXTRA_libunruly2_a_DEPENDENCIES) + $(AM_V_at)-rm -f libunruly2.a + $(AM_V_AR)$(libunruly2_a_AR) libunruly2.a $(libunruly2_a_OBJECTS) $(libunruly2_a_LIBADD) + $(AM_V_at)$(RANLIB) libunruly2.a +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) +./blackbox.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./drawing.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./gtk.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./malloc.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./midend.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./misc.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./no-icon.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./printing.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./ps.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./random.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./version.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +blackbox$(EXEEXT): $(blackbox_OBJECTS) $(blackbox_DEPENDENCIES) $(EXTRA_blackbox_DEPENDENCIES) + @rm -f blackbox$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(blackbox_OBJECTS) $(blackbox_LDADD) $(LIBS) +./bridges.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./dsf.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./findloop.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +bridges$(EXEEXT): $(bridges_OBJECTS) $(bridges_DEPENDENCIES) $(EXTRA_bridges_DEPENDENCIES) + @rm -f bridges$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(bridges_OBJECTS) $(bridges_LDADD) $(LIBS) +./cube.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +cube$(EXEEXT): $(cube_OBJECTS) $(cube_DEPENDENCIES) $(EXTRA_cube_DEPENDENCIES) + @rm -f cube$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(cube_OBJECTS) $(cube_LDADD) $(LIBS) +./dominosa.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./laydomino.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +dominosa$(EXEEXT): $(dominosa_OBJECTS) $(dominosa_DEPENDENCIES) $(EXTRA_dominosa_DEPENDENCIES) + @rm -f dominosa$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dominosa_OBJECTS) $(dominosa_LDADD) $(LIBS) +./fifteen.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +fifteen$(EXEEXT): $(fifteen_OBJECTS) $(fifteen_DEPENDENCIES) $(EXTRA_fifteen_DEPENDENCIES) + @rm -f fifteen$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fifteen_OBJECTS) $(fifteen_LDADD) $(LIBS) +./nullfe.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +fifteensolver$(EXEEXT): $(fifteensolver_OBJECTS) $(fifteensolver_DEPENDENCIES) $(EXTRA_fifteensolver_DEPENDENCIES) + @rm -f fifteensolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fifteensolver_OBJECTS) $(fifteensolver_LDADD) $(LIBS) +./filling.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +filling$(EXEEXT): $(filling_OBJECTS) $(filling_DEPENDENCIES) $(EXTRA_filling_DEPENDENCIES) + @rm -f filling$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(filling_OBJECTS) $(filling_LDADD) $(LIBS) + +fillingsolver$(EXEEXT): $(fillingsolver_OBJECTS) $(fillingsolver_DEPENDENCIES) $(EXTRA_fillingsolver_DEPENDENCIES) + @rm -f fillingsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fillingsolver_OBJECTS) $(fillingsolver_LDADD) $(LIBS) +./flip.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./tree234.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +flip$(EXEEXT): $(flip_OBJECTS) $(flip_DEPENDENCIES) $(EXTRA_flip_DEPENDENCIES) + @rm -f flip$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(flip_OBJECTS) $(flip_LDADD) $(LIBS) +./flood.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +flood$(EXEEXT): $(flood_OBJECTS) $(flood_DEPENDENCIES) $(EXTRA_flood_DEPENDENCIES) + @rm -f flood$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(flood_OBJECTS) $(flood_LDADD) $(LIBS) +./galaxies.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +galaxies$(EXEEXT): $(galaxies_OBJECTS) $(galaxies_DEPENDENCIES) $(EXTRA_galaxies_DEPENDENCIES) + @rm -f galaxies$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(galaxies_OBJECTS) $(galaxies_LDADD) $(LIBS) + +galaxiespicture$(EXEEXT): $(galaxiespicture_OBJECTS) $(galaxiespicture_DEPENDENCIES) $(EXTRA_galaxiespicture_DEPENDENCIES) + @rm -f galaxiespicture$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(galaxiespicture_OBJECTS) $(galaxiespicture_LDADD) $(LIBS) + +galaxiessolver$(EXEEXT): $(galaxiessolver_OBJECTS) $(galaxiessolver_DEPENDENCIES) $(EXTRA_galaxiessolver_DEPENDENCIES) + @rm -f galaxiessolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(galaxiessolver_OBJECTS) $(galaxiessolver_LDADD) $(LIBS) +./guess.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +guess$(EXEEXT): $(guess_OBJECTS) $(guess_DEPENDENCIES) $(EXTRA_guess_DEPENDENCIES) + @rm -f guess$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(guess_OBJECTS) $(guess_LDADD) $(LIBS) +./inertia.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +inertia$(EXEEXT): $(inertia_OBJECTS) $(inertia_DEPENDENCIES) $(EXTRA_inertia_DEPENDENCIES) + @rm -f inertia$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(inertia_OBJECTS) $(inertia_LDADD) $(LIBS) +./keen.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./latin.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./maxflow.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +keen$(EXEEXT): $(keen_OBJECTS) $(keen_DEPENDENCIES) $(EXTRA_keen_DEPENDENCIES) + @rm -f keen$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(keen_OBJECTS) $(keen_LDADD) $(LIBS) + +keensolver$(EXEEXT): $(keensolver_OBJECTS) $(keensolver_DEPENDENCIES) $(EXTRA_keensolver_DEPENDENCIES) + @rm -f keensolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(keensolver_OBJECTS) $(keensolver_LDADD) $(LIBS) + +latincheck$(EXEEXT): $(latincheck_OBJECTS) $(latincheck_DEPENDENCIES) $(EXTRA_latincheck_DEPENDENCIES) + @rm -f latincheck$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(latincheck_OBJECTS) $(latincheck_LDADD) $(LIBS) +./combi.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./lightup.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +lightup$(EXEEXT): $(lightup_OBJECTS) $(lightup_DEPENDENCIES) $(EXTRA_lightup_DEPENDENCIES) + @rm -f lightup$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(lightup_OBJECTS) $(lightup_LDADD) $(LIBS) + +lightupsolver$(EXEEXT): $(lightupsolver_OBJECTS) $(lightupsolver_DEPENDENCIES) $(EXTRA_lightupsolver_DEPENDENCIES) + @rm -f lightupsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(lightupsolver_OBJECTS) $(lightupsolver_LDADD) $(LIBS) +./grid.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./loopgen.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./loopy.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./penrose.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +loopy$(EXEEXT): $(loopy_OBJECTS) $(loopy_DEPENDENCIES) $(EXTRA_loopy_DEPENDENCIES) + @rm -f loopy$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(loopy_OBJECTS) $(loopy_LDADD) $(LIBS) + +loopysolver$(EXEEXT): $(loopysolver_OBJECTS) $(loopysolver_DEPENDENCIES) $(EXTRA_loopysolver_DEPENDENCIES) + @rm -f loopysolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(loopysolver_OBJECTS) $(loopysolver_LDADD) $(LIBS) +./magnets.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +magnets$(EXEEXT): $(magnets_OBJECTS) $(magnets_DEPENDENCIES) $(EXTRA_magnets_DEPENDENCIES) + @rm -f magnets$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(magnets_OBJECTS) $(magnets_LDADD) $(LIBS) + +magnetssolver$(EXEEXT): $(magnetssolver_OBJECTS) $(magnetssolver_DEPENDENCIES) $(EXTRA_magnetssolver_DEPENDENCIES) + @rm -f magnetssolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(magnetssolver_OBJECTS) $(magnetssolver_LDADD) $(LIBS) +./map.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +map$(EXEEXT): $(map_OBJECTS) $(map_DEPENDENCIES) $(EXTRA_map_DEPENDENCIES) + @rm -f map$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(map_OBJECTS) $(map_LDADD) $(LIBS) + +mapsolver$(EXEEXT): $(mapsolver_OBJECTS) $(mapsolver_DEPENDENCIES) $(EXTRA_mapsolver_DEPENDENCIES) + @rm -f mapsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mapsolver_OBJECTS) $(mapsolver_LDADD) $(LIBS) + +mineobfusc$(EXEEXT): $(mineobfusc_OBJECTS) $(mineobfusc_DEPENDENCIES) $(EXTRA_mineobfusc_DEPENDENCIES) + @rm -f mineobfusc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mineobfusc_OBJECTS) $(mineobfusc_LDADD) $(LIBS) +./mines.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +mines$(EXEEXT): $(mines_OBJECTS) $(mines_DEPENDENCIES) $(EXTRA_mines_DEPENDENCIES) + @rm -f mines$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mines_OBJECTS) $(mines_LDADD) $(LIBS) +./net.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +net$(EXEEXT): $(net_OBJECTS) $(net_DEPENDENCIES) $(EXTRA_net_DEPENDENCIES) + @rm -f net$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(net_OBJECTS) $(net_LDADD) $(LIBS) +./netslide.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +netslide$(EXEEXT): $(netslide_OBJECTS) $(netslide_DEPENDENCIES) $(EXTRA_netslide_DEPENDENCIES) + @rm -f netslide$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(netslide_OBJECTS) $(netslide_LDADD) $(LIBS) +./nullgame.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +nullgame$(EXEEXT): $(nullgame_OBJECTS) $(nullgame_DEPENDENCIES) $(EXTRA_nullgame_DEPENDENCIES) + @rm -f nullgame$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nullgame_OBJECTS) $(nullgame_LDADD) $(LIBS) +./obfusc.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +obfusc$(EXEEXT): $(obfusc_OBJECTS) $(obfusc_DEPENDENCIES) $(EXTRA_obfusc_DEPENDENCIES) + @rm -f obfusc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(obfusc_OBJECTS) $(obfusc_LDADD) $(LIBS) +./divvy.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./palisade.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +palisade$(EXEEXT): $(palisade_OBJECTS) $(palisade_DEPENDENCIES) $(EXTRA_palisade_DEPENDENCIES) + @rm -f palisade$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(palisade_OBJECTS) $(palisade_LDADD) $(LIBS) +./pattern.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +pattern$(EXEEXT): $(pattern_OBJECTS) $(pattern_DEPENDENCIES) $(EXTRA_pattern_DEPENDENCIES) + @rm -f pattern$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pattern_OBJECTS) $(pattern_LDADD) $(LIBS) + +patternpicture$(EXEEXT): $(patternpicture_OBJECTS) $(patternpicture_DEPENDENCIES) $(EXTRA_patternpicture_DEPENDENCIES) + @rm -f patternpicture$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(patternpicture_OBJECTS) $(patternpicture_LDADD) $(LIBS) + +patternsolver$(EXEEXT): $(patternsolver_OBJECTS) $(patternsolver_DEPENDENCIES) $(EXTRA_patternsolver_DEPENDENCIES) + @rm -f patternsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(patternsolver_OBJECTS) $(patternsolver_LDADD) $(LIBS) +./pearl.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) +./tdq.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +pearl$(EXEEXT): $(pearl_OBJECTS) $(pearl_DEPENDENCIES) $(EXTRA_pearl_DEPENDENCIES) + @rm -f pearl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pearl_OBJECTS) $(pearl_LDADD) $(LIBS) + +pearlbench$(EXEEXT): $(pearlbench_OBJECTS) $(pearlbench_DEPENDENCIES) $(EXTRA_pearlbench_DEPENDENCIES) + @rm -f pearlbench$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pearlbench_OBJECTS) $(pearlbench_LDADD) $(LIBS) +./pegs.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +pegs$(EXEEXT): $(pegs_OBJECTS) $(pegs_DEPENDENCIES) $(EXTRA_pegs_DEPENDENCIES) + @rm -f pegs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pegs_OBJECTS) $(pegs_LDADD) $(LIBS) +./range.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +range$(EXEEXT): $(range_OBJECTS) $(range_DEPENDENCIES) $(EXTRA_range_DEPENDENCIES) + @rm -f range$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(range_OBJECTS) $(range_LDADD) $(LIBS) +./rect.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +rect$(EXEEXT): $(rect_OBJECTS) $(rect_DEPENDENCIES) $(EXTRA_rect_DEPENDENCIES) + @rm -f rect$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rect_OBJECTS) $(rect_LDADD) $(LIBS) +./samegame.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +samegame$(EXEEXT): $(samegame_OBJECTS) $(samegame_DEPENDENCIES) $(EXTRA_samegame_DEPENDENCIES) + @rm -f samegame$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(samegame_OBJECTS) $(samegame_LDADD) $(LIBS) +./signpost.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +signpost$(EXEEXT): $(signpost_OBJECTS) $(signpost_DEPENDENCIES) $(EXTRA_signpost_DEPENDENCIES) + @rm -f signpost$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(signpost_OBJECTS) $(signpost_LDADD) $(LIBS) + +signpostsolver$(EXEEXT): $(signpostsolver_OBJECTS) $(signpostsolver_DEPENDENCIES) $(EXTRA_signpostsolver_DEPENDENCIES) + @rm -f signpostsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(signpostsolver_OBJECTS) $(signpostsolver_LDADD) $(LIBS) +./singles.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +singles$(EXEEXT): $(singles_OBJECTS) $(singles_DEPENDENCIES) $(EXTRA_singles_DEPENDENCIES) + @rm -f singles$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(singles_OBJECTS) $(singles_LDADD) $(LIBS) + +singlessolver$(EXEEXT): $(singlessolver_OBJECTS) $(singlessolver_DEPENDENCIES) $(EXTRA_singlessolver_DEPENDENCIES) + @rm -f singlessolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(singlessolver_OBJECTS) $(singlessolver_LDADD) $(LIBS) +./sixteen.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +sixteen$(EXEEXT): $(sixteen_OBJECTS) $(sixteen_DEPENDENCIES) $(EXTRA_sixteen_DEPENDENCIES) + @rm -f sixteen$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sixteen_OBJECTS) $(sixteen_LDADD) $(LIBS) +./slant.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +slant$(EXEEXT): $(slant_OBJECTS) $(slant_DEPENDENCIES) $(EXTRA_slant_DEPENDENCIES) + @rm -f slant$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(slant_OBJECTS) $(slant_LDADD) $(LIBS) + +slantsolver$(EXEEXT): $(slantsolver_OBJECTS) $(slantsolver_DEPENDENCIES) $(EXTRA_slantsolver_DEPENDENCIES) + @rm -f slantsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(slantsolver_OBJECTS) $(slantsolver_LDADD) $(LIBS) +./solo.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +solo$(EXEEXT): $(solo_OBJECTS) $(solo_DEPENDENCIES) $(EXTRA_solo_DEPENDENCIES) + @rm -f solo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(solo_OBJECTS) $(solo_LDADD) $(LIBS) + +solosolver$(EXEEXT): $(solosolver_OBJECTS) $(solosolver_DEPENDENCIES) $(EXTRA_solosolver_DEPENDENCIES) + @rm -f solosolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(solosolver_OBJECTS) $(solosolver_LDADD) $(LIBS) +./tents.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +tents$(EXEEXT): $(tents_OBJECTS) $(tents_DEPENDENCIES) $(EXTRA_tents_DEPENDENCIES) + @rm -f tents$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tents_OBJECTS) $(tents_LDADD) $(LIBS) + +tentssolver$(EXEEXT): $(tentssolver_OBJECTS) $(tentssolver_DEPENDENCIES) $(EXTRA_tentssolver_DEPENDENCIES) + @rm -f tentssolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tentssolver_OBJECTS) $(tentssolver_LDADD) $(LIBS) +./towers.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +towers$(EXEEXT): $(towers_OBJECTS) $(towers_DEPENDENCIES) $(EXTRA_towers_DEPENDENCIES) + @rm -f towers$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(towers_OBJECTS) $(towers_LDADD) $(LIBS) + +towerssolver$(EXEEXT): $(towerssolver_OBJECTS) $(towerssolver_DEPENDENCIES) $(EXTRA_towerssolver_DEPENDENCIES) + @rm -f towerssolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(towerssolver_OBJECTS) $(towerssolver_LDADD) $(LIBS) +./tracks.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +tracks$(EXEEXT): $(tracks_OBJECTS) $(tracks_DEPENDENCIES) $(EXTRA_tracks_DEPENDENCIES) + @rm -f tracks$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tracks_OBJECTS) $(tracks_LDADD) $(LIBS) +./twiddle.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +twiddle$(EXEEXT): $(twiddle_OBJECTS) $(twiddle_DEPENDENCIES) $(EXTRA_twiddle_DEPENDENCIES) + @rm -f twiddle$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(twiddle_OBJECTS) $(twiddle_LDADD) $(LIBS) +./undead.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +undead$(EXEEXT): $(undead_OBJECTS) $(undead_DEPENDENCIES) $(EXTRA_undead_DEPENDENCIES) + @rm -f undead$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(undead_OBJECTS) $(undead_LDADD) $(LIBS) +./unequal.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +unequal$(EXEEXT): $(unequal_OBJECTS) $(unequal_DEPENDENCIES) $(EXTRA_unequal_DEPENDENCIES) + @rm -f unequal$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(unequal_OBJECTS) $(unequal_LDADD) $(LIBS) + +unequalsolver$(EXEEXT): $(unequalsolver_OBJECTS) $(unequalsolver_DEPENDENCIES) $(EXTRA_unequalsolver_DEPENDENCIES) + @rm -f unequalsolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(unequalsolver_OBJECTS) $(unequalsolver_LDADD) $(LIBS) +./unruly.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +unruly$(EXEEXT): $(unruly_OBJECTS) $(unruly_DEPENDENCIES) $(EXTRA_unruly_DEPENDENCIES) + @rm -f unruly$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(unruly_OBJECTS) $(unruly_LDADD) $(LIBS) + +unrulysolver$(EXEEXT): $(unrulysolver_OBJECTS) $(unrulysolver_DEPENDENCIES) $(EXTRA_unrulysolver_DEPENDENCIES) + @rm -f unrulysolver$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(unrulysolver_OBJECTS) $(unrulysolver_LDADD) $(LIBS) +./untangle.$(OBJEXT): ./$(am__dirstamp) $(DEPDIR)/$(am__dirstamp) + +untangle$(EXEEXT): $(untangle_OBJECTS) $(untangle_DEPENDENCIES) $(EXTRA_untangle_DEPENDENCIES) + @rm -f untangle$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(untangle_OBJECTS) $(untangle_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f ./*.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/blackbox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bridges.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/combi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cube.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/divvy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dominosa.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drawing.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fifteen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filling.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findloop.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flip.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flood.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/galaxies.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/guess.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inertia.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/latin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/laydomino.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfifteen2_a-fifteen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfilling2_a-filling.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgalaxie2_a-galaxies.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgalaxie4_a-galaxies.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeen2_a-keen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblatin6_a-latin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblatin8_a-latin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liblightup2_a-lightup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libloopy2_a-loopy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmagnets2_a-magnets.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmap2_a-map.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmines2_a-mines.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpattern2_a-pattern.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpattern4_a-pattern.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpearl2_a-pearl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsignpos2_a-signpost.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsingles3_a-singles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libslant2_a-slant.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsolo2_a-solo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtents3_a-tents.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtowers2_a-towers.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libunequal2_a-unequal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libunruly2_a-unruly.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lightup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loopgen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loopy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/magnets.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/map.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/maxflow.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/midend.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mines.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netslide.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/no-icon.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nullfe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nullgame.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/obfusc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/palisade.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pearl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pegs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/penrose.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printing.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/range.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rect.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/samegame.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signpost.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/singles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sixteen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slant.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/solo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tdq.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tents.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/towers.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tracks.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree234.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twiddle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/undead.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unequal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unruly.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/untangle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +./libfifteen2_a-fifteen.o: ./fifteen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfifteen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libfifteen2_a-fifteen.o -MD -MP -MF $(DEPDIR)/libfifteen2_a-fifteen.Tpo -c -o ./libfifteen2_a-fifteen.o `test -f './fifteen.c' || echo '$(srcdir)/'`./fifteen.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libfifteen2_a-fifteen.Tpo $(DEPDIR)/libfifteen2_a-fifteen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./fifteen.c' object='./libfifteen2_a-fifteen.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfifteen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libfifteen2_a-fifteen.o `test -f './fifteen.c' || echo '$(srcdir)/'`./fifteen.c + +./libfifteen2_a-fifteen.obj: ./fifteen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfifteen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libfifteen2_a-fifteen.obj -MD -MP -MF $(DEPDIR)/libfifteen2_a-fifteen.Tpo -c -o ./libfifteen2_a-fifteen.obj `if test -f './fifteen.c'; then $(CYGPATH_W) './fifteen.c'; else $(CYGPATH_W) '$(srcdir)/./fifteen.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libfifteen2_a-fifteen.Tpo $(DEPDIR)/libfifteen2_a-fifteen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./fifteen.c' object='./libfifteen2_a-fifteen.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfifteen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libfifteen2_a-fifteen.obj `if test -f './fifteen.c'; then $(CYGPATH_W) './fifteen.c'; else $(CYGPATH_W) '$(srcdir)/./fifteen.c'; fi` + +./libfilling2_a-filling.o: ./filling.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfilling2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libfilling2_a-filling.o -MD -MP -MF $(DEPDIR)/libfilling2_a-filling.Tpo -c -o ./libfilling2_a-filling.o `test -f './filling.c' || echo '$(srcdir)/'`./filling.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libfilling2_a-filling.Tpo $(DEPDIR)/libfilling2_a-filling.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./filling.c' object='./libfilling2_a-filling.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfilling2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libfilling2_a-filling.o `test -f './filling.c' || echo '$(srcdir)/'`./filling.c + +./libfilling2_a-filling.obj: ./filling.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfilling2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libfilling2_a-filling.obj -MD -MP -MF $(DEPDIR)/libfilling2_a-filling.Tpo -c -o ./libfilling2_a-filling.obj `if test -f './filling.c'; then $(CYGPATH_W) './filling.c'; else $(CYGPATH_W) '$(srcdir)/./filling.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libfilling2_a-filling.Tpo $(DEPDIR)/libfilling2_a-filling.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./filling.c' object='./libfilling2_a-filling.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfilling2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libfilling2_a-filling.obj `if test -f './filling.c'; then $(CYGPATH_W) './filling.c'; else $(CYGPATH_W) '$(srcdir)/./filling.c'; fi` + +./libgalaxie2_a-galaxies.o: ./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libgalaxie2_a-galaxies.o -MD -MP -MF $(DEPDIR)/libgalaxie2_a-galaxies.Tpo -c -o ./libgalaxie2_a-galaxies.o `test -f './galaxies.c' || echo '$(srcdir)/'`./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgalaxie2_a-galaxies.Tpo $(DEPDIR)/libgalaxie2_a-galaxies.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./galaxies.c' object='./libgalaxie2_a-galaxies.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libgalaxie2_a-galaxies.o `test -f './galaxies.c' || echo '$(srcdir)/'`./galaxies.c + +./libgalaxie2_a-galaxies.obj: ./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libgalaxie2_a-galaxies.obj -MD -MP -MF $(DEPDIR)/libgalaxie2_a-galaxies.Tpo -c -o ./libgalaxie2_a-galaxies.obj `if test -f './galaxies.c'; then $(CYGPATH_W) './galaxies.c'; else $(CYGPATH_W) '$(srcdir)/./galaxies.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgalaxie2_a-galaxies.Tpo $(DEPDIR)/libgalaxie2_a-galaxies.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./galaxies.c' object='./libgalaxie2_a-galaxies.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libgalaxie2_a-galaxies.obj `if test -f './galaxies.c'; then $(CYGPATH_W) './galaxies.c'; else $(CYGPATH_W) '$(srcdir)/./galaxies.c'; fi` + +./libgalaxie4_a-galaxies.o: ./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libgalaxie4_a-galaxies.o -MD -MP -MF $(DEPDIR)/libgalaxie4_a-galaxies.Tpo -c -o ./libgalaxie4_a-galaxies.o `test -f './galaxies.c' || echo '$(srcdir)/'`./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgalaxie4_a-galaxies.Tpo $(DEPDIR)/libgalaxie4_a-galaxies.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./galaxies.c' object='./libgalaxie4_a-galaxies.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libgalaxie4_a-galaxies.o `test -f './galaxies.c' || echo '$(srcdir)/'`./galaxies.c + +./libgalaxie4_a-galaxies.obj: ./galaxies.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libgalaxie4_a-galaxies.obj -MD -MP -MF $(DEPDIR)/libgalaxie4_a-galaxies.Tpo -c -o ./libgalaxie4_a-galaxies.obj `if test -f './galaxies.c'; then $(CYGPATH_W) './galaxies.c'; else $(CYGPATH_W) '$(srcdir)/./galaxies.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgalaxie4_a-galaxies.Tpo $(DEPDIR)/libgalaxie4_a-galaxies.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./galaxies.c' object='./libgalaxie4_a-galaxies.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgalaxie4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libgalaxie4_a-galaxies.obj `if test -f './galaxies.c'; then $(CYGPATH_W) './galaxies.c'; else $(CYGPATH_W) '$(srcdir)/./galaxies.c'; fi` + +./libkeen2_a-keen.o: ./keen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkeen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libkeen2_a-keen.o -MD -MP -MF $(DEPDIR)/libkeen2_a-keen.Tpo -c -o ./libkeen2_a-keen.o `test -f './keen.c' || echo '$(srcdir)/'`./keen.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libkeen2_a-keen.Tpo $(DEPDIR)/libkeen2_a-keen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./keen.c' object='./libkeen2_a-keen.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkeen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libkeen2_a-keen.o `test -f './keen.c' || echo '$(srcdir)/'`./keen.c + +./libkeen2_a-keen.obj: ./keen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkeen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libkeen2_a-keen.obj -MD -MP -MF $(DEPDIR)/libkeen2_a-keen.Tpo -c -o ./libkeen2_a-keen.obj `if test -f './keen.c'; then $(CYGPATH_W) './keen.c'; else $(CYGPATH_W) '$(srcdir)/./keen.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libkeen2_a-keen.Tpo $(DEPDIR)/libkeen2_a-keen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./keen.c' object='./libkeen2_a-keen.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkeen2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libkeen2_a-keen.obj `if test -f './keen.c'; then $(CYGPATH_W) './keen.c'; else $(CYGPATH_W) '$(srcdir)/./keen.c'; fi` + +./liblatin6_a-latin.o: ./latin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin6_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblatin6_a-latin.o -MD -MP -MF $(DEPDIR)/liblatin6_a-latin.Tpo -c -o ./liblatin6_a-latin.o `test -f './latin.c' || echo '$(srcdir)/'`./latin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblatin6_a-latin.Tpo $(DEPDIR)/liblatin6_a-latin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./latin.c' object='./liblatin6_a-latin.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin6_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblatin6_a-latin.o `test -f './latin.c' || echo '$(srcdir)/'`./latin.c + +./liblatin6_a-latin.obj: ./latin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin6_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblatin6_a-latin.obj -MD -MP -MF $(DEPDIR)/liblatin6_a-latin.Tpo -c -o ./liblatin6_a-latin.obj `if test -f './latin.c'; then $(CYGPATH_W) './latin.c'; else $(CYGPATH_W) '$(srcdir)/./latin.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblatin6_a-latin.Tpo $(DEPDIR)/liblatin6_a-latin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./latin.c' object='./liblatin6_a-latin.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin6_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblatin6_a-latin.obj `if test -f './latin.c'; then $(CYGPATH_W) './latin.c'; else $(CYGPATH_W) '$(srcdir)/./latin.c'; fi` + +./liblatin8_a-latin.o: ./latin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin8_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblatin8_a-latin.o -MD -MP -MF $(DEPDIR)/liblatin8_a-latin.Tpo -c -o ./liblatin8_a-latin.o `test -f './latin.c' || echo '$(srcdir)/'`./latin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblatin8_a-latin.Tpo $(DEPDIR)/liblatin8_a-latin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./latin.c' object='./liblatin8_a-latin.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin8_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblatin8_a-latin.o `test -f './latin.c' || echo '$(srcdir)/'`./latin.c + +./liblatin8_a-latin.obj: ./latin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin8_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblatin8_a-latin.obj -MD -MP -MF $(DEPDIR)/liblatin8_a-latin.Tpo -c -o ./liblatin8_a-latin.obj `if test -f './latin.c'; then $(CYGPATH_W) './latin.c'; else $(CYGPATH_W) '$(srcdir)/./latin.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblatin8_a-latin.Tpo $(DEPDIR)/liblatin8_a-latin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./latin.c' object='./liblatin8_a-latin.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblatin8_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblatin8_a-latin.obj `if test -f './latin.c'; then $(CYGPATH_W) './latin.c'; else $(CYGPATH_W) '$(srcdir)/./latin.c'; fi` + +./liblightup2_a-lightup.o: ./lightup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblightup2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblightup2_a-lightup.o -MD -MP -MF $(DEPDIR)/liblightup2_a-lightup.Tpo -c -o ./liblightup2_a-lightup.o `test -f './lightup.c' || echo '$(srcdir)/'`./lightup.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblightup2_a-lightup.Tpo $(DEPDIR)/liblightup2_a-lightup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./lightup.c' object='./liblightup2_a-lightup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblightup2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblightup2_a-lightup.o `test -f './lightup.c' || echo '$(srcdir)/'`./lightup.c + +./liblightup2_a-lightup.obj: ./lightup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblightup2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./liblightup2_a-lightup.obj -MD -MP -MF $(DEPDIR)/liblightup2_a-lightup.Tpo -c -o ./liblightup2_a-lightup.obj `if test -f './lightup.c'; then $(CYGPATH_W) './lightup.c'; else $(CYGPATH_W) '$(srcdir)/./lightup.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liblightup2_a-lightup.Tpo $(DEPDIR)/liblightup2_a-lightup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./lightup.c' object='./liblightup2_a-lightup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblightup2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./liblightup2_a-lightup.obj `if test -f './lightup.c'; then $(CYGPATH_W) './lightup.c'; else $(CYGPATH_W) '$(srcdir)/./lightup.c'; fi` + +./libloopy2_a-loopy.o: ./loopy.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libloopy2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libloopy2_a-loopy.o -MD -MP -MF $(DEPDIR)/libloopy2_a-loopy.Tpo -c -o ./libloopy2_a-loopy.o `test -f './loopy.c' || echo '$(srcdir)/'`./loopy.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libloopy2_a-loopy.Tpo $(DEPDIR)/libloopy2_a-loopy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./loopy.c' object='./libloopy2_a-loopy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libloopy2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libloopy2_a-loopy.o `test -f './loopy.c' || echo '$(srcdir)/'`./loopy.c + +./libloopy2_a-loopy.obj: ./loopy.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libloopy2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libloopy2_a-loopy.obj -MD -MP -MF $(DEPDIR)/libloopy2_a-loopy.Tpo -c -o ./libloopy2_a-loopy.obj `if test -f './loopy.c'; then $(CYGPATH_W) './loopy.c'; else $(CYGPATH_W) '$(srcdir)/./loopy.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libloopy2_a-loopy.Tpo $(DEPDIR)/libloopy2_a-loopy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./loopy.c' object='./libloopy2_a-loopy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libloopy2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libloopy2_a-loopy.obj `if test -f './loopy.c'; then $(CYGPATH_W) './loopy.c'; else $(CYGPATH_W) '$(srcdir)/./loopy.c'; fi` + +./libmagnets2_a-magnets.o: ./magnets.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmagnets2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmagnets2_a-magnets.o -MD -MP -MF $(DEPDIR)/libmagnets2_a-magnets.Tpo -c -o ./libmagnets2_a-magnets.o `test -f './magnets.c' || echo '$(srcdir)/'`./magnets.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmagnets2_a-magnets.Tpo $(DEPDIR)/libmagnets2_a-magnets.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./magnets.c' object='./libmagnets2_a-magnets.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmagnets2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmagnets2_a-magnets.o `test -f './magnets.c' || echo '$(srcdir)/'`./magnets.c + +./libmagnets2_a-magnets.obj: ./magnets.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmagnets2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmagnets2_a-magnets.obj -MD -MP -MF $(DEPDIR)/libmagnets2_a-magnets.Tpo -c -o ./libmagnets2_a-magnets.obj `if test -f './magnets.c'; then $(CYGPATH_W) './magnets.c'; else $(CYGPATH_W) '$(srcdir)/./magnets.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmagnets2_a-magnets.Tpo $(DEPDIR)/libmagnets2_a-magnets.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./magnets.c' object='./libmagnets2_a-magnets.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmagnets2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmagnets2_a-magnets.obj `if test -f './magnets.c'; then $(CYGPATH_W) './magnets.c'; else $(CYGPATH_W) '$(srcdir)/./magnets.c'; fi` + +./libmap2_a-map.o: ./map.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmap2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmap2_a-map.o -MD -MP -MF $(DEPDIR)/libmap2_a-map.Tpo -c -o ./libmap2_a-map.o `test -f './map.c' || echo '$(srcdir)/'`./map.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmap2_a-map.Tpo $(DEPDIR)/libmap2_a-map.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./map.c' object='./libmap2_a-map.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmap2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmap2_a-map.o `test -f './map.c' || echo '$(srcdir)/'`./map.c + +./libmap2_a-map.obj: ./map.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmap2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmap2_a-map.obj -MD -MP -MF $(DEPDIR)/libmap2_a-map.Tpo -c -o ./libmap2_a-map.obj `if test -f './map.c'; then $(CYGPATH_W) './map.c'; else $(CYGPATH_W) '$(srcdir)/./map.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmap2_a-map.Tpo $(DEPDIR)/libmap2_a-map.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./map.c' object='./libmap2_a-map.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmap2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmap2_a-map.obj `if test -f './map.c'; then $(CYGPATH_W) './map.c'; else $(CYGPATH_W) '$(srcdir)/./map.c'; fi` + +./libmines2_a-mines.o: ./mines.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmines2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmines2_a-mines.o -MD -MP -MF $(DEPDIR)/libmines2_a-mines.Tpo -c -o ./libmines2_a-mines.o `test -f './mines.c' || echo '$(srcdir)/'`./mines.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmines2_a-mines.Tpo $(DEPDIR)/libmines2_a-mines.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./mines.c' object='./libmines2_a-mines.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmines2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmines2_a-mines.o `test -f './mines.c' || echo '$(srcdir)/'`./mines.c + +./libmines2_a-mines.obj: ./mines.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmines2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libmines2_a-mines.obj -MD -MP -MF $(DEPDIR)/libmines2_a-mines.Tpo -c -o ./libmines2_a-mines.obj `if test -f './mines.c'; then $(CYGPATH_W) './mines.c'; else $(CYGPATH_W) '$(srcdir)/./mines.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmines2_a-mines.Tpo $(DEPDIR)/libmines2_a-mines.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./mines.c' object='./libmines2_a-mines.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmines2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libmines2_a-mines.obj `if test -f './mines.c'; then $(CYGPATH_W) './mines.c'; else $(CYGPATH_W) '$(srcdir)/./mines.c'; fi` + +./libpattern2_a-pattern.o: ./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpattern2_a-pattern.o -MD -MP -MF $(DEPDIR)/libpattern2_a-pattern.Tpo -c -o ./libpattern2_a-pattern.o `test -f './pattern.c' || echo '$(srcdir)/'`./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpattern2_a-pattern.Tpo $(DEPDIR)/libpattern2_a-pattern.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pattern.c' object='./libpattern2_a-pattern.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpattern2_a-pattern.o `test -f './pattern.c' || echo '$(srcdir)/'`./pattern.c + +./libpattern2_a-pattern.obj: ./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpattern2_a-pattern.obj -MD -MP -MF $(DEPDIR)/libpattern2_a-pattern.Tpo -c -o ./libpattern2_a-pattern.obj `if test -f './pattern.c'; then $(CYGPATH_W) './pattern.c'; else $(CYGPATH_W) '$(srcdir)/./pattern.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpattern2_a-pattern.Tpo $(DEPDIR)/libpattern2_a-pattern.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pattern.c' object='./libpattern2_a-pattern.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpattern2_a-pattern.obj `if test -f './pattern.c'; then $(CYGPATH_W) './pattern.c'; else $(CYGPATH_W) '$(srcdir)/./pattern.c'; fi` + +./libpattern4_a-pattern.o: ./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpattern4_a-pattern.o -MD -MP -MF $(DEPDIR)/libpattern4_a-pattern.Tpo -c -o ./libpattern4_a-pattern.o `test -f './pattern.c' || echo '$(srcdir)/'`./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpattern4_a-pattern.Tpo $(DEPDIR)/libpattern4_a-pattern.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pattern.c' object='./libpattern4_a-pattern.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpattern4_a-pattern.o `test -f './pattern.c' || echo '$(srcdir)/'`./pattern.c + +./libpattern4_a-pattern.obj: ./pattern.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpattern4_a-pattern.obj -MD -MP -MF $(DEPDIR)/libpattern4_a-pattern.Tpo -c -o ./libpattern4_a-pattern.obj `if test -f './pattern.c'; then $(CYGPATH_W) './pattern.c'; else $(CYGPATH_W) '$(srcdir)/./pattern.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpattern4_a-pattern.Tpo $(DEPDIR)/libpattern4_a-pattern.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pattern.c' object='./libpattern4_a-pattern.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpattern4_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpattern4_a-pattern.obj `if test -f './pattern.c'; then $(CYGPATH_W) './pattern.c'; else $(CYGPATH_W) '$(srcdir)/./pattern.c'; fi` + +./libpearl2_a-pearl.o: ./pearl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpearl2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpearl2_a-pearl.o -MD -MP -MF $(DEPDIR)/libpearl2_a-pearl.Tpo -c -o ./libpearl2_a-pearl.o `test -f './pearl.c' || echo '$(srcdir)/'`./pearl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpearl2_a-pearl.Tpo $(DEPDIR)/libpearl2_a-pearl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pearl.c' object='./libpearl2_a-pearl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpearl2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpearl2_a-pearl.o `test -f './pearl.c' || echo '$(srcdir)/'`./pearl.c + +./libpearl2_a-pearl.obj: ./pearl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpearl2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libpearl2_a-pearl.obj -MD -MP -MF $(DEPDIR)/libpearl2_a-pearl.Tpo -c -o ./libpearl2_a-pearl.obj `if test -f './pearl.c'; then $(CYGPATH_W) './pearl.c'; else $(CYGPATH_W) '$(srcdir)/./pearl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpearl2_a-pearl.Tpo $(DEPDIR)/libpearl2_a-pearl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./pearl.c' object='./libpearl2_a-pearl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpearl2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libpearl2_a-pearl.obj `if test -f './pearl.c'; then $(CYGPATH_W) './pearl.c'; else $(CYGPATH_W) '$(srcdir)/./pearl.c'; fi` + +./libsignpos2_a-signpost.o: ./signpost.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsignpos2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsignpos2_a-signpost.o -MD -MP -MF $(DEPDIR)/libsignpos2_a-signpost.Tpo -c -o ./libsignpos2_a-signpost.o `test -f './signpost.c' || echo '$(srcdir)/'`./signpost.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsignpos2_a-signpost.Tpo $(DEPDIR)/libsignpos2_a-signpost.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./signpost.c' object='./libsignpos2_a-signpost.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsignpos2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsignpos2_a-signpost.o `test -f './signpost.c' || echo '$(srcdir)/'`./signpost.c + +./libsignpos2_a-signpost.obj: ./signpost.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsignpos2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsignpos2_a-signpost.obj -MD -MP -MF $(DEPDIR)/libsignpos2_a-signpost.Tpo -c -o ./libsignpos2_a-signpost.obj `if test -f './signpost.c'; then $(CYGPATH_W) './signpost.c'; else $(CYGPATH_W) '$(srcdir)/./signpost.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsignpos2_a-signpost.Tpo $(DEPDIR)/libsignpos2_a-signpost.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./signpost.c' object='./libsignpos2_a-signpost.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsignpos2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsignpos2_a-signpost.obj `if test -f './signpost.c'; then $(CYGPATH_W) './signpost.c'; else $(CYGPATH_W) '$(srcdir)/./signpost.c'; fi` + +./libsingles3_a-singles.o: ./singles.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsingles3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsingles3_a-singles.o -MD -MP -MF $(DEPDIR)/libsingles3_a-singles.Tpo -c -o ./libsingles3_a-singles.o `test -f './singles.c' || echo '$(srcdir)/'`./singles.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsingles3_a-singles.Tpo $(DEPDIR)/libsingles3_a-singles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./singles.c' object='./libsingles3_a-singles.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsingles3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsingles3_a-singles.o `test -f './singles.c' || echo '$(srcdir)/'`./singles.c + +./libsingles3_a-singles.obj: ./singles.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsingles3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsingles3_a-singles.obj -MD -MP -MF $(DEPDIR)/libsingles3_a-singles.Tpo -c -o ./libsingles3_a-singles.obj `if test -f './singles.c'; then $(CYGPATH_W) './singles.c'; else $(CYGPATH_W) '$(srcdir)/./singles.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsingles3_a-singles.Tpo $(DEPDIR)/libsingles3_a-singles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./singles.c' object='./libsingles3_a-singles.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsingles3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsingles3_a-singles.obj `if test -f './singles.c'; then $(CYGPATH_W) './singles.c'; else $(CYGPATH_W) '$(srcdir)/./singles.c'; fi` + +./libslant2_a-slant.o: ./slant.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libslant2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libslant2_a-slant.o -MD -MP -MF $(DEPDIR)/libslant2_a-slant.Tpo -c -o ./libslant2_a-slant.o `test -f './slant.c' || echo '$(srcdir)/'`./slant.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libslant2_a-slant.Tpo $(DEPDIR)/libslant2_a-slant.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./slant.c' object='./libslant2_a-slant.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libslant2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libslant2_a-slant.o `test -f './slant.c' || echo '$(srcdir)/'`./slant.c + +./libslant2_a-slant.obj: ./slant.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libslant2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libslant2_a-slant.obj -MD -MP -MF $(DEPDIR)/libslant2_a-slant.Tpo -c -o ./libslant2_a-slant.obj `if test -f './slant.c'; then $(CYGPATH_W) './slant.c'; else $(CYGPATH_W) '$(srcdir)/./slant.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libslant2_a-slant.Tpo $(DEPDIR)/libslant2_a-slant.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./slant.c' object='./libslant2_a-slant.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libslant2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libslant2_a-slant.obj `if test -f './slant.c'; then $(CYGPATH_W) './slant.c'; else $(CYGPATH_W) '$(srcdir)/./slant.c'; fi` + +./libsolo2_a-solo.o: ./solo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsolo2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsolo2_a-solo.o -MD -MP -MF $(DEPDIR)/libsolo2_a-solo.Tpo -c -o ./libsolo2_a-solo.o `test -f './solo.c' || echo '$(srcdir)/'`./solo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsolo2_a-solo.Tpo $(DEPDIR)/libsolo2_a-solo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./solo.c' object='./libsolo2_a-solo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsolo2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsolo2_a-solo.o `test -f './solo.c' || echo '$(srcdir)/'`./solo.c + +./libsolo2_a-solo.obj: ./solo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsolo2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libsolo2_a-solo.obj -MD -MP -MF $(DEPDIR)/libsolo2_a-solo.Tpo -c -o ./libsolo2_a-solo.obj `if test -f './solo.c'; then $(CYGPATH_W) './solo.c'; else $(CYGPATH_W) '$(srcdir)/./solo.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libsolo2_a-solo.Tpo $(DEPDIR)/libsolo2_a-solo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./solo.c' object='./libsolo2_a-solo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsolo2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libsolo2_a-solo.obj `if test -f './solo.c'; then $(CYGPATH_W) './solo.c'; else $(CYGPATH_W) '$(srcdir)/./solo.c'; fi` + +./libtents3_a-tents.o: ./tents.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtents3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libtents3_a-tents.o -MD -MP -MF $(DEPDIR)/libtents3_a-tents.Tpo -c -o ./libtents3_a-tents.o `test -f './tents.c' || echo '$(srcdir)/'`./tents.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtents3_a-tents.Tpo $(DEPDIR)/libtents3_a-tents.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./tents.c' object='./libtents3_a-tents.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtents3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libtents3_a-tents.o `test -f './tents.c' || echo '$(srcdir)/'`./tents.c + +./libtents3_a-tents.obj: ./tents.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtents3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libtents3_a-tents.obj -MD -MP -MF $(DEPDIR)/libtents3_a-tents.Tpo -c -o ./libtents3_a-tents.obj `if test -f './tents.c'; then $(CYGPATH_W) './tents.c'; else $(CYGPATH_W) '$(srcdir)/./tents.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtents3_a-tents.Tpo $(DEPDIR)/libtents3_a-tents.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./tents.c' object='./libtents3_a-tents.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtents3_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libtents3_a-tents.obj `if test -f './tents.c'; then $(CYGPATH_W) './tents.c'; else $(CYGPATH_W) '$(srcdir)/./tents.c'; fi` + +./libtowers2_a-towers.o: ./towers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtowers2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libtowers2_a-towers.o -MD -MP -MF $(DEPDIR)/libtowers2_a-towers.Tpo -c -o ./libtowers2_a-towers.o `test -f './towers.c' || echo '$(srcdir)/'`./towers.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtowers2_a-towers.Tpo $(DEPDIR)/libtowers2_a-towers.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./towers.c' object='./libtowers2_a-towers.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtowers2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libtowers2_a-towers.o `test -f './towers.c' || echo '$(srcdir)/'`./towers.c + +./libtowers2_a-towers.obj: ./towers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtowers2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libtowers2_a-towers.obj -MD -MP -MF $(DEPDIR)/libtowers2_a-towers.Tpo -c -o ./libtowers2_a-towers.obj `if test -f './towers.c'; then $(CYGPATH_W) './towers.c'; else $(CYGPATH_W) '$(srcdir)/./towers.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtowers2_a-towers.Tpo $(DEPDIR)/libtowers2_a-towers.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./towers.c' object='./libtowers2_a-towers.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtowers2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libtowers2_a-towers.obj `if test -f './towers.c'; then $(CYGPATH_W) './towers.c'; else $(CYGPATH_W) '$(srcdir)/./towers.c'; fi` + +./libunequal2_a-unequal.o: ./unequal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunequal2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libunequal2_a-unequal.o -MD -MP -MF $(DEPDIR)/libunequal2_a-unequal.Tpo -c -o ./libunequal2_a-unequal.o `test -f './unequal.c' || echo '$(srcdir)/'`./unequal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libunequal2_a-unequal.Tpo $(DEPDIR)/libunequal2_a-unequal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./unequal.c' object='./libunequal2_a-unequal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunequal2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libunequal2_a-unequal.o `test -f './unequal.c' || echo '$(srcdir)/'`./unequal.c + +./libunequal2_a-unequal.obj: ./unequal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunequal2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libunequal2_a-unequal.obj -MD -MP -MF $(DEPDIR)/libunequal2_a-unequal.Tpo -c -o ./libunequal2_a-unequal.obj `if test -f './unequal.c'; then $(CYGPATH_W) './unequal.c'; else $(CYGPATH_W) '$(srcdir)/./unequal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libunequal2_a-unequal.Tpo $(DEPDIR)/libunequal2_a-unequal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./unequal.c' object='./libunequal2_a-unequal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunequal2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libunequal2_a-unequal.obj `if test -f './unequal.c'; then $(CYGPATH_W) './unequal.c'; else $(CYGPATH_W) '$(srcdir)/./unequal.c'; fi` + +./libunruly2_a-unruly.o: ./unruly.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunruly2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libunruly2_a-unruly.o -MD -MP -MF $(DEPDIR)/libunruly2_a-unruly.Tpo -c -o ./libunruly2_a-unruly.o `test -f './unruly.c' || echo '$(srcdir)/'`./unruly.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libunruly2_a-unruly.Tpo $(DEPDIR)/libunruly2_a-unruly.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./unruly.c' object='./libunruly2_a-unruly.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunruly2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libunruly2_a-unruly.o `test -f './unruly.c' || echo '$(srcdir)/'`./unruly.c + +./libunruly2_a-unruly.obj: ./unruly.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunruly2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ./libunruly2_a-unruly.obj -MD -MP -MF $(DEPDIR)/libunruly2_a-unruly.Tpo -c -o ./libunruly2_a-unruly.obj `if test -f './unruly.c'; then $(CYGPATH_W) './unruly.c'; else $(CYGPATH_W) '$(srcdir)/./unruly.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libunruly2_a-unruly.Tpo $(DEPDIR)/libunruly2_a-unruly.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='./unruly.c' object='./libunruly2_a-unruly.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libunruly2_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ./libunruly2_a-unruly.obj `if test -f './unruly.c'; then $(CYGPATH_W) './unruly.c'; else $(CYGPATH_W) '$(srcdir)/./unruly.c'; fi` + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-am +all-am: Makefile $(LIBRARIES) $(PROGRAMS) +installdirs: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f ./$(am__dirstamp) + -test -z "$(DEPDIR)/$(am__dirstamp)" || rm -f $(DEPDIR)/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ + clean-noinstPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ + clean-binPROGRAMS clean-cscope clean-generic \ + clean-noinstLIBRARIES clean-noinstPROGRAMS cscope \ + cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-compile distclean-generic \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS + +.PRECIOUS: Makefile + +test: benchmark.html benchmark.txt + +benchmark.html: benchmark.txt benchmark.pl + ./benchmark.pl benchmark.txt > $@ + +benchmark.txt: benchmark.sh $(GAMES) + ./benchmark.sh > $@ + +# 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: diff --git a/apps/plugins/puzzles/src/Makefile.nestedvm b/apps/plugins/puzzles/src/Makefile.nestedvm new file mode 100644 index 0000000000..cf91de2e53 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.nestedvm @@ -0,0 +1,556 @@ +# Makefile for puzzles under NestedVM. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# This path points at the nestedvm root directory +NESTEDVM = /opt/nestedvm +# You can define this path to point at your tools if you need to +TOOLPATH = $(NESTEDVM)/upstream/install/bin +CC = $(TOOLPATH)/mips-unknown-elf-gcc + +CFLAGS = -O2 -Wall -Werror -DSLOW_SYSTEM -g -I./ -Iicons/ + +all: blackbox.jar bridges.jar cube.jar dominosa.jar fifteen.jar filling.jar \ + flip.jar flood.jar galaxies.jar guess.jar inertia.jar \ + keen.jar lightup.jar loopy.jar magnets.jar map.jar mines.jar \ + net.jar netslide.jar nullgame.jar palisade.jar pattern.jar \ + pearl.jar pegs.jar range.jar rect.jar samegame.jar \ + signpost.jar singles.jar sixteen.jar slant.jar solo.jar \ + tents.jar towers.jar tracks.jar twiddle.jar undead.jar \ + unequal.jar unruly.jar untangle.jar + +blackbox.mips: blackbox.o drawing.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ blackbox.o drawing.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +bridges.mips: bridges.o drawing.o dsf.o findloop.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ bridges.o drawing.o dsf.o findloop.o \ + nestedvm.o malloc.o midend.o misc.o no-icon.o printing.o \ + ps.o random.o version.o -lm + +cube.mips: cube.o drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ cube.o drawing.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +dominosa.mips: dominosa.o drawing.o nestedvm.o laydomino.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ dominosa.o drawing.o nestedvm.o laydomino.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + version.o -lm + +fifteen.mips: drawing.o fifteen.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o fifteen.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +filling.mips: drawing.o dsf.o filling.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o filling.o nestedvm.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + version.o -lm + +flip.mips: drawing.o flip.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o flip.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o -lm + +flood.mips: drawing.o flood.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o flood.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +galaxies.mips: drawing.o dsf.o galaxies.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o galaxies.o nestedvm.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + version.o -lm + +guess.mips: drawing.o nestedvm.o guess.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o guess.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +inertia.mips: drawing.o nestedvm.o inertia.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o inertia.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +keen.mips: drawing.o dsf.o nestedvm.o keen.o latin.o malloc.o maxflow.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o keen.o latin.o \ + malloc.o maxflow.o midend.o misc.o no-icon.o printing.o ps.o \ + random.o tree234.o version.o -lm + +lightup.mips: combi.o drawing.o nestedvm.o lightup.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ combi.o drawing.o nestedvm.o lightup.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + version.o -lm + +loopy.mips: drawing.o dsf.o grid.o nestedvm.o loopgen.o loopy.o malloc.o \ + midend.o misc.o no-icon.o penrose.o printing.o ps.o random.o \ + tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o grid.o nestedvm.o loopgen.o \ + loopy.o malloc.o midend.o misc.o no-icon.o penrose.o \ + printing.o ps.o random.o tree234.o version.o -lm + +magnets.mips: drawing.o nestedvm.o laydomino.o magnets.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o laydomino.o magnets.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + version.o -lm + +map.mips: drawing.o dsf.o nestedvm.o malloc.o map.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o malloc.o map.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o version.o \ + -lm + +mines.mips: drawing.o nestedvm.o malloc.o midend.o mines.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + mines.o misc.o no-icon.o printing.o ps.o random.o tree234.o \ + version.o -lm + +net.mips: drawing.o dsf.o findloop.o nestedvm.o malloc.o midend.o misc.o \ + net.o no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o findloop.o nestedvm.o \ + malloc.o midend.o misc.o net.o no-icon.o printing.o ps.o \ + random.o tree234.o version.o -lm + +netslide.mips: drawing.o nestedvm.o malloc.o midend.o misc.o netslide.o \ + no-icon.o printing.o ps.o random.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o netslide.o no-icon.o printing.o ps.o random.o \ + tree234.o version.o -lm + +nullgame.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + nullgame.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o nullgame.o printing.o ps.o random.o \ + version.o -lm + +palisade.mips: divvy.o drawing.o dsf.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o palisade.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ divvy.o drawing.o dsf.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o palisade.o printing.o ps.o \ + random.o version.o -lm + +pattern.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + pattern.o printing.o ps.o random.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o pattern.o printing.o ps.o random.o \ + version.o -lm + +pearl.mips: drawing.o dsf.o grid.o nestedvm.o loopgen.o malloc.o midend.o \ + misc.o no-icon.o pearl.o penrose.o printing.o ps.o random.o \ + tdq.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o grid.o nestedvm.o loopgen.o \ + malloc.o midend.o misc.o no-icon.o pearl.o penrose.o \ + printing.o ps.o random.o tdq.o tree234.o version.o -lm + +pegs.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o pegs.o \ + printing.o ps.o random.o tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o pegs.o printing.o ps.o random.o tree234.o \ + version.o -lm + +range.mips: drawing.o dsf.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o range.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o range.o version.o \ + -lm + +rect.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o rect.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o rect.o version.o \ + -lm + +samegame.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o samegame.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o samegame.o \ + version.o -lm + +signpost.mips: drawing.o dsf.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o signpost.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o signpost.o \ + version.o -lm + +singles.mips: drawing.o dsf.o nestedvm.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o singles.o \ + tree234.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o latin.o malloc.o \ + maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + singles.o tree234.o version.o -lm + +sixteen.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o sixteen.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o sixteen.o \ + version.o -lm + +slant.mips: drawing.o dsf.o findloop.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o slant.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o findloop.o nestedvm.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + slant.o version.o -lm + +solo.mips: divvy.o drawing.o dsf.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o solo.o version.o + $(CC) $(XLDFLAGS) -o $@ divvy.o drawing.o dsf.o nestedvm.o malloc.o \ + midend.o misc.o no-icon.o printing.o ps.o random.o solo.o \ + version.o -lm + +tents.mips: drawing.o dsf.o nestedvm.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tents.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o nestedvm.o malloc.o \ + maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + tents.o version.o -lm + +towers.mips: drawing.o nestedvm.o latin.o malloc.o maxflow.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o towers.o tree234.o \ + version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o latin.o malloc.o \ + maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + towers.o tree234.o version.o -lm + +tracks.mips: drawing.o dsf.o findloop.o nestedvm.o malloc.o midend.o misc.o \ + no-icon.o printing.o ps.o random.o tracks.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o dsf.o findloop.o nestedvm.o \ + malloc.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + tracks.o version.o -lm + +twiddle.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o twiddle.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o twiddle.o \ + version.o -lm + +undead.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o undead.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o undead.o version.o \ + -lm + +unequal.mips: drawing.o nestedvm.o latin.o malloc.o maxflow.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + unequal.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o latin.o malloc.o \ + maxflow.o midend.o misc.o no-icon.o printing.o ps.o random.o \ + tree234.o unequal.o version.o -lm + +unruly.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o unruly.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o unruly.o version.o \ + -lm + +untangle.mips: drawing.o nestedvm.o malloc.o midend.o misc.o no-icon.o \ + printing.o ps.o random.o tree234.o untangle.o version.o + $(CC) $(XLDFLAGS) -o $@ drawing.o nestedvm.o malloc.o midend.o \ + misc.o no-icon.o printing.o ps.o random.o tree234.o \ + untangle.o version.o -lm + +blackbox.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.o: ./blackbox.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.o: ./bridges.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.o: ./combi.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.o: ./cube.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.o: ./divvy.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.o: ./dominosa.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.o: ./drawing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.o: ./dsf.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.o: ./fifteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.o: ./filling.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.o: ./findloop.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.o: ./flood.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.o: ./galaxies.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nestedvm.o: ./nestedvm.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.o: ./guess.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.o: ./inertia.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.o: ./keen.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.o: ./laydomino.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.o: ./lightup.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.o: ./list.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.o: ./magnets.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.o: ./malloc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.o: ./map.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.o: ./midend.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.o: ./misc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.o: ./net.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.o: ./no-icon.c + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.o: ./nullfe.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.o: ./nullgame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.o: ./obfusc.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.o: ./osx.m ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.o: ./palisade.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.o: ./pattern.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.o: ./printing.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.o: ./ps.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.o: ./random.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.o: ./range.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.o: ./rect.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.o: ./samegame.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.o: ./signpost.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.o: ./singles.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.o: ./sixteen.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.o: ./slant.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.o: ./solo.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.o: ./tdq.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.o: ./towers.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.o: ./tracks.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.o: ./twiddle.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.o: ./undead.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.o: ./unruly.c ./puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.o: ./version.c ./version.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.o: ./windows.c ./puzzles.h ./resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + +.PRECIOUS: %.class +%.class: %.mips + java -cp $(NESTEDVM)/build:$(NESTEDVM)/upstream/build/classgen/build \ + org.ibex.nestedvm.Compiler -outformat class -d . \ + PuzzleEngine $< + mv PuzzleEngine.class $@ + +org: + mkdir -p org/ibex/nestedvm/util + cp $(NESTEDVM)/build/org/ibex/nestedvm/Registers.class org/ibex/nestedvm + cp $(NESTEDVM)/build/org/ibex/nestedvm/UsermodeConstants.class org/ibex/nestedvm + cp $(NESTEDVM)/build/org/ibex/nestedvm/Runtime*.class org/ibex/nestedvm + cp $(NESTEDVM)/build/org/ibex/nestedvm/util/Platform*.class org/ibex/nestedvm/util + cp $(NESTEDVM)/build/org/ibex/nestedvm/util/Seekable*.class org/ibex/nestedvm/util + echo "Main-Class: PuzzleApplet" >applet.manifest + +PuzzleApplet.class: PuzzleApplet.java org + javac -source 1.3 -target 1.3 PuzzleApplet.java + +%.jar: %.class PuzzleApplet.class org + mv $< PuzzleEngine.class + jar cfm $@ applet.manifest PuzzleEngine.class PuzzleApplet*.class org + echo '' >$*.html + mv PuzzleEngine.class $< + +clean: + rm -rf *.o *.mips *.class *.html *.jar org applet.manifest diff --git a/apps/plugins/puzzles/src/Makefile.osx b/apps/plugins/puzzles/src/Makefile.osx new file mode 100644 index 0000000000..5d607d88e3 --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.osx @@ -0,0 +1,574 @@ +# Makefile for puzzles under Mac OS X. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. +CC = $(TOOLPATH)gcc +LIPO = $(TOOLPATH)lipo + +CFLAGS = -O2 -Wall -Werror -g -I./ -Iicons/ +LDFLAGS = -framework Cocoa +all: Puzzles fifteensolver fillingsolver galaxiespicture galaxiessolver \ + keensolver latincheck lightupsolver loopysolver \ + magnetssolver mapsolver mineobfusc obfusc patternpicture \ + patternsolver pearlbench signpostsolver singlessolver \ + slantsolver solosolver tentssolver towerssolver \ + unequalsolver unrulysolver +Puzzles_extra = Puzzles.app/Contents/Resources/Help/index.html +Puzzles.app/Contents/Resources/Help/index.html: \ + Puzzles.app/Contents/Resources/Help osx-help.but puzzles.but + cd Puzzles.app/Contents/Resources/Help; \ + halibut --html ../../../../osx-help.but ../../../../puzzles.but +Puzzles.app/Contents/Resources/Help: Puzzles.app/Contents/Resources + mkdir -p Puzzles.app/Contents/Resources/Help + +release: Puzzles.dmg +Puzzles.dmg: Puzzles + rm -f raw.dmg + hdiutil create -megabytes 5 -layout NONE raw.dmg + hdid -nomount raw.dmg > devicename + newfs_hfs -v "Simon Tatham's Puzzle Collection" `cat devicename` + hdiutil eject `cat devicename` + hdid raw.dmg | cut -f1 -d' ' > devicename + cp -R Puzzles.app /Volumes/"Simon Tatham's Puzzle Collection" + hdiutil eject `cat devicename` + rm -f Puzzles.dmg + hdiutil convert -format UDCO raw.dmg -o Puzzles.dmg + rm -f raw.dmg devicename + +.SUFFIXES: .o .c .m + + + +Puzzles.app: + mkdir -p $@ +Puzzles.app/Contents: Puzzles.app + mkdir -p $@ +Puzzles.app/Contents/MacOS: Puzzles.app/Contents + mkdir -p $@ +Puzzles.app/Contents/Resources: Puzzles.app/Contents + mkdir -p $@ +Puzzles.app/Contents/Resources/Puzzles.icns: Puzzles.app/Contents/Resources osx.icns + cp osx.icns $@ +Puzzles.app/Contents/Info.plist: Puzzles.app/Contents/Resources osx-info.plist + cp osx-info.plist $@ +Puzzles: Puzzles.app/Contents/MacOS/Puzzles \ + Puzzles.app/Contents/Resources/Puzzles.icns \ + Puzzles.app/Contents/Info.plist $(Puzzles_extra) + +Puzzles.i386.bin: blackbo3.i386.o bridges3.i386.o combi.i386.o cube3.i386.o \ + divvy.i386.o dominos3.i386.o drawing.i386.o dsf.i386.o \ + fifteen5.i386.o filling5.i386.o findloop.i386.o flip3.i386.o \ + flood3.i386.o galaxie7.i386.o grid.i386.o guess3.i386.o \ + inertia3.i386.o keen5.i386.o latin.i386.o laydomino.i386.o \ + lightup5.i386.o list.i386.o loopgen.i386.o loopy5.i386.o \ + magnets5.i386.o malloc.i386.o map5.i386.o maxflow.i386.o \ + midend.i386.o mines5.i386.o misc.i386.o net3.i386.o \ + netslid3.i386.o osx.i386.o palisad3.i386.o pattern7.i386.o \ + pearl5.i386.o pegs3.i386.o penrose.i386.o random.i386.o \ + range3.i386.o rect3.i386.o samegam3.i386.o signpos5.i386.o \ + singles5.i386.o sixteen3.i386.o slant5.i386.o solo5.i386.o \ + tdq.i386.o tents5.i386.o towers5.i386.o tracks3.i386.o \ + tree234.i386.o twiddle3.i386.o undead3.i386.o \ + unequal5.i386.o unruly5.i386.o untangl3.i386.o \ + version.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(LDFLAGS) -o $@ \ + blackbo3.i386.o bridges3.i386.o combi.i386.o cube3.i386.o \ + divvy.i386.o dominos3.i386.o drawing.i386.o dsf.i386.o \ + fifteen5.i386.o filling5.i386.o findloop.i386.o flip3.i386.o \ + flood3.i386.o galaxie7.i386.o grid.i386.o guess3.i386.o \ + inertia3.i386.o keen5.i386.o latin.i386.o laydomino.i386.o \ + lightup5.i386.o list.i386.o loopgen.i386.o loopy5.i386.o \ + magnets5.i386.o malloc.i386.o map5.i386.o maxflow.i386.o \ + midend.i386.o mines5.i386.o misc.i386.o net3.i386.o \ + netslid3.i386.o osx.i386.o palisad3.i386.o pattern7.i386.o \ + pearl5.i386.o pegs3.i386.o penrose.i386.o random.i386.o \ + range3.i386.o rect3.i386.o samegam3.i386.o signpos5.i386.o \ + singles5.i386.o sixteen3.i386.o slant5.i386.o solo5.i386.o \ + tdq.i386.o tents5.i386.o towers5.i386.o tracks3.i386.o \ + tree234.i386.o twiddle3.i386.o undead3.i386.o \ + unequal5.i386.o unruly5.i386.o untangl3.i386.o \ + version.i386.o + +Puzzles.app/Contents/MacOS/Puzzles: Puzzles.app/Contents/MacOS \ + Puzzles.i386.bin + $(LIPO) -create Puzzles.i386.bin -output $@ + +fifteensolver.i386: fifteen2.i386.o malloc.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + fifteen2.i386.o malloc.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o + +fifteensolver: fifteensolver.i386 + $(LIPO) -create fifteensolver.i386 -output $@ + +fillingsolver.i386: dsf.i386.o filling2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o filling2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + +fillingsolver: fillingsolver.i386 + $(LIPO) -create fillingsolver.i386 -output $@ + +galaxiespicture.i386: dsf.i386.o galaxie4.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o galaxie4.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o -lm + +galaxiespicture: galaxiespicture.i386 + $(LIPO) -create galaxiespicture.i386 -output $@ + +galaxiessolver.i386: dsf.i386.o galaxie2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o galaxie2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o -lm + +galaxiessolver: galaxiessolver.i386 + $(LIPO) -create galaxiessolver.i386 -output $@ + +keensolver.i386: dsf.i386.o keen2.i386.o latin6.i386.o malloc.i386.o \ + maxflow.i386.o misc.i386.o nullfe.i386.o random.i386.o \ + tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o keen2.i386.o latin6.i386.o malloc.i386.o \ + maxflow.i386.o misc.i386.o nullfe.i386.o random.i386.o \ + tree234.i386.o + +keensolver: keensolver.i386 + $(LIPO) -create keensolver.i386 -output $@ + +latincheck.i386: latin8.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + latin8.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tree234.i386.o + +latincheck: latincheck.i386 + $(LIPO) -create latincheck.i386 -output $@ + +lightupsolver.i386: combi.i386.o lightup2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + combi.i386.o lightup2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + +lightupsolver: lightupsolver.i386 + $(LIPO) -create lightupsolver.i386 -output $@ + +loopysolver.i386: dsf.i386.o grid.i386.o loopgen.i386.o loopy2.i386.o \ + malloc.i386.o misc.i386.o nullfe.i386.o penrose.i386.o \ + random.i386.o tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o grid.i386.o loopgen.i386.o loopy2.i386.o \ + malloc.i386.o misc.i386.o nullfe.i386.o penrose.i386.o \ + random.i386.o tree234.i386.o -lm + +loopysolver: loopysolver.i386 + $(LIPO) -create loopysolver.i386 -output $@ + +magnetssolver.i386: laydomino.i386.o magnets2.i386.o malloc.i386.o \ + misc.i386.o nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + laydomino.i386.o magnets2.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o -lm + +magnetssolver: magnetssolver.i386 + $(LIPO) -create magnetssolver.i386 -output $@ + +mapsolver.i386: dsf.i386.o malloc.i386.o map2.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o malloc.i386.o map2.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o -lm + +mapsolver: mapsolver.i386 + $(LIPO) -create mapsolver.i386 -output $@ + +mineobfusc.i386: malloc.i386.o mines2.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + malloc.i386.o mines2.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o tree234.i386.o + +mineobfusc: mineobfusc.i386 + $(LIPO) -create mineobfusc.i386 -output $@ + +obfusc.i386: malloc.i386.o misc.i386.o nullfe.i386.o obfusc.i386.o \ + random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + malloc.i386.o misc.i386.o nullfe.i386.o obfusc.i386.o \ + random.i386.o + +obfusc: obfusc.i386 + $(LIPO) -create obfusc.i386 -output $@ + +patternpicture.i386: malloc.i386.o misc.i386.o nullfe.i386.o pattern4.i386.o \ + random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + malloc.i386.o misc.i386.o nullfe.i386.o pattern4.i386.o \ + random.i386.o + +patternpicture: patternpicture.i386 + $(LIPO) -create patternpicture.i386 -output $@ + +patternsolver.i386: malloc.i386.o misc.i386.o nullfe.i386.o pattern2.i386.o \ + random.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + malloc.i386.o misc.i386.o nullfe.i386.o pattern2.i386.o \ + random.i386.o + +patternsolver: patternsolver.i386 + $(LIPO) -create patternsolver.i386 -output $@ + +pearlbench.i386: dsf.i386.o grid.i386.o loopgen.i386.o malloc.i386.o \ + misc.i386.o nullfe.i386.o pearl2.i386.o penrose.i386.o \ + random.i386.o tdq.i386.o tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o grid.i386.o loopgen.i386.o malloc.i386.o \ + misc.i386.o nullfe.i386.o pearl2.i386.o penrose.i386.o \ + random.i386.o tdq.i386.o tree234.i386.o -lm + +pearlbench: pearlbench.i386 + $(LIPO) -create pearlbench.i386 -output $@ + +signpostsolver.i386: dsf.i386.o malloc.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o signpos2.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o malloc.i386.o misc.i386.o nullfe.i386.o \ + random.i386.o signpos2.i386.o -lm + +signpostsolver: signpostsolver.i386 + $(LIPO) -create signpostsolver.i386 -output $@ + +singlessolver.i386: dsf.i386.o latin.i386.o malloc.i386.o maxflow.i386.o \ + misc.i386.o nullfe.i386.o random.i386.o singles3.i386.o \ + tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o latin.i386.o malloc.i386.o maxflow.i386.o \ + misc.i386.o nullfe.i386.o random.i386.o singles3.i386.o \ + tree234.i386.o + +singlessolver: singlessolver.i386 + $(LIPO) -create singlessolver.i386 -output $@ + +slantsolver.i386: dsf.i386.o findloop.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o slant2.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o findloop.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o slant2.i386.o + +slantsolver: slantsolver.i386 + $(LIPO) -create slantsolver.i386 -output $@ + +solosolver.i386: divvy.i386.o dsf.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o solo2.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + divvy.i386.o dsf.i386.o malloc.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o solo2.i386.o + +solosolver: solosolver.i386 + $(LIPO) -create solosolver.i386 -output $@ + +tentssolver.i386: dsf.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tents3.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + dsf.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tents3.i386.o + +tentssolver: tentssolver.i386 + $(LIPO) -create tentssolver.i386 -output $@ + +towerssolver.i386: latin6.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o towers2.i386.o tree234.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + latin6.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o towers2.i386.o tree234.i386.o + +towerssolver: towerssolver.i386 + $(LIPO) -create towerssolver.i386 -output $@ + +unequalsolver.i386: latin6.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tree234.i386.o unequal2.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + latin6.i386.o malloc.i386.o maxflow.i386.o misc.i386.o \ + nullfe.i386.o random.i386.o tree234.i386.o unequal2.i386.o + +unequalsolver: unequalsolver.i386 + $(LIPO) -create unequalsolver.i386 -output $@ + +unrulysolver.i386: malloc.i386.o misc.i386.o nullfe.i386.o random.i386.o \ + unruly2.i386.o + $(CC) -arch i386 -mmacosx-version-min=10.4 $(ULDFLAGS) -o $@ \ + malloc.i386.o misc.i386.o nullfe.i386.o random.i386.o \ + unruly2.i386.o + +unrulysolver: unrulysolver.i386 + $(LIPO) -create unrulysolver.i386 -output $@ + +blackbox.i386.o: ./blackbox.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +blackbo3.i386.o: ./blackbox.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +bridges.i386.o: ./bridges.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +bridges3.i386.o: ./bridges.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +combi.i386.o: ./combi.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube.i386.o: ./cube.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +cube3.i386.o: ./cube.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +divvy.i386.o: ./divvy.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominosa.i386.o: ./dominosa.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dominos3.i386.o: ./dominosa.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +drawing.i386.o: ./drawing.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +dsf.i386.o: ./dsf.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen.i386.o: ./fifteen.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +fifteen5.i386.o: ./fifteen.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +fifteen2.i386.o: ./fifteen.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +filling.i386.o: ./filling.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +filling5.i386.o: ./filling.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +filling2.i386.o: ./filling.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +findloop.i386.o: ./findloop.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip.i386.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flip3.i386.o: ./flip.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +flood.i386.o: ./flood.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +flood3.i386.o: ./flood.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxies.i386.o: ./galaxies.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +galaxie7.i386.o: ./galaxies.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +galaxie4.i386.o: ./galaxies.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +galaxie2.i386.o: ./galaxies.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +grid.i386.o: ./grid.c ./puzzles.h ./tree234.h ./grid.h ./penrose.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +gtk.i386.o: ./gtk.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess.i386.o: ./guess.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +guess3.i386.o: ./guess.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +inertia.i386.o: ./inertia.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +inertia3.i386.o: ./inertia.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen.i386.o: ./keen.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +keen5.i386.o: ./keen.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +keen2.i386.o: ./keen.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +latin.i386.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +latin8.i386.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_LATIN_TEST -c $< -o $@ +latin6.i386.o: ./latin.c ./puzzles.h ./tree234.h ./maxflow.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +laydomino.i386.o: ./laydomino.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup.i386.o: ./lightup.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +lightup5.i386.o: ./lightup.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +lightup2.i386.o: ./lightup.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +list.i386.o: ./list.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopgen.i386.o: ./loopgen.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy.i386.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +loopy5.i386.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +loopy2.i386.o: ./loopy.c ./puzzles.h ./tree234.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +magnets.i386.o: ./magnets.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +magnets5.i386.o: ./magnets.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +magnets2.i386.o: ./magnets.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +malloc.i386.o: ./malloc.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map.i386.o: ./map.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +map5.i386.o: ./map.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +map2.i386.o: ./map.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +maxflow.i386.o: ./maxflow.c ./maxflow.h ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +midend.i386.o: ./midend.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines.i386.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +mines5.i386.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +mines2.i386.o: ./mines.c ./tree234.h ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_OBFUSCATOR -c $< -o $@ +misc.i386.o: ./misc.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net.i386.o: ./net.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +net3.i386.o: ./net.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +netslide.i386.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +netslid3.i386.o: ./netslide.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +no-icon.i386.o: ./no-icon.c + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullfe.i386.o: ./nullfe.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +nullgame.i386.o: ./nullgame.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +obfusc.i386.o: ./obfusc.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +osx.i386.o: ./osx.m ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 -x objective-c $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisade.i386.o: ./palisade.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +palisad3.i386.o: ./palisade.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern.i386.o: ./pattern.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pattern7.i386.o: ./pattern.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pattern4.i386.o: ./pattern.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_PICTURE_GENERATOR -c $< -o $@ +pattern2.i386.o: ./pattern.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pearl.i386.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pearl5.i386.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +pearl2.i386.o: ./pearl.c ./puzzles.h ./grid.h ./loopgen.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +pegs.i386.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +pegs3.i386.o: ./pegs.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +penrose.i386.o: ./penrose.c ./puzzles.h ./penrose.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +printing.i386.o: ./printing.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +ps.i386.o: ./ps.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +random.i386.o: ./random.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range.i386.o: ./range.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +range3.i386.o: ./range.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +rect.i386.o: ./rect.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +rect3.i386.o: ./rect.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +samegame.i386.o: ./samegame.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +samegam3.i386.o: ./samegame.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpost.i386.o: ./signpost.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +signpos5.i386.o: ./signpost.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +signpos2.i386.o: ./signpost.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +singles.i386.o: ./singles.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +singles5.i386.o: ./singles.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +singles3.i386.o: ./singles.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +sixteen.i386.o: ./sixteen.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +sixteen3.i386.o: ./sixteen.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant.i386.o: ./slant.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +slant5.i386.o: ./slant.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +slant2.i386.o: ./slant.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +solo.i386.o: ./solo.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +solo5.i386.o: ./solo.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +solo2.i386.o: ./solo.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tdq.i386.o: ./tdq.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents.i386.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tents5.i386.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tents3.i386.o: ./tents.c ./puzzles.h ./maxflow.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +towers.i386.o: ./towers.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +towers5.i386.o: ./towers.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +towers2.i386.o: ./towers.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +tracks.i386.o: ./tracks.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +tracks3.i386.o: ./tracks.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +tree234.i386.o: ./tree234.c ./tree234.h ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle.i386.o: ./twiddle.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +twiddle3.i386.o: ./twiddle.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +undead.i386.o: ./undead.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +undead3.i386.o: ./undead.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal.i386.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unequal5.i386.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unequal2.i386.o: ./unequal.c ./puzzles.h ./latin.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +unruly.i386.o: ./unruly.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +unruly5.i386.o: ./unruly.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +unruly2.i386.o: ./unruly.c ./puzzles.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DSTANDALONE_SOLVER -c $< -o $@ +untangle.i386.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +untangl3.i386.o: ./untangle.c ./puzzles.h ./tree234.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ +version.i386.o: ./version.c ./version.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows.i386.o: ./windows.c ./puzzles.h ./resource.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -c $< -o $@ +windows1.i386.o: ./windows.c ./puzzles.h ./resource.h + $(CC) -arch i386 -mmacosx-version-min=10.4 $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) -DCOMBINED -c $< -o $@ + +clean: + rm -f *.o *.dmg fifteensolver fifteensolver.i386 fillingsolver fillingsolver.i386 galaxiespicture galaxiespicture.i386 galaxiessolver galaxiessolver.i386 keensolver keensolver.i386 latincheck latincheck.i386 lightupsolver lightupsolver.i386 loopysolver loopysolver.i386 magnetssolver magnetssolver.i386 mapsolver mapsolver.i386 mineobfusc mineobfusc.i386 obfusc obfusc.i386 patternpicture patternpicture.i386 patternsolver patternsolver.i386 pearlbench pearlbench.i386 signpostsolver signpostsolver.i386 singlessolver singlessolver.i386 slantsolver slantsolver.i386 solosolver solosolver.i386 tentssolver tentssolver.i386 towerssolver towerssolver.i386 unequalsolver unequalsolver.i386 unrulysolver unrulysolver.i386 + rm -rf *.app diff --git a/apps/plugins/puzzles/src/Makefile.vc b/apps/plugins/puzzles/src/Makefile.vc new file mode 100644 index 0000000000..45e77a5d8a --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.vc @@ -0,0 +1,1040 @@ +# Makefile for puzzles under Visual C. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# If you rename this file to `Makefile', you should change this line, +# so that the .rsp files still depend on the correct makefile. +MAKEFILE = Makefile.vc + +# C compilation flags +CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401 /I. +LFLAGS = /incremental:no /fixed + +all: blackbox.exe bridges.exe cube.exe dominosa.exe fifteen.exe \ + fifteensolver.exe filling.exe fillingsolver.exe flip.exe \ + flood.exe galaxies.exe galaxiespicture.exe \ + galaxiessolver.exe guess.exe inertia.exe keen.exe \ + keensolver.exe latincheck.exe lightup.exe lightupsolver.exe \ + loopy.exe loopysolver.exe magnets.exe magnetssolver.exe \ + map.exe mapsolver.exe mineobfusc.exe mines.exe netgame.exe \ + netslide.exe nullgame.exe palisade.exe pattern.exe \ + patternpicture.exe patternsolver.exe pearl.exe \ + pearlbench.exe pegs.exe puzzles.exe range.exe rect.exe \ + samegame.exe signpost.exe signpostsolver.exe singles.exe \ + singlessolver.exe sixteen.exe slant.exe slantsolver.exe \ + solo.exe solosolver.exe tents.exe tentssolver.exe towers.exe \ + towerssolver.exe tracks.exe twiddle.exe undead.exe \ + unequal.exe unequalsolver.exe unruly.exe unrulysolver.exe \ + untangle.exe + +blackbox.exe: blackbox.obj drawing.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + blackbox.rsp + link $(LFLAGS) -out:blackbox.exe -map:blackbox.map @blackbox.rsp + +bridges.exe: bridges.obj drawing.obj dsf.obj findloop.obj malloc.obj \ + midend.obj misc.obj noicon.res printing.obj random.obj \ + version.obj windows.obj bridges.rsp + link $(LFLAGS) -out:bridges.exe -map:bridges.map @bridges.rsp + +cube.exe: cube.obj drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj cube.rsp + link $(LFLAGS) -out:cube.exe -map:cube.map @cube.rsp + +dominosa.exe: dominosa.obj drawing.obj laydomino.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj dominosa.rsp + link $(LFLAGS) -out:dominosa.exe -map:dominosa.map @dominosa.rsp + +fifteen.exe: drawing.obj fifteen.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + fifteen.rsp + link $(LFLAGS) -out:fifteen.exe -map:fifteen.map @fifteen.rsp + +fifteensolver.exe: fifteen2.obj malloc.obj misc.obj nullfe.obj random.obj \ + fifteensolver.rsp + link $(LFLAGS) -out:fifteensolver.exe -map:fifteensolver.map @fifteensolver.rsp + +filling.exe: drawing.obj dsf.obj filling.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + filling.rsp + link $(LFLAGS) -out:filling.exe -map:filling.map @filling.rsp + +fillingsolver.exe: dsf.obj filling2.obj malloc.obj misc.obj nullfe.obj \ + random.obj fillingsolver.rsp + link $(LFLAGS) -out:fillingsolver.exe -map:fillingsolver.map @fillingsolver.rsp + +flip.exe: drawing.obj flip.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + flip.rsp + link $(LFLAGS) -out:flip.exe -map:flip.map @flip.rsp + +flood.exe: drawing.obj flood.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj flood.rsp + link $(LFLAGS) -out:flood.exe -map:flood.map @flood.rsp + +galaxies.exe: drawing.obj dsf.obj galaxies.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj galaxies.rsp + link $(LFLAGS) -out:galaxies.exe -map:galaxies.map @galaxies.rsp + +galaxiespicture.exe: dsf.obj galaxie4.obj malloc.obj misc.obj nullfe.obj \ + random.obj galaxiespicture.rsp + link $(LFLAGS) -out:galaxiespicture.exe -map:galaxiespicture.map @galaxiespicture.rsp + +galaxiessolver.exe: dsf.obj galaxie2.obj malloc.obj misc.obj nullfe.obj \ + random.obj galaxiessolver.rsp + link $(LFLAGS) -out:galaxiessolver.exe -map:galaxiessolver.map @galaxiessolver.rsp + +guess.exe: drawing.obj guess.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj guess.rsp + link $(LFLAGS) -out:guess.exe -map:guess.map @guess.rsp + +inertia.exe: drawing.obj inertia.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + inertia.rsp + link $(LFLAGS) -out:inertia.exe -map:inertia.map @inertia.rsp + +keen.exe: drawing.obj dsf.obj keen.obj latin.obj malloc.obj maxflow.obj \ + midend.obj misc.obj noicon.res printing.obj random.obj \ + tree234.obj version.obj windows.obj keen.rsp + link $(LFLAGS) -out:keen.exe -map:keen.map @keen.rsp + +keensolver.exe: dsf.obj keen2.obj latin6.obj malloc.obj maxflow.obj misc.obj \ + nullfe.obj random.obj tree234.obj keensolver.rsp + link $(LFLAGS) -out:keensolver.exe -map:keensolver.map @keensolver.rsp + +latincheck.exe: latin8.obj malloc.obj maxflow.obj misc.obj nullfe.obj \ + random.obj tree234.obj latincheck.rsp + link $(LFLAGS) -out:latincheck.exe -map:latincheck.map @latincheck.rsp + +lightup.exe: combi.obj drawing.obj lightup.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj lightup.rsp + link $(LFLAGS) -out:lightup.exe -map:lightup.map @lightup.rsp + +lightupsolver.exe: combi.obj lightup2.obj malloc.obj misc.obj nullfe.obj \ + random.obj lightupsolver.rsp + link $(LFLAGS) -out:lightupsolver.exe -map:lightupsolver.map @lightupsolver.rsp + +loopy.exe: drawing.obj dsf.obj grid.obj loopgen.obj loopy.obj malloc.obj \ + midend.obj misc.obj noicon.res penrose.obj printing.obj \ + random.obj tree234.obj version.obj windows.obj loopy.rsp + link $(LFLAGS) -out:loopy.exe -map:loopy.map @loopy.rsp + +loopysolver.exe: dsf.obj grid.obj loopgen.obj loopy2.obj malloc.obj misc.obj \ + nullfe.obj penrose.obj random.obj tree234.obj \ + loopysolver.rsp + link $(LFLAGS) -out:loopysolver.exe -map:loopysolver.map @loopysolver.rsp + +magnets.exe: drawing.obj laydomino.obj magnets.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj magnets.rsp + link $(LFLAGS) -out:magnets.exe -map:magnets.map @magnets.rsp + +magnetssolver.exe: laydomino.obj magnets2.obj malloc.obj misc.obj nullfe.obj \ + random.obj magnetssolver.rsp + link $(LFLAGS) -out:magnetssolver.exe -map:magnetssolver.map @magnetssolver.rsp + +map.exe: drawing.obj dsf.obj malloc.obj map.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + map.rsp + link $(LFLAGS) -out:map.exe -map:map.map @map.rsp + +mapsolver.exe: dsf.obj malloc.obj map2.obj misc.obj nullfe.obj random.obj \ + mapsolver.rsp + link $(LFLAGS) -out:mapsolver.exe -map:mapsolver.map @mapsolver.rsp + +mineobfusc.exe: malloc.obj mines2.obj misc.obj nullfe.obj random.obj \ + tree234.obj mineobfusc.rsp + link $(LFLAGS) -out:mineobfusc.exe -map:mineobfusc.map @mineobfusc.rsp + +mines.exe: drawing.obj malloc.obj midend.obj mines.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + mines.rsp + link $(LFLAGS) -out:mines.exe -map:mines.map @mines.rsp + +netgame.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + net.obj noicon.res printing.obj random.obj tree234.obj \ + version.obj windows.obj netgame.rsp + link $(LFLAGS) -out:netgame.exe -map:netgame.map @netgame.rsp + +netslide.exe: drawing.obj malloc.obj midend.obj misc.obj netslide.obj \ + noicon.res printing.obj random.obj tree234.obj version.obj \ + windows.obj netslide.rsp + link $(LFLAGS) -out:netslide.exe -map:netslide.map @netslide.rsp + +nullgame.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + nullgame.obj printing.obj random.obj version.obj windows.obj \ + nullgame.rsp + link $(LFLAGS) -out:nullgame.exe -map:nullgame.map @nullgame.rsp + +palisade.exe: divvy.obj drawing.obj dsf.obj malloc.obj midend.obj misc.obj \ + noicon.res palisade.obj printing.obj random.obj version.obj \ + windows.obj palisade.rsp + link $(LFLAGS) -out:palisade.exe -map:palisade.map @palisade.rsp + +pattern.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + pattern.obj printing.obj random.obj version.obj windows.obj \ + pattern.rsp + link $(LFLAGS) -out:pattern.exe -map:pattern.map @pattern.rsp + +patternpicture.exe: malloc.obj misc.obj nullfe.obj pattern4.obj random.obj \ + patternpicture.rsp + link $(LFLAGS) -out:patternpicture.exe -map:patternpicture.map @patternpicture.rsp + +patternsolver.exe: malloc.obj misc.obj nullfe.obj pattern2.obj random.obj \ + patternsolver.rsp + link $(LFLAGS) -out:patternsolver.exe -map:patternsolver.map @patternsolver.rsp + +pearl.exe: drawing.obj dsf.obj grid.obj loopgen.obj malloc.obj midend.obj \ + misc.obj pearl.obj penrose.obj printing.obj random.obj \ + tdq.obj tree234.obj version.obj windows.obj pearl.rsp + link $(LFLAGS) -out:pearl.exe -map:pearl.map @pearl.rsp + +pearlbench.exe: dsf.obj grid.obj loopgen.obj malloc.obj misc.obj nullfe.obj \ + pearl2.obj penrose.obj random.obj tdq.obj tree234.obj \ + pearlbench.rsp + link $(LFLAGS) -out:pearlbench.exe -map:pearlbench.map @pearlbench.rsp + +pegs.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res pegs.obj \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + pegs.rsp + link $(LFLAGS) -out:pegs.exe -map:pegs.map @pegs.rsp + +puzzles.exe: blackbo3.obj bridges3.obj combi.obj cube3.obj divvy.obj \ + dominos3.obj drawing.obj dsf.obj fifteen5.obj filling5.obj \ + findloop.obj flip3.obj flood3.obj galaxie7.obj grid.obj \ + guess3.obj inertia3.obj keen5.obj latin.obj laydomino.obj \ + lightup5.obj list.obj loopgen.obj loopy5.obj magnets5.obj \ + malloc.obj map5.obj maxflow.obj midend.obj mines5.obj \ + misc.obj net3.obj netslid3.obj noicon.res palisad3.obj \ + pattern7.obj pearl5.obj pegs3.obj penrose.obj printing.obj \ + random.obj range3.obj rect3.obj samegam3.obj signpos5.obj \ + singles5.obj sixteen3.obj slant5.obj solo5.obj tdq.obj \ + tents5.obj towers5.obj tracks3.obj tree234.obj twiddle3.obj \ + undead3.obj unequal5.obj unruly5.obj untangl3.obj \ + version.obj windows1.obj puzzles.rsp + link $(LFLAGS) -out:puzzles.exe -map:puzzles.map @puzzles.rsp + +range.exe: drawing.obj dsf.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj range.obj version.obj windows.obj \ + range.rsp + link $(LFLAGS) -out:range.exe -map:range.map @range.rsp + +rect.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res printing.obj \ + random.obj rect.obj version.obj windows.obj rect.rsp + link $(LFLAGS) -out:rect.exe -map:rect.map @rect.rsp + +samegame.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj samegame.obj version.obj windows.obj \ + samegame.rsp + link $(LFLAGS) -out:samegame.exe -map:samegame.map @samegame.rsp + +signpost.exe: drawing.obj dsf.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj signpost.obj version.obj windows.obj \ + signpost.rsp + link $(LFLAGS) -out:signpost.exe -map:signpost.map @signpost.rsp + +signpostsolver.exe: dsf.obj malloc.obj misc.obj nullfe.obj random.obj \ + signpos2.obj signpostsolver.rsp + link $(LFLAGS) -out:signpostsolver.exe -map:signpostsolver.map @signpostsolver.rsp + +singles.exe: drawing.obj dsf.obj latin.obj malloc.obj maxflow.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj singles.obj \ + tree234.obj version.obj windows.obj singles.rsp + link $(LFLAGS) -out:singles.exe -map:singles.map @singles.rsp + +singlessolver.exe: dsf.obj latin.obj malloc.obj maxflow.obj misc.obj \ + nullfe.obj random.obj singles3.obj tree234.obj \ + singlessolver.rsp + link $(LFLAGS) -out:singlessolver.exe -map:singlessolver.map @singlessolver.rsp + +sixteen.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj sixteen.obj version.obj windows.obj \ + sixteen.rsp + link $(LFLAGS) -out:sixteen.exe -map:sixteen.map @sixteen.rsp + +slant.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj slant.obj version.obj \ + windows.obj slant.rsp + link $(LFLAGS) -out:slant.exe -map:slant.map @slant.rsp + +slantsolver.exe: dsf.obj findloop.obj malloc.obj misc.obj nullfe.obj \ + random.obj slant2.obj slantsolver.rsp + link $(LFLAGS) -out:slantsolver.exe -map:slantsolver.map @slantsolver.rsp + +solo.exe: divvy.obj drawing.obj dsf.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj solo.obj version.obj \ + windows.obj solo.rsp + link $(LFLAGS) -out:solo.exe -map:solo.map @solo.rsp + +solosolver.exe: divvy.obj dsf.obj malloc.obj misc.obj nullfe.obj random.obj \ + solo2.obj solosolver.rsp + link $(LFLAGS) -out:solosolver.exe -map:solosolver.map @solosolver.rsp + +tents.exe: drawing.obj dsf.obj malloc.obj maxflow.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj tents.obj version.obj \ + windows.obj tents.rsp + link $(LFLAGS) -out:tents.exe -map:tents.map @tents.rsp + +tentssolver.exe: dsf.obj malloc.obj maxflow.obj misc.obj nullfe.obj \ + random.obj tents3.obj tentssolver.rsp + link $(LFLAGS) -out:tentssolver.exe -map:tentssolver.map @tentssolver.rsp + +towers.exe: drawing.obj latin.obj malloc.obj maxflow.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj towers.obj tree234.obj \ + version.obj windows.obj towers.rsp + link $(LFLAGS) -out:towers.exe -map:towers.map @towers.rsp + +towerssolver.exe: latin6.obj malloc.obj maxflow.obj misc.obj nullfe.obj \ + random.obj towers2.obj tree234.obj towerssolver.rsp + link $(LFLAGS) -out:towerssolver.exe -map:towerssolver.map @towerssolver.rsp + +tracks.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj tracks.obj version.obj \ + windows.obj tracks.rsp + link $(LFLAGS) -out:tracks.exe -map:tracks.map @tracks.rsp + +twiddle.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj twiddle.obj version.obj windows.obj \ + twiddle.rsp + link $(LFLAGS) -out:twiddle.exe -map:twiddle.map @twiddle.rsp + +undead.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj undead.obj version.obj windows.obj \ + undead.rsp + link $(LFLAGS) -out:undead.exe -map:undead.map @undead.rsp + +unequal.exe: drawing.obj latin.obj malloc.obj maxflow.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj tree234.obj \ + unequal.obj version.obj windows.obj unequal.rsp + link $(LFLAGS) -out:unequal.exe -map:unequal.map @unequal.rsp + +unequalsolver.exe: latin6.obj malloc.obj maxflow.obj misc.obj nullfe.obj \ + random.obj tree234.obj unequal2.obj unequalsolver.rsp + link $(LFLAGS) -out:unequalsolver.exe -map:unequalsolver.map @unequalsolver.rsp + +unruly.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj unruly.obj version.obj windows.obj \ + unruly.rsp + link $(LFLAGS) -out:unruly.exe -map:unruly.map @unruly.rsp + +unrulysolver.exe: malloc.obj misc.obj nullfe.obj random.obj unruly2.obj \ + unrulysolver.rsp + link $(LFLAGS) -out:unrulysolver.exe -map:unrulysolver.map @unrulysolver.rsp + +untangle.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj untangle.obj version.obj \ + windows.obj untangle.rsp + link $(LFLAGS) -out:untangle.exe -map:untangle.map @untangle.rsp + +blackbox.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > blackbox.rsp + echo blackbox.obj comctl32.lib comdlg32.lib >> blackbox.rsp + echo drawing.obj gdi32.lib malloc.obj midend.obj >> blackbox.rsp + echo misc.obj noicon.res printing.obj random.obj >> blackbox.rsp + echo user32.lib version.obj windows.obj winspool.lib >> blackbox.rsp + +bridges.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > bridges.rsp + echo bridges.obj comctl32.lib comdlg32.lib drawing.obj >> bridges.rsp + echo dsf.obj findloop.obj gdi32.lib malloc.obj >> bridges.rsp + echo midend.obj misc.obj noicon.res printing.obj >> bridges.rsp + echo random.obj user32.lib version.obj windows.obj >> bridges.rsp + echo winspool.lib >> bridges.rsp + +cube.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > cube.rsp + echo comctl32.lib comdlg32.lib cube.obj drawing.obj >> cube.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> cube.rsp + echo noicon.res printing.obj random.obj user32.lib >> cube.rsp + echo version.obj windows.obj winspool.lib >> cube.rsp + +dominosa.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > dominosa.rsp + echo comctl32.lib comdlg32.lib dominosa.obj >> dominosa.rsp + echo drawing.obj gdi32.lib laydomino.obj malloc.obj >> dominosa.rsp + echo midend.obj misc.obj noicon.res printing.obj >> dominosa.rsp + echo random.obj user32.lib version.obj windows.obj >> dominosa.rsp + echo winspool.lib >> dominosa.rsp + +fifteen.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > fifteen.rsp + echo comctl32.lib comdlg32.lib drawing.obj fifteen.obj >> fifteen.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> fifteen.rsp + echo noicon.res printing.obj random.obj user32.lib >> fifteen.rsp + echo version.obj windows.obj winspool.lib >> fifteen.rsp + +fifteensolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > fifteensolver.rsp + echo fifteen2.obj malloc.obj misc.obj nullfe.obj >> fifteensolver.rsp + echo random.obj >> fifteensolver.rsp + +filling.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > filling.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> filling.rsp + echo filling.obj gdi32.lib malloc.obj midend.obj >> filling.rsp + echo misc.obj noicon.res printing.obj random.obj >> filling.rsp + echo user32.lib version.obj windows.obj winspool.lib >> filling.rsp + +fillingsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > fillingsolver.rsp + echo dsf.obj filling2.obj malloc.obj misc.obj >> fillingsolver.rsp + echo nullfe.obj random.obj >> fillingsolver.rsp + +flip.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > flip.rsp + echo comctl32.lib comdlg32.lib drawing.obj flip.obj >> flip.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> flip.rsp + echo noicon.res printing.obj random.obj tree234.obj >> flip.rsp + echo user32.lib version.obj windows.obj winspool.lib >> flip.rsp + +flood.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > flood.rsp + echo comctl32.lib comdlg32.lib drawing.obj flood.obj >> flood.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> flood.rsp + echo noicon.res printing.obj random.obj user32.lib >> flood.rsp + echo version.obj windows.obj winspool.lib >> flood.rsp + +galaxies.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > galaxies.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> galaxies.rsp + echo galaxies.obj gdi32.lib malloc.obj midend.obj >> galaxies.rsp + echo misc.obj noicon.res printing.obj random.obj >> galaxies.rsp + echo user32.lib version.obj windows.obj winspool.lib >> galaxies.rsp + +galaxiespicture.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > galaxiespicture.rsp + echo dsf.obj galaxie4.obj malloc.obj misc.obj >> galaxiespicture.rsp + echo nullfe.obj random.obj >> galaxiespicture.rsp + +galaxiessolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > galaxiessolver.rsp + echo dsf.obj galaxie2.obj malloc.obj misc.obj >> galaxiessolver.rsp + echo nullfe.obj random.obj >> galaxiessolver.rsp + +guess.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > guess.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> guess.rsp + echo guess.obj malloc.obj midend.obj misc.obj >> guess.rsp + echo noicon.res printing.obj random.obj user32.lib >> guess.rsp + echo version.obj windows.obj winspool.lib >> guess.rsp + +inertia.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > inertia.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> inertia.rsp + echo inertia.obj malloc.obj midend.obj misc.obj >> inertia.rsp + echo noicon.res printing.obj random.obj user32.lib >> inertia.rsp + echo version.obj windows.obj winspool.lib >> inertia.rsp + +keen.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > keen.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> keen.rsp + echo gdi32.lib keen.obj latin.obj malloc.obj >> keen.rsp + echo maxflow.obj midend.obj misc.obj noicon.res >> keen.rsp + echo printing.obj random.obj tree234.obj user32.lib >> keen.rsp + echo version.obj windows.obj winspool.lib >> keen.rsp + +keensolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > keensolver.rsp + echo dsf.obj keen2.obj latin6.obj malloc.obj >> keensolver.rsp + echo maxflow.obj misc.obj nullfe.obj random.obj >> keensolver.rsp + echo tree234.obj >> keensolver.rsp + +latincheck.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > latincheck.rsp + echo latin8.obj malloc.obj maxflow.obj misc.obj >> latincheck.rsp + echo nullfe.obj random.obj tree234.obj >> latincheck.rsp + +lightup.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > lightup.rsp + echo combi.obj comctl32.lib comdlg32.lib drawing.obj >> lightup.rsp + echo gdi32.lib lightup.obj malloc.obj midend.obj >> lightup.rsp + echo misc.obj noicon.res printing.obj random.obj >> lightup.rsp + echo user32.lib version.obj windows.obj winspool.lib >> lightup.rsp + +lightupsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > lightupsolver.rsp + echo combi.obj lightup2.obj malloc.obj misc.obj >> lightupsolver.rsp + echo nullfe.obj random.obj >> lightupsolver.rsp + +loopy.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > loopy.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> loopy.rsp + echo gdi32.lib grid.obj loopgen.obj loopy.obj >> loopy.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> loopy.rsp + echo penrose.obj printing.obj random.obj tree234.obj >> loopy.rsp + echo user32.lib version.obj windows.obj winspool.lib >> loopy.rsp + +loopysolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > loopysolver.rsp + echo dsf.obj grid.obj loopgen.obj loopy2.obj >> loopysolver.rsp + echo malloc.obj misc.obj nullfe.obj penrose.obj >> loopysolver.rsp + echo random.obj tree234.obj >> loopysolver.rsp + +magnets.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > magnets.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> magnets.rsp + echo laydomino.obj magnets.obj malloc.obj midend.obj >> magnets.rsp + echo misc.obj noicon.res printing.obj random.obj >> magnets.rsp + echo user32.lib version.obj windows.obj winspool.lib >> magnets.rsp + +magnetssolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > magnetssolver.rsp + echo laydomino.obj magnets2.obj malloc.obj misc.obj >> magnetssolver.rsp + echo nullfe.obj random.obj >> magnetssolver.rsp + +map.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > map.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> map.rsp + echo gdi32.lib malloc.obj map.obj midend.obj misc.obj >> map.rsp + echo noicon.res printing.obj random.obj user32.lib >> map.rsp + echo version.obj windows.obj winspool.lib >> map.rsp + +mapsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > mapsolver.rsp + echo dsf.obj malloc.obj map2.obj misc.obj nullfe.obj >> mapsolver.rsp + echo random.obj >> mapsolver.rsp + +mineobfusc.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > mineobfusc.rsp + echo malloc.obj mines2.obj misc.obj nullfe.obj >> mineobfusc.rsp + echo random.obj tree234.obj >> mineobfusc.rsp + +mines.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > mines.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> mines.rsp + echo malloc.obj midend.obj mines.obj misc.obj >> mines.rsp + echo noicon.res printing.obj random.obj tree234.obj >> mines.rsp + echo user32.lib version.obj windows.obj winspool.lib >> mines.rsp + +netgame.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > netgame.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> netgame.rsp + echo findloop.obj gdi32.lib malloc.obj midend.obj >> netgame.rsp + echo misc.obj net.obj noicon.res printing.obj >> netgame.rsp + echo random.obj tree234.obj user32.lib version.obj >> netgame.rsp + echo windows.obj winspool.lib >> netgame.rsp + +netslide.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > netslide.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> netslide.rsp + echo malloc.obj midend.obj misc.obj netslide.obj >> netslide.rsp + echo noicon.res printing.obj random.obj tree234.obj >> netslide.rsp + echo user32.lib version.obj windows.obj winspool.lib >> netslide.rsp + +nullgame.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > nullgame.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> nullgame.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> nullgame.rsp + echo nullgame.obj printing.obj random.obj user32.lib >> nullgame.rsp + echo version.obj windows.obj winspool.lib >> nullgame.rsp + +palisade.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > palisade.rsp + echo comctl32.lib comdlg32.lib divvy.obj drawing.obj >> palisade.rsp + echo dsf.obj gdi32.lib malloc.obj midend.obj misc.obj >> palisade.rsp + echo noicon.res palisade.obj printing.obj random.obj >> palisade.rsp + echo user32.lib version.obj windows.obj winspool.lib >> palisade.rsp + +pattern.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > pattern.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> pattern.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> pattern.rsp + echo pattern.obj printing.obj random.obj user32.lib >> pattern.rsp + echo version.obj windows.obj winspool.lib >> pattern.rsp + +patternpicture.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > patternpicture.rsp + echo malloc.obj misc.obj nullfe.obj pattern4.obj >> patternpicture.rsp + echo random.obj >> patternpicture.rsp + +patternsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > patternsolver.rsp + echo malloc.obj misc.obj nullfe.obj pattern2.obj >> patternsolver.rsp + echo random.obj >> patternsolver.rsp + +pearl.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > pearl.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> pearl.rsp + echo gdi32.lib grid.obj loopgen.obj malloc.obj >> pearl.rsp + echo midend.obj misc.obj pearl.obj penrose.obj >> pearl.rsp + echo printing.obj random.obj tdq.obj tree234.obj >> pearl.rsp + echo user32.lib version.obj windows.obj winspool.lib >> pearl.rsp + +pearlbench.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > pearlbench.rsp + echo dsf.obj grid.obj loopgen.obj malloc.obj misc.obj >> pearlbench.rsp + echo nullfe.obj pearl2.obj penrose.obj random.obj >> pearlbench.rsp + echo tdq.obj tree234.obj >> pearlbench.rsp + +pegs.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > pegs.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> pegs.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> pegs.rsp + echo pegs.obj printing.obj random.obj tree234.obj >> pegs.rsp + echo user32.lib version.obj windows.obj winspool.lib >> pegs.rsp + +puzzles.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > puzzles.rsp + echo blackbo3.obj bridges3.obj combi.obj comctl32.lib >> puzzles.rsp + echo comdlg32.lib cube3.obj divvy.obj dominos3.obj >> puzzles.rsp + echo drawing.obj dsf.obj fifteen5.obj filling5.obj >> puzzles.rsp + echo findloop.obj flip3.obj flood3.obj galaxie7.obj >> puzzles.rsp + echo gdi32.lib grid.obj guess3.obj inertia3.obj >> puzzles.rsp + echo keen5.obj latin.obj laydomino.obj lightup5.obj >> puzzles.rsp + echo list.obj loopgen.obj loopy5.obj magnets5.obj >> puzzles.rsp + echo malloc.obj map5.obj maxflow.obj midend.obj >> puzzles.rsp + echo mines5.obj misc.obj net3.obj netslid3.obj >> puzzles.rsp + echo noicon.res palisad3.obj pattern7.obj pearl5.obj >> puzzles.rsp + echo pegs3.obj penrose.obj printing.obj random.obj >> puzzles.rsp + echo range3.obj rect3.obj samegam3.obj signpos5.obj >> puzzles.rsp + echo singles5.obj sixteen3.obj slant5.obj solo5.obj >> puzzles.rsp + echo tdq.obj tents5.obj towers5.obj tracks3.obj >> puzzles.rsp + echo tree234.obj twiddle3.obj undead3.obj unequal5.obj >> puzzles.rsp + echo unruly5.obj untangl3.obj user32.lib version.obj >> puzzles.rsp + echo windows1.obj winspool.lib >> puzzles.rsp + +range.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > range.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> range.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> range.rsp + echo noicon.res printing.obj random.obj range.obj >> range.rsp + echo user32.lib version.obj windows.obj winspool.lib >> range.rsp + +rect.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > rect.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> rect.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> rect.rsp + echo printing.obj random.obj rect.obj user32.lib >> rect.rsp + echo version.obj windows.obj winspool.lib >> rect.rsp + +samegame.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > samegame.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> samegame.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> samegame.rsp + echo printing.obj random.obj samegame.obj user32.lib >> samegame.rsp + echo version.obj windows.obj winspool.lib >> samegame.rsp + +signpost.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > signpost.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> signpost.rsp + echo gdi32.lib malloc.obj midend.obj misc.obj >> signpost.rsp + echo noicon.res printing.obj random.obj signpost.obj >> signpost.rsp + echo user32.lib version.obj windows.obj winspool.lib >> signpost.rsp + +signpostsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > signpostsolver.rsp + echo dsf.obj malloc.obj misc.obj nullfe.obj random.obj >> signpostsolver.rsp + echo signpos2.obj >> signpostsolver.rsp + +singles.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > singles.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> singles.rsp + echo gdi32.lib latin.obj malloc.obj maxflow.obj >> singles.rsp + echo midend.obj misc.obj noicon.res printing.obj >> singles.rsp + echo random.obj singles.obj tree234.obj user32.lib >> singles.rsp + echo version.obj windows.obj winspool.lib >> singles.rsp + +singlessolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > singlessolver.rsp + echo dsf.obj latin.obj malloc.obj maxflow.obj misc.obj >> singlessolver.rsp + echo nullfe.obj random.obj singles3.obj tree234.obj >> singlessolver.rsp + +sixteen.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > sixteen.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> sixteen.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> sixteen.rsp + echo printing.obj random.obj sixteen.obj user32.lib >> sixteen.rsp + echo version.obj windows.obj winspool.lib >> sixteen.rsp + +slant.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > slant.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> slant.rsp + echo findloop.obj gdi32.lib malloc.obj midend.obj >> slant.rsp + echo misc.obj noicon.res printing.obj random.obj >> slant.rsp + echo slant.obj user32.lib version.obj windows.obj >> slant.rsp + echo winspool.lib >> slant.rsp + +slantsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > slantsolver.rsp + echo dsf.obj findloop.obj malloc.obj misc.obj >> slantsolver.rsp + echo nullfe.obj random.obj slant2.obj >> slantsolver.rsp + +solo.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > solo.rsp + echo comctl32.lib comdlg32.lib divvy.obj drawing.obj >> solo.rsp + echo dsf.obj gdi32.lib malloc.obj midend.obj misc.obj >> solo.rsp + echo noicon.res printing.obj random.obj solo.obj >> solo.rsp + echo user32.lib version.obj windows.obj winspool.lib >> solo.rsp + +solosolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > solosolver.rsp + echo divvy.obj dsf.obj malloc.obj misc.obj nullfe.obj >> solosolver.rsp + echo random.obj solo2.obj >> solosolver.rsp + +tents.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > tents.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> tents.rsp + echo gdi32.lib malloc.obj maxflow.obj midend.obj >> tents.rsp + echo misc.obj noicon.res printing.obj random.obj >> tents.rsp + echo tents.obj user32.lib version.obj windows.obj >> tents.rsp + echo winspool.lib >> tents.rsp + +tentssolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > tentssolver.rsp + echo dsf.obj malloc.obj maxflow.obj misc.obj >> tentssolver.rsp + echo nullfe.obj random.obj tents3.obj >> tentssolver.rsp + +towers.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > towers.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> towers.rsp + echo latin.obj malloc.obj maxflow.obj midend.obj >> towers.rsp + echo misc.obj noicon.res printing.obj random.obj >> towers.rsp + echo towers.obj tree234.obj user32.lib version.obj >> towers.rsp + echo windows.obj winspool.lib >> towers.rsp + +towerssolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > towerssolver.rsp + echo latin6.obj malloc.obj maxflow.obj misc.obj >> towerssolver.rsp + echo nullfe.obj random.obj towers2.obj tree234.obj >> towerssolver.rsp + +tracks.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > tracks.rsp + echo comctl32.lib comdlg32.lib drawing.obj dsf.obj >> tracks.rsp + echo findloop.obj gdi32.lib malloc.obj midend.obj >> tracks.rsp + echo misc.obj noicon.res printing.obj random.obj >> tracks.rsp + echo tracks.obj user32.lib version.obj windows.obj >> tracks.rsp + echo winspool.lib >> tracks.rsp + +twiddle.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > twiddle.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> twiddle.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> twiddle.rsp + echo printing.obj random.obj twiddle.obj user32.lib >> twiddle.rsp + echo version.obj windows.obj winspool.lib >> twiddle.rsp + +undead.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > undead.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> undead.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> undead.rsp + echo printing.obj random.obj undead.obj user32.lib >> undead.rsp + echo version.obj windows.obj winspool.lib >> undead.rsp + +unequal.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > unequal.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> unequal.rsp + echo latin.obj malloc.obj maxflow.obj midend.obj >> unequal.rsp + echo misc.obj noicon.res printing.obj random.obj >> unequal.rsp + echo tree234.obj unequal.obj user32.lib version.obj >> unequal.rsp + echo windows.obj winspool.lib >> unequal.rsp + +unequalsolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > unequalsolver.rsp + echo latin6.obj malloc.obj maxflow.obj misc.obj >> unequalsolver.rsp + echo nullfe.obj random.obj tree234.obj unequal2.obj >> unequalsolver.rsp + +unruly.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > unruly.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> unruly.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> unruly.rsp + echo printing.obj random.obj unruly.obj user32.lib >> unruly.rsp + echo version.obj windows.obj winspool.lib >> unruly.rsp + +unrulysolver.rsp: $(MAKEFILE) + echo /nologo /subsystem:console > unrulysolver.rsp + echo malloc.obj misc.obj nullfe.obj random.obj >> unrulysolver.rsp + echo unruly2.obj >> unrulysolver.rsp + +untangle.rsp: $(MAKEFILE) + echo /nologo /subsystem:windows > untangle.rsp + echo comctl32.lib comdlg32.lib drawing.obj gdi32.lib >> untangle.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> untangle.rsp + echo printing.obj random.obj tree234.obj untangle.obj >> untangle.rsp + echo user32.lib version.obj windows.obj winspool.lib >> untangle.rsp + +blackbox.obj: .\blackbox.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\blackbox.c /Foblackbox.obj +blackbo3.obj: .\blackbox.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\blackbox.c /Foblackbo3.obj +bridges.obj: .\bridges.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\bridges.c /Fobridges.obj +bridges3.obj: .\bridges.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\bridges.c /Fobridges3.obj +combi.obj: .\combi.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\combi.c /Focombi.obj +cube.obj: .\cube.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\cube.c /Focube.obj +cube3.obj: .\cube.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\cube.c /Focube3.obj +divvy.obj: .\divvy.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\divvy.c /Fodivvy.obj +dominosa.obj: .\dominosa.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\dominosa.c /Fodominosa.obj +dominos3.obj: .\dominosa.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\dominosa.c /Fodominos3.obj +drawing.obj: .\drawing.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\drawing.c /Fodrawing.obj +dsf.obj: .\dsf.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\dsf.c /Fodsf.obj +fifteen.obj: .\fifteen.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\fifteen.c /Fofifteen.obj +fifteen5.obj: .\fifteen.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\fifteen.c /Fofifteen5.obj +fifteen2.obj: .\fifteen.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\fifteen.c /Fofifteen2.obj +filling.obj: .\filling.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\filling.c /Fofilling.obj +filling5.obj: .\filling.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\filling.c /Fofilling5.obj +filling2.obj: .\filling.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\filling.c /Fofilling2.obj +findloop.obj: .\findloop.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\findloop.c /Fofindloop.obj +flip.obj: .\flip.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\flip.c /Foflip.obj +flip3.obj: .\flip.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\flip.c /Foflip3.obj +flood.obj: .\flood.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\flood.c /Foflood.obj +flood3.obj: .\flood.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\flood.c /Foflood3.obj +galaxies.obj: .\galaxies.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\galaxies.c /Fogalaxies.obj +galaxie7.obj: .\galaxies.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\galaxies.c /Fogalaxie7.obj +galaxie4.obj: .\galaxies.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_PICTURE_GENERATOR /c .\galaxies.c /Fogalaxie4.obj +galaxie2.obj: .\galaxies.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\galaxies.c /Fogalaxie2.obj +grid.obj: .\grid.c .\puzzles.h .\tree234.h .\grid.h .\penrose.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\grid.c /Fogrid.obj +gtk.obj: .\gtk.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\gtk.c /Fogtk.obj +guess.obj: .\guess.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\guess.c /Foguess.obj +guess3.obj: .\guess.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\guess.c /Foguess3.obj +inertia.obj: .\inertia.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\inertia.c /Foinertia.obj +inertia3.obj: .\inertia.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\inertia.c /Foinertia3.obj +keen.obj: .\keen.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\keen.c /Fokeen.obj +keen5.obj: .\keen.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\keen.c /Fokeen5.obj +keen2.obj: .\keen.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\keen.c /Fokeen2.obj +latin.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\latin.c /Folatin.obj +latin8.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_LATIN_TEST /c .\latin.c /Folatin8.obj +latin6.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\latin.c /Folatin6.obj +laydomino.obj: .\laydomino.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\laydomino.c /Folaydomino.obj +lightup.obj: .\lightup.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\lightup.c /Folightup.obj +lightup5.obj: .\lightup.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\lightup.c /Folightup5.obj +lightup2.obj: .\lightup.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\lightup.c /Folightup2.obj +list.obj: .\list.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\list.c /Folist.obj +loopgen.obj: .\loopgen.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\loopgen.c /Foloopgen.obj +loopy.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\loopy.c /Foloopy.obj +loopy5.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\loopy.c /Foloopy5.obj +loopy2.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\loopy.c /Foloopy2.obj +magnets.obj: .\magnets.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\magnets.c /Fomagnets.obj +magnets5.obj: .\magnets.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\magnets.c /Fomagnets5.obj +magnets2.obj: .\magnets.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\magnets.c /Fomagnets2.obj +malloc.obj: .\malloc.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\malloc.c /Fomalloc.obj +map.obj: .\map.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\map.c /Fomap.obj +map5.obj: .\map.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\map.c /Fomap5.obj +map2.obj: .\map.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\map.c /Fomap2.obj +maxflow.obj: .\maxflow.c .\maxflow.h .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\maxflow.c /Fomaxflow.obj +midend.obj: .\midend.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\midend.c /Fomidend.obj +mines.obj: .\mines.c .\tree234.h .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\mines.c /Fomines.obj +mines5.obj: .\mines.c .\tree234.h .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\mines.c /Fomines5.obj +mines2.obj: .\mines.c .\tree234.h .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_OBFUSCATOR /c .\mines.c /Fomines2.obj +misc.obj: .\misc.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\misc.c /Fomisc.obj +net.obj: .\net.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\net.c /Fonet.obj +net3.obj: .\net.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\net.c /Fonet3.obj +netslide.obj: .\netslide.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\netslide.c /Fonetslide.obj +netslid3.obj: .\netslide.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\netslide.c /Fonetslid3.obj +no-icon.obj: .\no-icon.c + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\no-icon.c /Fono-icon.obj +noicon.res: .\noicon.rc .\puzzles.rc2 .\resource.h + rc $(FWHACK) $(RCFL) -r -DWIN32 -D_WIN32 -DWINVER=0x0400 -fonoicon.res .\noicon.rc +nullfe.obj: .\nullfe.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\nullfe.c /Fonullfe.obj +nullgame.obj: .\nullgame.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\nullgame.c /Fonullgame.obj +obfusc.obj: .\obfusc.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\obfusc.c /Foobfusc.obj +osx.obj: .\osx.m .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\osx.m /Foosx.obj +palisade.obj: .\palisade.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\palisade.c /Fopalisade.obj +palisad3.obj: .\palisade.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\palisade.c /Fopalisad3.obj +pattern.obj: .\pattern.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pattern.c /Fopattern.obj +pattern7.obj: .\pattern.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pattern.c /Fopattern7.obj +pattern4.obj: .\pattern.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_PICTURE_GENERATOR /c .\pattern.c /Fopattern4.obj +pattern2.obj: .\pattern.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\pattern.c /Fopattern2.obj +pearl.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pearl.c /Fopearl.obj +pearl5.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pearl.c /Fopearl5.obj +pearl2.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\pearl.c /Fopearl2.obj +pegs.obj: .\pegs.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pegs.c /Fopegs.obj +pegs3.obj: .\pegs.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pegs.c /Fopegs3.obj +penrose.obj: .\penrose.c .\puzzles.h .\penrose.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\penrose.c /Fopenrose.obj +printing.obj: .\printing.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\printing.c /Foprinting.obj +ps.obj: .\ps.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\ps.c /Fops.obj +random.obj: .\random.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\random.c /Forandom.obj +range.obj: .\range.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\range.c /Forange.obj +range3.obj: .\range.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\range.c /Forange3.obj +rect.obj: .\rect.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\rect.c /Forect.obj +rect3.obj: .\rect.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\rect.c /Forect3.obj +samegame.obj: .\samegame.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\samegame.c /Fosamegame.obj +samegam3.obj: .\samegame.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\samegame.c /Fosamegam3.obj +signpost.obj: .\signpost.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\signpost.c /Fosignpost.obj +signpos5.obj: .\signpost.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\signpost.c /Fosignpos5.obj +signpos2.obj: .\signpost.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\signpost.c /Fosignpos2.obj +singles.obj: .\singles.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\singles.c /Fosingles.obj +singles5.obj: .\singles.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\singles.c /Fosingles5.obj +singles3.obj: .\singles.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\singles.c /Fosingles3.obj +sixteen.obj: .\sixteen.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\sixteen.c /Fosixteen.obj +sixteen3.obj: .\sixteen.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\sixteen.c /Fosixteen3.obj +slant.obj: .\slant.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\slant.c /Foslant.obj +slant5.obj: .\slant.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\slant.c /Foslant5.obj +slant2.obj: .\slant.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\slant.c /Foslant2.obj +solo.obj: .\solo.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\solo.c /Fosolo.obj +solo5.obj: .\solo.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\solo.c /Fosolo5.obj +solo2.obj: .\solo.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\solo.c /Fosolo2.obj +tdq.obj: .\tdq.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tdq.c /Fotdq.obj +tents.obj: .\tents.c .\puzzles.h .\maxflow.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tents.c /Fotents.obj +tents5.obj: .\tents.c .\puzzles.h .\maxflow.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\tents.c /Fotents5.obj +tents3.obj: .\tents.c .\puzzles.h .\maxflow.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\tents.c /Fotents3.obj +towers.obj: .\towers.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\towers.c /Fotowers.obj +towers5.obj: .\towers.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\towers.c /Fotowers5.obj +towers2.obj: .\towers.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\towers.c /Fotowers2.obj +tracks.obj: .\tracks.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tracks.c /Fotracks.obj +tracks3.obj: .\tracks.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\tracks.c /Fotracks3.obj +tree234.obj: .\tree234.c .\tree234.h .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tree234.c /Fotree234.obj +twiddle.obj: .\twiddle.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\twiddle.c /Fotwiddle.obj +twiddle3.obj: .\twiddle.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\twiddle.c /Fotwiddle3.obj +undead.obj: .\undead.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\undead.c /Foundead.obj +undead3.obj: .\undead.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\undead.c /Foundead3.obj +unequal.obj: .\unequal.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\unequal.c /Founequal.obj +unequal5.obj: .\unequal.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\unequal.c /Founequal5.obj +unequal2.obj: .\unequal.c .\puzzles.h .\latin.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\unequal.c /Founequal2.obj +unruly.obj: .\unruly.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\unruly.c /Founruly.obj +unruly5.obj: .\unruly.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\unruly.c /Founruly5.obj +unruly2.obj: .\unruly.c .\puzzles.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\unruly.c /Founruly2.obj +untangle.obj: .\untangle.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\untangle.c /Fountangle.obj +untangl3.obj: .\untangle.c .\puzzles.h .\tree234.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\untangle.c /Fountangl3.obj +version.obj: .\version.c .\version.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\version.c /Foversion.obj +windows.obj: .\windows.c .\puzzles.h .\resource.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\windows.c /Fowindows.obj +windows1.obj: .\windows.c .\puzzles.h .\resource.h + cl $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\windows.c /Fowindows1.obj + + +clean: tidy + -del *.exe + +tidy: + -del *.obj + -del *.res + -del *.pch + -del *.aps + -del *.ilk + -del *.pdb + -del *.rsp + -del *.dsp + -del *.dsw + -del *.ncb + -del *.opt + -del *.plg + -del *.map + -del *.idb + -del debug.log diff --git a/apps/plugins/puzzles/src/Makefile.wce b/apps/plugins/puzzles/src/Makefile.wce new file mode 100644 index 0000000000..241e30b8df --- /dev/null +++ b/apps/plugins/puzzles/src/Makefile.wce @@ -0,0 +1,808 @@ +# Makefile for puzzles on PocketPC using eMbedded Visual C. +# +# This file was created by `mkfiles.pl' from the `Recipe' file. +# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead. + +# If you rename this file to `Makefile', you should change this line, +# so that the .rsp files still depend on the correct makefile. +MAKEFILE = Makefile.wce + +# This makefile expects the environment to have been set up by one +# of the PocketPC batch files wcearmv4.bat and wceemulator.bat. No +# other build targets are currently supported, because they would +# need a section in this if statement. +!if "$(TARGETCPU)" == "emulator" +PLATFORM_DEFS=/D "_i386_" /D "i_386_" /D "_X86_" /D "x86" +CC=cl +BASELIBS=commctrl.lib coredll.lib corelibc.lib aygshell.lib +MACHINE=IX86 +!else +PLATFORM_DEFS=/D "ARM" /D "_ARM_" /D "ARMV4" +CC=clarm +BASELIBS=commctrl.lib coredll.lib aygshell.lib +MACHINE=ARM +!endif + +# C compilation flags +CFLAGS = /nologo /W3 /O1 /MC /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 \ + $(PLATFORM_DEFS) \ + /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "NO_HTMLHELP" + +LFLAGS = /nologo /incremental:no \ + /base:0x00010000 /stack:0x10000,0x1000 /entry:WinMainCRTStartup \ + /nodefaultlib:libc.lib /nodefaultlib:libcmt.lib /nodefaultlib:msvcrt.lib /nodefaultlib:OLDNAMES.lib \ + /subsystem:windowsce,4.20 /align:4096 /MACHINE:$(MACHINE) + +RCFL = /d UNDER_CE=420 /d _WIN32_WCE=420 /d "WIN32_PLATFORM_PSPC=400" \ + $(PLATFORM_DEFS) \ + /d "NDEBUG" /d "UNICODE" /d "_UNICODE" + +all: blackbox.exe bridges.exe cube.exe dominosa.exe fifteen.exe filling.exe \ + flip.exe flood.exe galaxies.exe guess.exe inertia.exe \ + keen.exe lightup.exe loopy.exe magnets.exe map.exe mines.exe \ + netgame.exe netslide.exe nullgame.exe palisade.exe \ + pattern.exe pearl.exe pegs.exe puzzles.exe range.exe \ + rect.exe samegame.exe signpost.exe singles.exe sixteen.exe \ + slant.exe solo.exe tents.exe towers.exe tracks.exe \ + twiddle.exe undead.exe unequal.exe unruly.exe untangle.exe + +blackbox.exe: blackbox.obj drawing.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + blackbox.rsp + link $(LFLAGS) -out:blackbox.exe -map:blackbox.map @blackbox.rsp + +bridges.exe: bridges.obj drawing.obj dsf.obj findloop.obj malloc.obj \ + midend.obj misc.obj noicon.res printing.obj random.obj \ + version.obj windows.obj bridges.rsp + link $(LFLAGS) -out:bridges.exe -map:bridges.map @bridges.rsp + +cube.exe: cube.obj drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj cube.rsp + link $(LFLAGS) -out:cube.exe -map:cube.map @cube.rsp + +dominosa.exe: dominosa.obj drawing.obj laydomino.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj dominosa.rsp + link $(LFLAGS) -out:dominosa.exe -map:dominosa.map @dominosa.rsp + +fifteen.exe: drawing.obj fifteen.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + fifteen.rsp + link $(LFLAGS) -out:fifteen.exe -map:fifteen.map @fifteen.rsp + +filling.exe: drawing.obj dsf.obj filling.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + filling.rsp + link $(LFLAGS) -out:filling.exe -map:filling.map @filling.rsp + +flip.exe: drawing.obj flip.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + flip.rsp + link $(LFLAGS) -out:flip.exe -map:flip.map @flip.rsp + +flood.exe: drawing.obj flood.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj flood.rsp + link $(LFLAGS) -out:flood.exe -map:flood.map @flood.rsp + +galaxies.exe: drawing.obj dsf.obj galaxies.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj galaxies.rsp + link $(LFLAGS) -out:galaxies.exe -map:galaxies.map @galaxies.rsp + +guess.exe: drawing.obj guess.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj version.obj windows.obj guess.rsp + link $(LFLAGS) -out:guess.exe -map:guess.map @guess.rsp + +inertia.exe: drawing.obj inertia.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + inertia.rsp + link $(LFLAGS) -out:inertia.exe -map:inertia.map @inertia.rsp + +keen.exe: drawing.obj dsf.obj keen.obj latin.obj malloc.obj maxflow.obj \ + midend.obj misc.obj noicon.res printing.obj random.obj \ + tree234.obj version.obj windows.obj keen.rsp + link $(LFLAGS) -out:keen.exe -map:keen.map @keen.rsp + +lightup.exe: combi.obj drawing.obj lightup.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj lightup.rsp + link $(LFLAGS) -out:lightup.exe -map:lightup.map @lightup.rsp + +loopy.exe: drawing.obj dsf.obj grid.obj loopgen.obj loopy.obj malloc.obj \ + midend.obj misc.obj noicon.res penrose.obj printing.obj \ + random.obj tree234.obj version.obj windows.obj loopy.rsp + link $(LFLAGS) -out:loopy.exe -map:loopy.map @loopy.rsp + +magnets.exe: drawing.obj laydomino.obj magnets.obj malloc.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj version.obj \ + windows.obj magnets.rsp + link $(LFLAGS) -out:magnets.exe -map:magnets.map @magnets.rsp + +map.exe: drawing.obj dsf.obj malloc.obj map.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj version.obj windows.obj \ + map.rsp + link $(LFLAGS) -out:map.exe -map:map.map @map.rsp + +mines.exe: drawing.obj malloc.obj midend.obj mines.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + mines.rsp + link $(LFLAGS) -out:mines.exe -map:mines.map @mines.rsp + +netgame.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + net.obj noicon.res printing.obj random.obj tree234.obj \ + version.obj windows.obj netgame.rsp + link $(LFLAGS) -out:netgame.exe -map:netgame.map @netgame.rsp + +netslide.exe: drawing.obj malloc.obj midend.obj misc.obj netslide.obj \ + noicon.res printing.obj random.obj tree234.obj version.obj \ + windows.obj netslide.rsp + link $(LFLAGS) -out:netslide.exe -map:netslide.map @netslide.rsp + +nullgame.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + nullgame.obj printing.obj random.obj version.obj windows.obj \ + nullgame.rsp + link $(LFLAGS) -out:nullgame.exe -map:nullgame.map @nullgame.rsp + +palisade.exe: divvy.obj drawing.obj dsf.obj malloc.obj midend.obj misc.obj \ + noicon.res palisade.obj printing.obj random.obj version.obj \ + windows.obj palisade.rsp + link $(LFLAGS) -out:palisade.exe -map:palisade.map @palisade.rsp + +pattern.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + pattern.obj printing.obj random.obj version.obj windows.obj \ + pattern.rsp + link $(LFLAGS) -out:pattern.exe -map:pattern.map @pattern.rsp + +pearl.exe: drawing.obj dsf.obj grid.obj loopgen.obj malloc.obj midend.obj \ + misc.obj pearl.obj penrose.obj printing.obj random.obj \ + tdq.obj tree234.obj version.obj windows.obj pearl.rsp + link $(LFLAGS) -out:pearl.exe -map:pearl.map @pearl.rsp + +pegs.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res pegs.obj \ + printing.obj random.obj tree234.obj version.obj windows.obj \ + pegs.rsp + link $(LFLAGS) -out:pegs.exe -map:pegs.map @pegs.rsp + +puzzles.exe: blackbo3.obj bridges3.obj combi.obj cube3.obj divvy.obj \ + dominos3.obj drawing.obj dsf.obj fifteen5.obj filling5.obj \ + findloop.obj flip3.obj flood3.obj galaxie7.obj grid.obj \ + guess3.obj inertia3.obj keen5.obj latin.obj laydomino.obj \ + lightup5.obj list.obj loopgen.obj loopy5.obj magnets5.obj \ + malloc.obj map5.obj maxflow.obj midend.obj mines5.obj \ + misc.obj net3.obj netslid3.obj noicon.res palisad3.obj \ + pattern7.obj pearl5.obj pegs3.obj penrose.obj printing.obj \ + random.obj range3.obj rect3.obj samegam3.obj signpos5.obj \ + singles5.obj sixteen3.obj slant5.obj solo5.obj tdq.obj \ + tents5.obj towers5.obj tracks3.obj tree234.obj twiddle3.obj \ + undead3.obj unequal5.obj unruly5.obj untangl3.obj \ + version.obj windows1.obj puzzles.rsp + link $(LFLAGS) -out:puzzles.exe -map:puzzles.map @puzzles.rsp + +range.exe: drawing.obj dsf.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj range.obj version.obj windows.obj \ + range.rsp + link $(LFLAGS) -out:range.exe -map:range.map @range.rsp + +rect.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res printing.obj \ + random.obj rect.obj version.obj windows.obj rect.rsp + link $(LFLAGS) -out:rect.exe -map:rect.map @rect.rsp + +samegame.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj samegame.obj version.obj windows.obj \ + samegame.rsp + link $(LFLAGS) -out:samegame.exe -map:samegame.map @samegame.rsp + +signpost.exe: drawing.obj dsf.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj signpost.obj version.obj windows.obj \ + signpost.rsp + link $(LFLAGS) -out:signpost.exe -map:signpost.map @signpost.rsp + +singles.exe: drawing.obj dsf.obj latin.obj malloc.obj maxflow.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj singles.obj \ + tree234.obj version.obj windows.obj singles.rsp + link $(LFLAGS) -out:singles.exe -map:singles.map @singles.rsp + +sixteen.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj sixteen.obj version.obj windows.obj \ + sixteen.rsp + link $(LFLAGS) -out:sixteen.exe -map:sixteen.map @sixteen.rsp + +slant.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj slant.obj version.obj \ + windows.obj slant.rsp + link $(LFLAGS) -out:slant.exe -map:slant.map @slant.rsp + +solo.exe: divvy.obj drawing.obj dsf.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj solo.obj version.obj \ + windows.obj solo.rsp + link $(LFLAGS) -out:solo.exe -map:solo.map @solo.rsp + +tents.exe: drawing.obj dsf.obj malloc.obj maxflow.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj tents.obj version.obj \ + windows.obj tents.rsp + link $(LFLAGS) -out:tents.exe -map:tents.map @tents.rsp + +towers.exe: drawing.obj latin.obj malloc.obj maxflow.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj towers.obj tree234.obj \ + version.obj windows.obj towers.rsp + link $(LFLAGS) -out:towers.exe -map:towers.map @towers.rsp + +tracks.exe: drawing.obj dsf.obj findloop.obj malloc.obj midend.obj misc.obj \ + noicon.res printing.obj random.obj tracks.obj version.obj \ + windows.obj tracks.rsp + link $(LFLAGS) -out:tracks.exe -map:tracks.map @tracks.rsp + +twiddle.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj twiddle.obj version.obj windows.obj \ + twiddle.rsp + link $(LFLAGS) -out:twiddle.exe -map:twiddle.map @twiddle.rsp + +undead.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj undead.obj version.obj windows.obj \ + undead.rsp + link $(LFLAGS) -out:undead.exe -map:undead.map @undead.rsp + +unequal.exe: drawing.obj latin.obj malloc.obj maxflow.obj midend.obj \ + misc.obj noicon.res printing.obj random.obj tree234.obj \ + unequal.obj version.obj windows.obj unequal.rsp + link $(LFLAGS) -out:unequal.exe -map:unequal.map @unequal.rsp + +unruly.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj unruly.obj version.obj windows.obj \ + unruly.rsp + link $(LFLAGS) -out:unruly.exe -map:unruly.map @unruly.rsp + +untangle.exe: drawing.obj malloc.obj midend.obj misc.obj noicon.res \ + printing.obj random.obj tree234.obj untangle.obj version.obj \ + windows.obj untangle.rsp + link $(LFLAGS) -out:untangle.exe -map:untangle.map @untangle.rsp + +blackbox.rsp: $(MAKEFILE) + echo $(BASELIBS) > blackbox.rsp + echo blackbox.obj drawing.obj malloc.obj midend.obj >> blackbox.rsp + echo misc.obj noicon.res printing.obj random.obj >> blackbox.rsp + echo version.obj windows.obj >> blackbox.rsp + +bridges.rsp: $(MAKEFILE) + echo $(BASELIBS) > bridges.rsp + echo bridges.obj drawing.obj dsf.obj findloop.obj >> bridges.rsp + echo malloc.obj midend.obj misc.obj noicon.res >> bridges.rsp + echo printing.obj random.obj version.obj windows.obj >> bridges.rsp + +cube.rsp: $(MAKEFILE) + echo $(BASELIBS) > cube.rsp + echo cube.obj drawing.obj malloc.obj midend.obj >> cube.rsp + echo misc.obj noicon.res printing.obj random.obj >> cube.rsp + echo version.obj windows.obj >> cube.rsp + +dominosa.rsp: $(MAKEFILE) + echo $(BASELIBS) > dominosa.rsp + echo dominosa.obj drawing.obj laydomino.obj malloc.obj >> dominosa.rsp + echo midend.obj misc.obj noicon.res printing.obj >> dominosa.rsp + echo random.obj version.obj windows.obj >> dominosa.rsp + +fifteen.rsp: $(MAKEFILE) + echo $(BASELIBS) > fifteen.rsp + echo drawing.obj fifteen.obj malloc.obj midend.obj >> fifteen.rsp + echo misc.obj noicon.res printing.obj random.obj >> fifteen.rsp + echo version.obj windows.obj >> fifteen.rsp + +filling.rsp: $(MAKEFILE) + echo $(BASELIBS) > filling.rsp + echo drawing.obj dsf.obj filling.obj malloc.obj >> filling.rsp + echo midend.obj misc.obj noicon.res printing.obj >> filling.rsp + echo random.obj version.obj windows.obj >> filling.rsp + +flip.rsp: $(MAKEFILE) + echo $(BASELIBS) > flip.rsp + echo drawing.obj flip.obj malloc.obj midend.obj >> flip.rsp + echo misc.obj noicon.res printing.obj random.obj >> flip.rsp + echo tree234.obj version.obj windows.obj >> flip.rsp + +flood.rsp: $(MAKEFILE) + echo $(BASELIBS) > flood.rsp + echo drawing.obj flood.obj malloc.obj midend.obj >> flood.rsp + echo misc.obj noicon.res printing.obj random.obj >> flood.rsp + echo version.obj windows.obj >> flood.rsp + +galaxies.rsp: $(MAKEFILE) + echo $(BASELIBS) > galaxies.rsp + echo drawing.obj dsf.obj galaxies.obj malloc.obj >> galaxies.rsp + echo midend.obj misc.obj noicon.res printing.obj >> galaxies.rsp + echo random.obj version.obj windows.obj >> galaxies.rsp + +guess.rsp: $(MAKEFILE) + echo $(BASELIBS) > guess.rsp + echo drawing.obj guess.obj malloc.obj midend.obj >> guess.rsp + echo misc.obj noicon.res printing.obj random.obj >> guess.rsp + echo version.obj windows.obj >> guess.rsp + +inertia.rsp: $(MAKEFILE) + echo $(BASELIBS) > inertia.rsp + echo drawing.obj inertia.obj malloc.obj midend.obj >> inertia.rsp + echo misc.obj noicon.res printing.obj random.obj >> inertia.rsp + echo version.obj windows.obj >> inertia.rsp + +keen.rsp: $(MAKEFILE) + echo $(BASELIBS) > keen.rsp + echo drawing.obj dsf.obj keen.obj latin.obj malloc.obj >> keen.rsp + echo maxflow.obj midend.obj misc.obj noicon.res >> keen.rsp + echo printing.obj random.obj tree234.obj version.obj >> keen.rsp + echo windows.obj >> keen.rsp + +lightup.rsp: $(MAKEFILE) + echo $(BASELIBS) > lightup.rsp + echo combi.obj drawing.obj lightup.obj malloc.obj >> lightup.rsp + echo midend.obj misc.obj noicon.res printing.obj >> lightup.rsp + echo random.obj version.obj windows.obj >> lightup.rsp + +loopy.rsp: $(MAKEFILE) + echo $(BASELIBS) > loopy.rsp + echo drawing.obj dsf.obj grid.obj loopgen.obj >> loopy.rsp + echo loopy.obj malloc.obj midend.obj misc.obj >> loopy.rsp + echo noicon.res penrose.obj printing.obj random.obj >> loopy.rsp + echo tree234.obj version.obj windows.obj >> loopy.rsp + +magnets.rsp: $(MAKEFILE) + echo $(BASELIBS) > magnets.rsp + echo drawing.obj laydomino.obj magnets.obj malloc.obj >> magnets.rsp + echo midend.obj misc.obj noicon.res printing.obj >> magnets.rsp + echo random.obj version.obj windows.obj >> magnets.rsp + +map.rsp: $(MAKEFILE) + echo $(BASELIBS) > map.rsp + echo drawing.obj dsf.obj malloc.obj map.obj midend.obj >> map.rsp + echo misc.obj noicon.res printing.obj random.obj >> map.rsp + echo version.obj windows.obj >> map.rsp + +mines.rsp: $(MAKEFILE) + echo $(BASELIBS) > mines.rsp + echo drawing.obj malloc.obj midend.obj mines.obj >> mines.rsp + echo misc.obj noicon.res printing.obj random.obj >> mines.rsp + echo tree234.obj version.obj windows.obj >> mines.rsp + +netgame.rsp: $(MAKEFILE) + echo $(BASELIBS) > netgame.rsp + echo drawing.obj dsf.obj findloop.obj malloc.obj >> netgame.rsp + echo midend.obj misc.obj net.obj noicon.res >> netgame.rsp + echo printing.obj random.obj tree234.obj version.obj >> netgame.rsp + echo windows.obj >> netgame.rsp + +netslide.rsp: $(MAKEFILE) + echo $(BASELIBS) > netslide.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> netslide.rsp + echo netslide.obj noicon.res printing.obj random.obj >> netslide.rsp + echo tree234.obj version.obj windows.obj >> netslide.rsp + +nullgame.rsp: $(MAKEFILE) + echo $(BASELIBS) > nullgame.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> nullgame.rsp + echo noicon.res nullgame.obj printing.obj random.obj >> nullgame.rsp + echo version.obj windows.obj >> nullgame.rsp + +palisade.rsp: $(MAKEFILE) + echo $(BASELIBS) > palisade.rsp + echo divvy.obj drawing.obj dsf.obj malloc.obj >> palisade.rsp + echo midend.obj misc.obj noicon.res palisade.obj >> palisade.rsp + echo printing.obj random.obj version.obj windows.obj >> palisade.rsp + +pattern.rsp: $(MAKEFILE) + echo $(BASELIBS) > pattern.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> pattern.rsp + echo noicon.res pattern.obj printing.obj random.obj >> pattern.rsp + echo version.obj windows.obj >> pattern.rsp + +pearl.rsp: $(MAKEFILE) + echo $(BASELIBS) > pearl.rsp + echo drawing.obj dsf.obj grid.obj loopgen.obj >> pearl.rsp + echo malloc.obj midend.obj misc.obj pearl.obj >> pearl.rsp + echo penrose.obj printing.obj random.obj tdq.obj >> pearl.rsp + echo tree234.obj version.obj windows.obj >> pearl.rsp + +pegs.rsp: $(MAKEFILE) + echo $(BASELIBS) > pegs.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> pegs.rsp + echo noicon.res pegs.obj printing.obj random.obj >> pegs.rsp + echo tree234.obj version.obj windows.obj >> pegs.rsp + +puzzles.rsp: $(MAKEFILE) + echo $(BASELIBS) > puzzles.rsp + echo blackbo3.obj bridges3.obj combi.obj cube3.obj >> puzzles.rsp + echo divvy.obj dominos3.obj drawing.obj dsf.obj >> puzzles.rsp + echo fifteen5.obj filling5.obj findloop.obj flip3.obj >> puzzles.rsp + echo flood3.obj galaxie7.obj grid.obj guess3.obj >> puzzles.rsp + echo inertia3.obj keen5.obj latin.obj laydomino.obj >> puzzles.rsp + echo lightup5.obj list.obj loopgen.obj loopy5.obj >> puzzles.rsp + echo magnets5.obj malloc.obj map5.obj maxflow.obj >> puzzles.rsp + echo midend.obj mines5.obj misc.obj net3.obj >> puzzles.rsp + echo netslid3.obj noicon.res palisad3.obj pattern7.obj >> puzzles.rsp + echo pearl5.obj pegs3.obj penrose.obj printing.obj >> puzzles.rsp + echo random.obj range3.obj rect3.obj samegam3.obj >> puzzles.rsp + echo signpos5.obj singles5.obj sixteen3.obj slant5.obj >> puzzles.rsp + echo solo5.obj tdq.obj tents5.obj towers5.obj >> puzzles.rsp + echo tracks3.obj tree234.obj twiddle3.obj undead3.obj >> puzzles.rsp + echo unequal5.obj unruly5.obj untangl3.obj version.obj >> puzzles.rsp + echo windows1.obj >> puzzles.rsp + +range.rsp: $(MAKEFILE) + echo $(BASELIBS) > range.rsp + echo drawing.obj dsf.obj malloc.obj midend.obj >> range.rsp + echo misc.obj noicon.res printing.obj random.obj >> range.rsp + echo range.obj version.obj windows.obj >> range.rsp + +rect.rsp: $(MAKEFILE) + echo $(BASELIBS) > rect.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> rect.rsp + echo noicon.res printing.obj random.obj rect.obj >> rect.rsp + echo version.obj windows.obj >> rect.rsp + +samegame.rsp: $(MAKEFILE) + echo $(BASELIBS) > samegame.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> samegame.rsp + echo noicon.res printing.obj random.obj samegame.obj >> samegame.rsp + echo version.obj windows.obj >> samegame.rsp + +signpost.rsp: $(MAKEFILE) + echo $(BASELIBS) > signpost.rsp + echo drawing.obj dsf.obj malloc.obj midend.obj >> signpost.rsp + echo misc.obj noicon.res printing.obj random.obj >> signpost.rsp + echo signpost.obj version.obj windows.obj >> signpost.rsp + +singles.rsp: $(MAKEFILE) + echo $(BASELIBS) > singles.rsp + echo drawing.obj dsf.obj latin.obj malloc.obj >> singles.rsp + echo maxflow.obj midend.obj misc.obj noicon.res >> singles.rsp + echo printing.obj random.obj singles.obj tree234.obj >> singles.rsp + echo version.obj windows.obj >> singles.rsp + +sixteen.rsp: $(MAKEFILE) + echo $(BASELIBS) > sixteen.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> sixteen.rsp + echo noicon.res printing.obj random.obj sixteen.obj >> sixteen.rsp + echo version.obj windows.obj >> sixteen.rsp + +slant.rsp: $(MAKEFILE) + echo $(BASELIBS) > slant.rsp + echo drawing.obj dsf.obj findloop.obj malloc.obj >> slant.rsp + echo midend.obj misc.obj noicon.res printing.obj >> slant.rsp + echo random.obj slant.obj version.obj windows.obj >> slant.rsp + +solo.rsp: $(MAKEFILE) + echo $(BASELIBS) > solo.rsp + echo divvy.obj drawing.obj dsf.obj malloc.obj >> solo.rsp + echo midend.obj misc.obj noicon.res printing.obj >> solo.rsp + echo random.obj solo.obj version.obj windows.obj >> solo.rsp + +tents.rsp: $(MAKEFILE) + echo $(BASELIBS) > tents.rsp + echo drawing.obj dsf.obj malloc.obj maxflow.obj >> tents.rsp + echo midend.obj misc.obj noicon.res printing.obj >> tents.rsp + echo random.obj tents.obj version.obj windows.obj >> tents.rsp + +towers.rsp: $(MAKEFILE) + echo $(BASELIBS) > towers.rsp + echo drawing.obj latin.obj malloc.obj maxflow.obj >> towers.rsp + echo midend.obj misc.obj noicon.res printing.obj >> towers.rsp + echo random.obj towers.obj tree234.obj version.obj >> towers.rsp + echo windows.obj >> towers.rsp + +tracks.rsp: $(MAKEFILE) + echo $(BASELIBS) > tracks.rsp + echo drawing.obj dsf.obj findloop.obj malloc.obj >> tracks.rsp + echo midend.obj misc.obj noicon.res printing.obj >> tracks.rsp + echo random.obj tracks.obj version.obj windows.obj >> tracks.rsp + +twiddle.rsp: $(MAKEFILE) + echo $(BASELIBS) > twiddle.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> twiddle.rsp + echo noicon.res printing.obj random.obj twiddle.obj >> twiddle.rsp + echo version.obj windows.obj >> twiddle.rsp + +undead.rsp: $(MAKEFILE) + echo $(BASELIBS) > undead.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> undead.rsp + echo noicon.res printing.obj random.obj undead.obj >> undead.rsp + echo version.obj windows.obj >> undead.rsp + +unequal.rsp: $(MAKEFILE) + echo $(BASELIBS) > unequal.rsp + echo drawing.obj latin.obj malloc.obj maxflow.obj >> unequal.rsp + echo midend.obj misc.obj noicon.res printing.obj >> unequal.rsp + echo random.obj tree234.obj unequal.obj version.obj >> unequal.rsp + echo windows.obj >> unequal.rsp + +unruly.rsp: $(MAKEFILE) + echo $(BASELIBS) > unruly.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> unruly.rsp + echo noicon.res printing.obj random.obj unruly.obj >> unruly.rsp + echo version.obj windows.obj >> unruly.rsp + +untangle.rsp: $(MAKEFILE) + echo $(BASELIBS) > untangle.rsp + echo drawing.obj malloc.obj midend.obj misc.obj >> untangle.rsp + echo noicon.res printing.obj random.obj tree234.obj >> untangle.rsp + echo untangle.obj version.obj windows.obj >> untangle.rsp + +blackbox.obj: .\blackbox.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\blackbox.c /Foblackbox.obj +blackbo3.obj: .\blackbox.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\blackbox.c /Foblackbo3.obj +bridges.obj: .\bridges.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\bridges.c /Fobridges.obj +bridges3.obj: .\bridges.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\bridges.c /Fobridges3.obj +combi.obj: .\combi.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\combi.c /Focombi.obj +cube.obj: .\cube.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\cube.c /Focube.obj +cube3.obj: .\cube.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\cube.c /Focube3.obj +divvy.obj: .\divvy.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\divvy.c /Fodivvy.obj +dominosa.obj: .\dominosa.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\dominosa.c /Fodominosa.obj +dominos3.obj: .\dominosa.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\dominosa.c /Fodominos3.obj +drawing.obj: .\drawing.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\drawing.c /Fodrawing.obj +dsf.obj: .\dsf.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\dsf.c /Fodsf.obj +fifteen.obj: .\fifteen.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\fifteen.c /Fofifteen.obj +fifteen5.obj: .\fifteen.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\fifteen.c /Fofifteen5.obj +fifteen2.obj: .\fifteen.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\fifteen.c /Fofifteen2.obj +filling.obj: .\filling.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\filling.c /Fofilling.obj +filling5.obj: .\filling.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\filling.c /Fofilling5.obj +filling2.obj: .\filling.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\filling.c /Fofilling2.obj +findloop.obj: .\findloop.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\findloop.c /Fofindloop.obj +flip.obj: .\flip.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\flip.c /Foflip.obj +flip3.obj: .\flip.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\flip.c /Foflip3.obj +flood.obj: .\flood.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\flood.c /Foflood.obj +flood3.obj: .\flood.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\flood.c /Foflood3.obj +galaxies.obj: .\galaxies.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\galaxies.c /Fogalaxies.obj +galaxie7.obj: .\galaxies.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\galaxies.c /Fogalaxie7.obj +galaxie4.obj: .\galaxies.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_PICTURE_GENERATOR /c .\galaxies.c /Fogalaxie4.obj +galaxie2.obj: .\galaxies.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\galaxies.c /Fogalaxie2.obj +grid.obj: .\grid.c .\puzzles.h .\tree234.h .\grid.h .\penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\grid.c /Fogrid.obj +gtk.obj: .\gtk.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\gtk.c /Fogtk.obj +guess.obj: .\guess.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\guess.c /Foguess.obj +guess3.obj: .\guess.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\guess.c /Foguess3.obj +inertia.obj: .\inertia.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\inertia.c /Foinertia.obj +inertia3.obj: .\inertia.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\inertia.c /Foinertia3.obj +keen.obj: .\keen.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\keen.c /Fokeen.obj +keen5.obj: .\keen.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\keen.c /Fokeen5.obj +keen2.obj: .\keen.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\keen.c /Fokeen2.obj +latin.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\latin.c /Folatin.obj +latin8.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_LATIN_TEST /c .\latin.c /Folatin8.obj +latin6.obj: .\latin.c .\puzzles.h .\tree234.h .\maxflow.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\latin.c /Folatin6.obj +laydomino.obj: .\laydomino.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\laydomino.c /Folaydomino.obj +lightup.obj: .\lightup.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\lightup.c /Folightup.obj +lightup5.obj: .\lightup.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\lightup.c /Folightup5.obj +lightup2.obj: .\lightup.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\lightup.c /Folightup2.obj +list.obj: .\list.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\list.c /Folist.obj +loopgen.obj: .\loopgen.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\loopgen.c /Foloopgen.obj +loopy.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\loopy.c /Foloopy.obj +loopy5.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\loopy.c /Foloopy5.obj +loopy2.obj: .\loopy.c .\puzzles.h .\tree234.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\loopy.c /Foloopy2.obj +magnets.obj: .\magnets.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\magnets.c /Fomagnets.obj +magnets5.obj: .\magnets.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\magnets.c /Fomagnets5.obj +magnets2.obj: .\magnets.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\magnets.c /Fomagnets2.obj +malloc.obj: .\malloc.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\malloc.c /Fomalloc.obj +map.obj: .\map.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\map.c /Fomap.obj +map5.obj: .\map.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\map.c /Fomap5.obj +map2.obj: .\map.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\map.c /Fomap2.obj +maxflow.obj: .\maxflow.c .\maxflow.h .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\maxflow.c /Fomaxflow.obj +midend.obj: .\midend.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\midend.c /Fomidend.obj +mines.obj: .\mines.c .\tree234.h .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\mines.c /Fomines.obj +mines5.obj: .\mines.c .\tree234.h .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\mines.c /Fomines5.obj +mines2.obj: .\mines.c .\tree234.h .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_OBFUSCATOR /c .\mines.c /Fomines2.obj +misc.obj: .\misc.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\misc.c /Fomisc.obj +net.obj: .\net.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\net.c /Fonet.obj +net3.obj: .\net.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\net.c /Fonet3.obj +netslide.obj: .\netslide.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\netslide.c /Fonetslide.obj +netslid3.obj: .\netslide.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\netslide.c /Fonetslid3.obj +no-icon.obj: .\no-icon.c + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\no-icon.c /Fono-icon.obj +noicon.res: .\noicon.rc .\puzzles.rc2 .\resource.h + rc $(FWHACK) $(RCFL) -r -fonoicon.res .\noicon.rc +nullfe.obj: .\nullfe.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\nullfe.c /Fonullfe.obj +nullgame.obj: .\nullgame.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\nullgame.c /Fonullgame.obj +obfusc.obj: .\obfusc.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\obfusc.c /Foobfusc.obj +osx.obj: .\osx.m .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\osx.m /Foosx.obj +palisade.obj: .\palisade.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\palisade.c /Fopalisade.obj +palisad3.obj: .\palisade.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\palisade.c /Fopalisad3.obj +pattern.obj: .\pattern.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pattern.c /Fopattern.obj +pattern7.obj: .\pattern.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pattern.c /Fopattern7.obj +pattern4.obj: .\pattern.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_PICTURE_GENERATOR /c .\pattern.c /Fopattern4.obj +pattern2.obj: .\pattern.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\pattern.c /Fopattern2.obj +pearl.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pearl.c /Fopearl.obj +pearl5.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pearl.c /Fopearl5.obj +pearl2.obj: .\pearl.c .\puzzles.h .\grid.h .\loopgen.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\pearl.c /Fopearl2.obj +pegs.obj: .\pegs.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\pegs.c /Fopegs.obj +pegs3.obj: .\pegs.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\pegs.c /Fopegs3.obj +penrose.obj: .\penrose.c .\puzzles.h .\penrose.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\penrose.c /Fopenrose.obj +printing.obj: .\printing.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\printing.c /Foprinting.obj +ps.obj: .\ps.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\ps.c /Fops.obj +random.obj: .\random.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\random.c /Forandom.obj +range.obj: .\range.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\range.c /Forange.obj +range3.obj: .\range.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\range.c /Forange3.obj +rect.obj: .\rect.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\rect.c /Forect.obj +rect3.obj: .\rect.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\rect.c /Forect3.obj +samegame.obj: .\samegame.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\samegame.c /Fosamegame.obj +samegam3.obj: .\samegame.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\samegame.c /Fosamegam3.obj +signpost.obj: .\signpost.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\signpost.c /Fosignpost.obj +signpos5.obj: .\signpost.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\signpost.c /Fosignpos5.obj +signpos2.obj: .\signpost.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\signpost.c /Fosignpos2.obj +singles.obj: .\singles.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\singles.c /Fosingles.obj +singles5.obj: .\singles.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\singles.c /Fosingles5.obj +singles3.obj: .\singles.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\singles.c /Fosingles3.obj +sixteen.obj: .\sixteen.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\sixteen.c /Fosixteen.obj +sixteen3.obj: .\sixteen.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\sixteen.c /Fosixteen3.obj +slant.obj: .\slant.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\slant.c /Foslant.obj +slant5.obj: .\slant.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\slant.c /Foslant5.obj +slant2.obj: .\slant.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\slant.c /Foslant2.obj +solo.obj: .\solo.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\solo.c /Fosolo.obj +solo5.obj: .\solo.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\solo.c /Fosolo5.obj +solo2.obj: .\solo.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\solo.c /Fosolo2.obj +tdq.obj: .\tdq.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tdq.c /Fotdq.obj +tents.obj: .\tents.c .\puzzles.h .\maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tents.c /Fotents.obj +tents5.obj: .\tents.c .\puzzles.h .\maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\tents.c /Fotents5.obj +tents3.obj: .\tents.c .\puzzles.h .\maxflow.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\tents.c /Fotents3.obj +towers.obj: .\towers.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\towers.c /Fotowers.obj +towers5.obj: .\towers.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\towers.c /Fotowers5.obj +towers2.obj: .\towers.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\towers.c /Fotowers2.obj +tracks.obj: .\tracks.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tracks.c /Fotracks.obj +tracks3.obj: .\tracks.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\tracks.c /Fotracks3.obj +tree234.obj: .\tree234.c .\tree234.h .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\tree234.c /Fotree234.obj +twiddle.obj: .\twiddle.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\twiddle.c /Fotwiddle.obj +twiddle3.obj: .\twiddle.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\twiddle.c /Fotwiddle3.obj +undead.obj: .\undead.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\undead.c /Foundead.obj +undead3.obj: .\undead.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\undead.c /Foundead3.obj +unequal.obj: .\unequal.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\unequal.c /Founequal.obj +unequal5.obj: .\unequal.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\unequal.c /Founequal5.obj +unequal2.obj: .\unequal.c .\puzzles.h .\latin.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\unequal.c /Founequal2.obj +unruly.obj: .\unruly.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\unruly.c /Founruly.obj +unruly5.obj: .\unruly.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\unruly.c /Founruly5.obj +unruly2.obj: .\unruly.c .\puzzles.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DSTANDALONE_SOLVER /c .\unruly.c /Founruly2.obj +untangle.obj: .\untangle.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\untangle.c /Fountangle.obj +untangl3.obj: .\untangle.c .\puzzles.h .\tree234.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\untangle.c /Fountangl3.obj +version.obj: .\version.c .\version.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\version.c /Foversion.obj +windows.obj: .\windows.c .\puzzles.h .\resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /c .\windows.c /Fowindows.obj +windows1.obj: .\windows.c .\puzzles.h .\resource.h + $(CC) $(COMPAT) $(FWHACK) $(CFLAGS) $(XFLAGS) /DCOMBINED /c .\windows.c /Fowindows1.obj + + +clean: tidy + -del *.exe + +tidy: + -del *.obj + -del *.res + -del *.pch + -del *.aps + -del *.ilk + -del *.pdb + -del *.rsp + -del *.dsp + -del *.dsw + -del *.ncb + -del *.opt + -del *.plg + -del *.map + -del *.idb + -del debug.log diff --git a/apps/plugins/puzzles/PuzzleApplet.java b/apps/plugins/puzzles/src/PuzzleApplet.java similarity index 92% rename from apps/plugins/puzzles/PuzzleApplet.java rename to apps/plugins/puzzles/src/PuzzleApplet.java index 0b0648ce9b..512aede580 100644 --- a/apps/plugins/puzzles/PuzzleApplet.java +++ b/apps/plugins/puzzles/src/PuzzleApplet.java @@ -28,6 +28,9 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { private JFrame mainWindow; private JMenu typeMenu; + private JMenuItem[] typeMenuItems; + private int customMenuItemIndex; + private JMenuItem solveCommand; private Color[] colors; private JLabel statusBar; @@ -219,17 +222,17 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { } private JMenuItem addMenuItemCallback(JMenu jm, String name, final String callback, final int arg) { - return addMenuItemCallback(jm, name, callback, new int[] {arg}); + return addMenuItemCallback(jm, name, callback, new int[] {arg}, false); } private JMenuItem addMenuItemCallback(JMenu jm, String name, final String callback) { - return addMenuItemCallback(jm, name, callback, new int[0]); + return addMenuItemCallback(jm, name, callback, new int[0], false); } - private JMenuItem addMenuItemCallback(JMenu jm, String name, final String callback, final int[] args) { + private JMenuItem addMenuItemCallback(JMenu jm, String name, final String callback, final int[] args, boolean checkbox) { JMenuItem jmi; - if (jm == typeMenu) - typeMenu.add(jmi = new JCheckBoxMenuItem(name)); + if (checkbox) + jm.add(jmi = new JCheckBoxMenuItem(name)); else jm.add(jmi = new JMenuItem(name)); jmi.addActionListener(new ActionListener() { @@ -261,12 +264,29 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { } else { typeMenu.setVisible(true); } - addMenuItemCallback(typeMenu, "Custom...", "jcallback_config_event", CFG_SETTINGS); + typeMenuItems[customMenuItemIndex] = + addMenuItemCallback(typeMenu, "Custom...", + "jcallback_config_event", + new int[] {CFG_SETTINGS}, true); } - private void addTypeItem(String name, final int ptrGameParams) { + private void addTypeItem + (JMenu targetMenu, String name, int newId, final int ptrGameParams) { + typeMenu.setVisible(true); - addMenuItemCallback(typeMenu, name, "jcallback_preset_event", ptrGameParams); + typeMenuItems[newId] = + addMenuItemCallback(targetMenu, name, + "jcallback_preset_event", + new int[] {ptrGameParams}, true); + } + + private void addTypeSubmenu + (JMenu targetMenu, String name, int newId) { + + JMenu newMenu = new JMenu(name); + newMenu.setVisible(true); + typeMenuItems[newId] = newMenu; + targetMenu.add(newMenu); } public int call(int cmd, int arg1, int arg2, int arg3) { @@ -279,8 +299,20 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { if ((arg2 & 4) != 0) solveCommand.setEnabled(true); colors = new Color[arg3]; return 0; - case 1: // Type menu item - addTypeItem(runtime.cstring(arg1), arg2); + case 1: // configure Type menu + if (arg1 == 0) { + // preliminary setup + typeMenuItems = new JMenuItem[arg2 + 2]; + typeMenuItems[arg2] = typeMenu; + customMenuItemIndex = arg2 + 1; + return arg2; + } else if (xarg1 != 0) { + addTypeItem((JMenu)typeMenuItems[arg2], + runtime.cstring(arg1), arg3, xarg1); + } else { + addTypeSubmenu((JMenu)typeMenuItems[arg2], + runtime.cstring(arg1), arg3); + } return 0; case 2: // MessageBox JOptionPane.showMessageDialog(this, runtime.cstring(arg2), runtime.cstring(arg1), arg3 == 0 ? JOptionPane.INFORMATION_MESSAGE : JOptionPane.ERROR_MESSAGE); @@ -432,10 +464,11 @@ public class PuzzleApplet extends JApplet implements Runtime.CallJavaCB { dlg = null; return 0; case 13: // tick a menu item - if (arg1 < 0) arg1 = typeMenu.getItemCount() - 1; - for (int i = 0; i < typeMenu.getItemCount(); i++) { - if (typeMenu.getMenuComponent(i) instanceof JCheckBoxMenuItem) { - ((JCheckBoxMenuItem)typeMenu.getMenuComponent(i)).setSelected(arg1 == i); + if (arg1 < 0) arg1 = customMenuItemIndex; + for (int i = 0; i < typeMenuItems.length; i++) { + if (typeMenuItems[i] instanceof JCheckBoxMenuItem) { + ((JCheckBoxMenuItem)typeMenuItems[i]).setSelected + (arg1 == i); } } return 0; diff --git a/apps/plugins/puzzles/README b/apps/plugins/puzzles/src/README similarity index 100% rename from apps/plugins/puzzles/README rename to apps/plugins/puzzles/src/README diff --git a/apps/plugins/puzzles/Recipe b/apps/plugins/puzzles/src/Recipe similarity index 100% rename from apps/plugins/puzzles/Recipe rename to apps/plugins/puzzles/src/Recipe diff --git a/apps/plugins/puzzles/src/aclocal.m4 b/apps/plugins/puzzles/src/aclocal.m4 new file mode 100644 index 0000000000..6e4efedfb6 --- /dev/null +++ b/apps/plugins/puzzles/src/aclocal.m4 @@ -0,0 +1,1832 @@ +# generated automatically by aclocal 1.15 -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. + +# This file 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. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# Configure paths for GTK+ +# Owen Taylor 1997-2001 + +dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, +dnl pass to pkg-config +dnl +AC_DEFUN([AM_PATH_GTK_2_0], +[dnl +dnl Get the cflags and libraries from pkg-config +dnl +AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], + , enable_gtktest=yes) + + pkg_config_args=gtk+-2.0 + for module in . $4 + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done + + no_gtk="" + + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + PKG_PROG_PKG_CONFIG([0.7]) + + min_gtk_version=ifelse([$1], ,2.0.0,$1) + AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK+ is sufficiently new. (Also sanity +dnl checks the results of pkg-config to some extent) +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + fclose (fopen ("conf.gtktest", "w")); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK+ test program, checking why..." + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) + +# Configure paths for GTK+ +# Owen Taylor 1997-2001 + +dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, +dnl pass to pkg-config +dnl +AC_DEFUN([AM_PATH_GTK_3_0], +[m4_warn([obsolete], [AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0]) instead]) +dnl Get the cflags and libraries from pkg-config +dnl +AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], + , enable_gtktest=yes) + min_gtk_version=ifelse([$1], [], [3.0.0], [$1]) + + pkg_config_args="gtk+-3.0 >= $min_gtk_version" + for module in . $4 + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done + + no_gtk="" + + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + + if test x$PKG_CONFIG != xno ; then + if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then + : + else + echo "*** pkg-config too old; version 0.7 or better required." + no_gtk=yes + PKG_CONFIG=no + fi + else + no_gtk=yes + fi + + AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK+ is sufficiently new. (Also sanity +dnl checks the results of pkg-config to some extent) +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + unsigned int major, minor, micro; + + fclose (fopen ("conf.gtktest", "w")); + + if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK+ test program, checking why..." + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) + +dnl GTK_CHECK_BACKEND(BACKEND-NAME [, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Tests for BACKEND-NAME in the GTK targets list +dnl +AC_DEFUN([GTK_CHECK_BACKEND], +[m4_warn([obsolete], [GTK_CHECK_BACKEND is deprecated, use PKG_CHECK_MODULES([GTK_X11], [gtk+-x11-3.0]) or similar instead]) + pkg_config_args=ifelse([$1],,gtk+-3.0, gtk+-$1-3.0) + min_gtk_version=ifelse([$2],,3.0.0,$2) + pkg_config_args="$pkg_config_args >= $min_gtk_version" + + AC_PATH_PROG(PKG_CONFIG, [pkg-config], [AC_MSG_ERROR([No pkg-config found])]) + + if $PKG_CONFIG $pkg_config_args ; then + target_found=yes + else + target_found=no + fi + + if test "x$target_found" = "xno"; then + ifelse([$4],,[AC_MSG_ERROR([Backend $backend not found.])],[$4]) + else + ifelse([$3],,[:],[$3]) + fi +]) + +dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +dnl serial 11 (pkg-config-0.29.1) +dnl +dnl Copyright © 2004 Scott James Remnant . +dnl Copyright © 2012-2015 Dan Nicholson +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a +dnl configuration script generated by Autoconf, you may include it under +dnl the same distribution terms that you use for the rest of that +dnl program. + +dnl PKG_PREREQ(MIN-VERSION) +dnl ----------------------- +dnl Since: 0.29 +dnl +dnl Verify that the version of the pkg-config macros are at least +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's +dnl installed version of pkg-config, this checks the developer's version +dnl of pkg.m4 when generating configure. +dnl +dnl To ensure that this macro is defined, also add: +dnl m4_ifndef([PKG_PREREQ], +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) +dnl +dnl See the "Since" comment for each macro you use to see what version +dnl of the macros you require. +m4_defun([PKG_PREREQ], +[m4_define([PKG_MACROS_VERSION], [0.29.1]) +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) +])dnl PKG_PREREQ + +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) +dnl ---------------------------------- +dnl Since: 0.16 +dnl +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to +dnl first found in the path. Checks that the version of pkg-config found +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is +dnl used since that's the first version where most current features of +dnl pkg-config existed. +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])dnl PKG_PROG_PKG_CONFIG + +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------------------------------- +dnl Since: 0.18 +dnl +dnl Check to see whether a particular set of modules exists. Similar to +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. +dnl +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +dnl only at the first occurence in configure.ac, so if the first place +dnl it's called might be skipped (such as if it is within an "if", you +dnl have to call PKG_CHECK_EXISTS manually +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +dnl --------------------------------------------- +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting +dnl pkg_failed based on the result. +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])dnl _PKG_CONFIG + +dnl _PKG_SHORT_ERRORS_SUPPORTED +dnl --------------------------- +dnl Internal check to see if pkg-config supports short errors. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])dnl _PKG_SHORT_ERRORS_SUPPORTED + + +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl -------------------------------------------------------------- +dnl Since: 0.4.0 +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])dnl PKG_CHECK_MODULES + + +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------------------- +dnl Since: 0.29 +dnl +dnl Checks for existence of MODULES and gathers its build flags with +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags +dnl and VARIABLE-PREFIX_LIBS from --libs. +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your +dnl configure.ac. +AC_DEFUN([PKG_CHECK_MODULES_STATIC], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +_save_PKG_CONFIG=$PKG_CONFIG +PKG_CONFIG="$PKG_CONFIG --static" +PKG_CHECK_MODULES($@) +PKG_CONFIG=$_save_PKG_CONFIG[]dnl +])dnl PKG_CHECK_MODULES_STATIC + + +dnl PKG_INSTALLDIR([DIRECTORY]) +dnl ------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable pkgconfigdir as the location where a module +dnl should install pkg-config .pc files. By default the directory is +dnl $libdir/pkgconfig, but the default can be changed by passing +dnl DIRECTORY. The user can override through the --with-pkgconfigdir +dnl parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_INSTALLDIR + + +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) +dnl -------------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable noarch_pkgconfigdir as the location where a +dnl module should install arch-independent pkg-config .pc files. By +dnl default the directory is $datadir/pkgconfig, but the default can be +dnl changed by passing DIRECTORY. The user can override through the +dnl --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_NOARCH_INSTALLDIR + + +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------- +dnl Since: 0.28 +dnl +dnl Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR + +# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.15' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.15], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.15])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# +# This file 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. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# +# This file 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. + + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each '.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# +# This file 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 macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# +# This file 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. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +# +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + diff --git a/apps/plugins/puzzles/benchmark.pl b/apps/plugins/puzzles/src/benchmark.pl similarity index 100% rename from apps/plugins/puzzles/benchmark.pl rename to apps/plugins/puzzles/src/benchmark.pl diff --git a/apps/plugins/puzzles/benchmark.sh b/apps/plugins/puzzles/src/benchmark.sh similarity index 100% rename from apps/plugins/puzzles/benchmark.sh rename to apps/plugins/puzzles/src/benchmark.sh diff --git a/apps/plugins/puzzles/blackbox.R b/apps/plugins/puzzles/src/blackbox.R similarity index 100% rename from apps/plugins/puzzles/blackbox.R rename to apps/plugins/puzzles/src/blackbox.R diff --git a/apps/plugins/puzzles/blackbox.c b/apps/plugins/puzzles/src/blackbox.c similarity index 99% rename from apps/plugins/puzzles/blackbox.c rename to apps/plugins/puzzles/src/blackbox.c index a4875e49d7..b334cf7117 100644 --- a/apps/plugins/puzzles/blackbox.c +++ b/apps/plugins/puzzles/src/blackbox.c @@ -5,7 +5,7 @@ #include #include #include -#include "rbassert.h" +#include #include #include @@ -1505,7 +1505,7 @@ static void game_print(drawing *dr, const game_state *state, int tilesize) const struct game thegame = { "Black Box", "games.blackbox", "blackbox", default_params, - game_fetch_preset, + game_fetch_preset, NULL, decode_params, encode_params, free_params, diff --git a/apps/plugins/puzzles/src/blackbox.html b/apps/plugins/puzzles/src/blackbox.html new file mode 100644 index 0000000000..f7bb340f41 --- /dev/null +++ b/apps/plugins/puzzles/src/blackbox.html @@ -0,0 +1,125 @@ + + + + +Black Box + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 19: Black Box

+

+A number of balls are hidden in a rectangular arena. You have to deduce the positions of the balls by firing lasers positioned at the edges of the arena and observing how their beams are deflected. +

+

+Beams will travel straight from their origin until they hit the opposite side of the arena (at which point they emerge), unless affected by balls in one of the following ways: +

+
  • +A beam that hits a ball head-on is absorbed and will never re-emerge. This includes beams that meet a ball on the first rank of the arena. +
  • +
  • +A beam with a ball in its front-left square and no ball ahead of it gets deflected 90 degrees to the right. +
  • +
  • +A beam with a ball in its front-right square and no ball ahead of it gets similarly deflected to the left. +
  • +
  • +A beam that would re-emerge from its entry location is considered to be ‘reflected’. +
  • +
  • +A beam which would get deflected before entering the arena by a ball to the front-left or front-right of its entry point is also considered to be ‘reflected’. +
  • +
+

+Beams that are reflected appear as a ‘R’; beams that hit balls head-on appear as ‘H’. Otherwise, a number appears at the firing point and the location where the beam emerges (this number is unique to that shot). +

+

+You can place guesses as to the location of the balls, based on the entry and exit patterns of the beams; once you have placed enough balls a button appears enabling you to have your guesses checked. +

+

+Here is a diagram showing how the positions of balls can create each of the beam behaviours shown above: +

+
 1RHR---- 
+|..O.O...|
+2........3
+|........|
+|........|
+3........|
+|......O.|
+H........|
+|.....O..|
+ 12-RR---
+
+

+As shown, it is possible for a beam to receive multiple reflections before re-emerging (see turn 3). Similarly, a beam may be reflected (possibly more than once) before receiving a hit (the ‘H’ on the left side of the example). +

+

+Note that any layout with more than 4 balls may have a non-unique solution. The following diagram illustrates this; if you know the board contains 5 balls, it is impossible to determine where the fifth ball is (possible positions marked with an x): +

+
 -------- 
+|........|
+|........|
+|..O..O..|
+|...xx...|
+|...xx...|
+|..O..O..|
+|........|
+|........|
+ --------
+
+

+For this reason, when you have your guesses checked, the game will check that your solution produces the same results as the computer's, rather than that your solution is identical to the computer's. So in the above example, you could put the fifth ball at any of the locations marked with an x, and you would still win. +

+

+Black Box was contributed to this collection by James Harvey. +

+

19.1 Black Box controls

+

+To fire a laser beam, left-click in a square around the edge of the arena. The results will be displayed immediately. Clicking or holding the left button on one of these squares will highlight the current go (or a previous go) to confirm the exit point for that laser, if applicable. +

+

+To guess the location of a ball, left-click within the arena and a black circle will appear marking the guess; click again to remove the guessed ball. +

+

+Locations in the arena may be locked against modification by right-clicking; whole rows and columns may be similarly locked by right-clicking in the laser square above/below that column, or to the left/right of that row. +

+

+The cursor keys may also be used to move around the grid. Pressing the Enter key will fire a laser or add a new ball-location guess, and pressing Space will lock a cell, row, or column. +

+

+When an appropriate number of balls have been guessed, a button will appear at the top-left corner of the grid; clicking that (with mouse or cursor) will check your guesses. +

+

+If you click the ‘check’ button and your guesses are not correct, the game will show you the minimum information necessary to demonstrate this to you, so you can try again. If your ball positions are not consistent with the beam paths you already know about, one beam path will be circled to indicate that it proves you wrong. If your positions match all the existing beam paths but are still wrong, one new beam path will be revealed (written in red) which is not consistent with your current guesses. +

+

+If you decide to give up completely, you can select Solve to reveal the actual ball positions. At this point, correctly-placed balls will be displayed as filled black circles, incorrectly-placed balls as filled black circles with red crosses, and missing balls as filled red circles. In addition, a red circle marks any laser you had already fired which is not consistent with your ball layout (just as when you press the ‘check’ button), and red text marks any laser you could have fired in order to distinguish your ball layout from the correct one. +

+

+(All the actions described in section 2.1 are also available.) +

+

19.2 Black Box parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Width, Height +
+
+Size of grid in squares. There are 2 × Width × Height lasers per grid, two per row and two per column. +
+
+No. of balls +
+
+Number of balls to place in the grid. This can be a single number, or a range (separated with a hyphen, like ‘2-6’), and determines the number of balls to place on the grid. The ‘reveal’ button is only enabled if you have guessed an appropriate number of balls; a guess using a different number to the original solution is still acceptable, if all the beam inputs and outputs match. +
+
+ +
+ diff --git a/apps/plugins/puzzles/bridges.R b/apps/plugins/puzzles/src/bridges.R similarity index 100% rename from apps/plugins/puzzles/bridges.R rename to apps/plugins/puzzles/src/bridges.R diff --git a/apps/plugins/puzzles/bridges.c b/apps/plugins/puzzles/src/bridges.c similarity index 99% rename from apps/plugins/puzzles/bridges.c rename to apps/plugins/puzzles/src/bridges.c index 05a9b16823..6975208fd6 100644 --- a/apps/plugins/puzzles/bridges.c +++ b/apps/plugins/puzzles/src/bridges.c @@ -70,7 +70,7 @@ #include #include #include -#include "rbassert.h" +#include #include #include @@ -3224,7 +3224,7 @@ static void game_print(drawing *dr, const game_state *state, int ts) const struct game thegame = { "Bridges", "games.bridges", "bridges", default_params, - game_fetch_preset, + game_fetch_preset, NULL, decode_params, encode_params, free_params, diff --git a/apps/plugins/puzzles/src/bridges.html b/apps/plugins/puzzles/src/bridges.html new file mode 100644 index 0000000000..74a8a130cd --- /dev/null +++ b/apps/plugins/puzzles/src/bridges.html @@ -0,0 +1,135 @@ + + + + +Bridges + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 26: Bridges

+

+You have a set of islands distributed across the playing area. Each island contains a number. Your aim is to connect the islands together with bridges, in such a way that: +

+
  • +Bridges run horizontally or vertically. +
  • +
  • +The number of bridges terminating at any island is equal to the number written in that island. +
  • +
  • +Two bridges may run in parallel between the same two islands, but no more than two may do so. +
  • +
  • +No bridge crosses another bridge. +
  • +
  • +All the islands are connected together. +
  • +
+

+There are some configurable alternative modes, which involve changing the parallel-bridge limit to something other than 2, and introducing the additional constraint that no sequence of bridges may form a loop from one island back to the same island. The rules stated above are the default ones. +

+

+Credit for this puzzle goes to Nikoli [12]. +

+

+Bridges was contributed to this collection by James Harvey. +

+

+[12] http://www.nikoli.co.jp/en/puzzles/hashiwokakero.html (beware of Flash) +

+

26.1 Bridges controls

+

+To place a bridge between two islands, click the mouse down on one island and drag it towards the other. You do not need to drag all the way to the other island; you only need to move the mouse far enough for the intended bridge direction to be unambiguous. (So you can keep the mouse near the starting island and conveniently throw bridges out from it in many directions.) +

+

+Doing this again when a bridge is already present will add another parallel bridge. If there are already as many bridges between the two islands as permitted by the current game rules (i.e. two by default), the same dragging action will remove all of them. +

+

+If you want to remind yourself that two islands definitely do not have a bridge between them, you can right-drag between them in the same way to draw a ‘non-bridge’ marker. +

+

+If you think you have finished with an island (i.e. you have placed all its bridges and are confident that they are in the right places), you can mark the island as finished by left-clicking on it. This will highlight it and all the bridges connected to it, and you will be prevented from accidentally modifying any of those bridges in future. Left-clicking again on a highlighted island will unmark it and restore your ability to modify it. +

+

+You can also use the cursor keys to move around the grid: if possible the cursor will always move orthogonally, otherwise it will move towards the nearest island to the indicated direction. Holding Control and pressing a cursor key will lay a bridge in that direction (if available); Shift and a cursor key will lay a ‘non-bridge’ marker. Pressing the return key followed by a cursor key will also lay a bridge in that direction. +

+

+You can mark an island as finished by pressing the space bar or by pressing the return key twice. +

+

+By pressing a number key, you can jump to the nearest island with that number. Letters ‘a’, ..., ‘f’ count as 10, ..., 15 and ‘0’ as 16. +

+

+Violations of the puzzle rules will be marked in red: +

+
  • +An island with too many bridges will be highlighted in red. +
  • +
  • +An island with too few bridges will be highlighted in red if it is definitely an error (as opposed to merely not being finished yet): if adding enough bridges would involve having to cross another bridge or remove a non-bridge marker, or if the island has been highlighted as complete. +
  • +
  • +A group of islands and bridges may be highlighted in red if it is a closed subset of the puzzle with no way to connect it to the rest of the islands. For example, if you directly connect two 1s together with a bridge and they are not the only two islands on the grid, they will light up red to indicate that such a group cannot be contained in any valid solution. +
  • +
  • +If you have selected the (non-default) option to disallow loops in the solution, a group of bridges which forms a loop will be highlighted. +
  • +
+

+(All the actions described in section 2.1 are also available.) +

+

26.2 Bridges parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Width, Height +
+
+Size of grid in squares. +
+
+Difficulty +
+
+Difficulty level of puzzle. +
+
+Allow loops +
+
+This is set by default. If cleared, puzzles will be generated in such a way that they are always soluble without creating a loop, and solutions which do involve a loop will be disallowed. +
+
+Max. bridges per direction +
+
+Maximum number of bridges in any particular direction. The default is 2, but you can change it to 1, 3 or 4. In general, fewer is easier. +
+
+%age of island squares +
+
+Gives a rough percentage of islands the generator will try and lay before finishing the puzzle. Certain layouts will not manage to lay enough islands; this is an upper bound. +
+
+Expansion factor (%age) +
+
+The grid generator works by picking an existing island at random (after first creating an initial island somewhere). It then decides on a direction (at random), and then works out how far it could extend before creating another island. This parameter determines how likely it is to extend as far as it can, rather than choosing somewhere closer. +

+High expansion factors usually mean easier puzzles with fewer possible islands; low expansion factors can create lots of tightly-packed islands. +

+ +
+
+ +
+ diff --git a/apps/plugins/puzzles/chm.but b/apps/plugins/puzzles/src/chm.but similarity index 100% rename from apps/plugins/puzzles/chm.but rename to apps/plugins/puzzles/src/chm.but diff --git a/apps/plugins/puzzles/chm.css b/apps/plugins/puzzles/src/chm.css similarity index 100% rename from apps/plugins/puzzles/chm.css rename to apps/plugins/puzzles/src/chm.css diff --git a/apps/plugins/puzzles/combi.c b/apps/plugins/puzzles/src/combi.c similarity index 98% rename from apps/plugins/puzzles/combi.c rename to apps/plugins/puzzles/src/combi.c index d39e298405..4c5d1077aa 100644 --- a/apps/plugins/puzzles/combi.c +++ b/apps/plugins/puzzles/src/combi.c @@ -1,4 +1,4 @@ -#include "rbassert.h" +#include #include #include "puzzles.h" diff --git a/apps/plugins/puzzles/src/common.html b/apps/plugins/puzzles/src/common.html new file mode 100644 index 0000000000..951429d806 --- /dev/null +++ b/apps/plugins/puzzles/src/common.html @@ -0,0 +1,285 @@ + + + + +Common features + + + + + + + +

Previous | Contents | Index | Next

+ + +

Chapter 2: Common features

+

+This chapter describes features that are common to all the games. +

+

2.1 Common actions

+

+These actions are all available from the ‘Game’ menu and via keyboard shortcuts, in addition to any game-specific actions. +

+

+(On Mac OS X, to conform with local user interface standards, these actions are situated on the ‘File’ and ‘Edit’ menus instead.) +

+
+New game (‘N’, Ctrl+‘N’) +
+
+Starts a new game, with a random initial state. +
+
+Restart game +
+
+Resets the current game to its initial state. (This can be undone.) +
+
+Load +
+
+Loads a saved game from a file on disk. +
+
+Save +
+
+Saves the current state of your game to a file on disk. +

+The Load and Save operations preserve your entire game history (so you can save, reload, and still Undo and Redo things you had done before saving). +

+ +
+
+Print +
+
+Where supported (currently only on Windows), brings up a dialog allowing you to print an arbitrary number of puzzles randomly generated from the current parameters, optionally including the current puzzle. (Only for puzzles which make sense to print, of course – it's hard to think of a sensible printable representation of Fifteen!) +
+
+Undo (‘U’, Ctrl+‘Z’, Ctrl+‘_’) +
+
+Undoes a single move. (You can undo moves back to the start of the session.) +
+
+Redo (‘R’, Ctrl+‘R’) +
+
+Redoes a previously undone move. +
+
+Copy +
+
+Copies the current state of your game to the clipboard in text format, so that you can paste it into (say) an e-mail client or a web message board if you're discussing the game with someone else. (Not all games support this feature.) +
+
+Solve +
+
+Transforms the puzzle instantly into its solved state. For some games (Cube) this feature is not supported at all because it is of no particular use. For other games (such as Pattern), the solved state can be used to give you information, if you can't see how a solution can exist at all or you want to know where you made a mistake. For still other games (such as Sixteen), automatic solution tells you nothing about how to get to the solution, but it does provide a useful way to get there quickly so that you can experiment with set-piece moves and transformations. +

+Some games (such as Solo) are capable of solving a game ID you have typed in from elsewhere. Other games (such as Rectangles) cannot solve a game ID they didn't invent themself, but when they did invent the game ID they know what the solution is already. Still other games (Pattern) can solve some external game IDs, but only if they aren't too difficult. +

+

+The ‘Solve’ command adds the solved state to the end of the undo chain for the puzzle. In other words, if you want to go back to solving it yourself after seeing the answer, you can just press Undo. +

+ +
+
+Quit (‘Q’, Ctrl+‘Q’) +
+
+Closes the application entirely. +
+
+

2.2 Specifying games with the game ID

+

+There are two ways to save a game specification out of a puzzle and recreate it later, or recreate it in somebody else's copy of the same puzzle. +

+

+The ‘Specific’ and ‘Random Seed’ options from the ‘Game’ menu (or the ‘File’ menu, on Mac OS X) each show a piece of text (a ‘game ID’) which is sufficient to reconstruct precisely the same game at a later date. +

+

+You can enter either of these pieces of text back into the program (via the same ‘Specific’ or ‘Random Seed’ menu options) at a later point, and it will recreate the same game. You can also use either one as a command line argument (on Windows or Unix); see section 2.4 for more detail. +

+

+The difference between the two forms is that a descriptive game ID is a literal description of the initial state of the game, whereas a random seed is just a piece of arbitrary text which was provided as input to the random number generator used to create the puzzle. This means that: +

+
  • +Descriptive game IDs tend to be longer in many puzzles (although some, such as Cube (chapter 4), only need very short descriptions). So a random seed is often a quicker way to note down the puzzle you're currently playing, or to tell it to somebody else so they can play the same one as you. +
  • +
  • +Any text at all is a valid random seed. The automatically generated ones are fifteen-digit numbers, but anything will do; you can type in your full name, or a word you just made up, and a valid puzzle will be generated from it. This provides a way for two or more people to race to complete the same puzzle: you think of a random seed, then everybody types it in at the same time, and nobody has an advantage due to having seen the generated puzzle before anybody else. +
  • +
  • +It is often possible to convert puzzles from other sources (such as ‘nonograms’ or ‘sudoku’ from newspapers) into descriptive game IDs suitable for use with these programs. +
  • +
  • +Random seeds are not guaranteed to produce the same result if you use them with a different version of the puzzle program. This is because the generation algorithm might have been improved or modified in later versions of the code, and will therefore produce a different result when given the same sequence of random numbers. Use a descriptive game ID if you aren't sure that it will be used on the same version of the program as yours. +

    +(Use the ‘About’ menu option to find out the version number of the program. Programs with the same version number running on different platforms should still be random-seed compatible.) +

    + +
  • +
+

+A descriptive game ID starts with a piece of text which encodes the parameters of the current game (such as grid size). Then there is a colon, and after that is the description of the game's initial state. A random seed starts with a similar string of parameters, but then it contains a hash sign followed by arbitrary data. +

+

+If you enter a descriptive game ID, the program will not be able to show you the random seed which generated it, since it wasn't generated from a random seed. If you enter a random seed, however, the program will be able to show you the descriptive game ID derived from that random seed. +

+

+Note that the game parameter strings are not always identical between the two forms. For some games, there will be parameter data provided with the random seed which is not included in the descriptive game ID. This is because that parameter information is only relevant when generating puzzle grids, and is not important when playing them. Thus, for example, the difficulty level in Solo (chapter 11) is not mentioned in the descriptive game ID. +

+

+These additional parameters are also not set permanently if you type in a game ID. For example, suppose you have Solo set to ‘Advanced’ difficulty level, and then a friend wants your help with a ‘Trivial’ puzzle; so the friend reads out a random seed specifying ‘Trivial’ difficulty, and you type it in. The program will generate you the same ‘Trivial’ grid which your friend was having trouble with, but once you have finished playing it, when you ask for a new game it will automatically go back to the ‘Advanced’ difficulty which it was previously set on. +

+

2.3 The ‘Type’ menu

+

+The ‘Type’ menu, if present, may contain a list of preset game settings. Selecting one of these will start a new random game with the parameters specified. +

+

+The ‘Type’ menu may also contain a ‘Custom’ option which allows you to fine-tune game parameters. The parameters available are specific to each game and are described in the following sections. +

+

2.4 Specifying game parameters on the command line

+

+(This section does not apply to the Mac OS X version.) +

+

+The games in this collection deliberately do not ever save information on to the computer they run on: they have no high score tables and no saved preferences. (This is because I expect at least some people to play them at work, and those people will probably appreciate leaving as little evidence as possible!) +

+

+However, if you do want to arrange for one of these games to default to a particular set of parameters, you can specify them on the command line. +

+

+The easiest way to do this is to set up the parameters you want using the ‘Type’ menu (see section 2.3), and then to select ‘Random Seed’ from the ‘Game’ or ‘File’ menu (see section 2.2). The text in the ‘Game ID’ box will be composed of two parts, separated by a hash. The first of these parts represents the game parameters (the size of the playing area, for example, and anything else you set using the ‘Type’ menu). +

+

+If you run the game with just that parameter text on the command line, it will start up with the settings you specified. +

+

+For example: if you run Cube (see chapter 4), select ‘Octahedron’ from the ‘Type’ menu, and then go to the game ID selection, you will see a string of the form ‘o2x2#338686542711620’. Take only the part before the hash (‘o2x2’), and start Cube with that text on the command line: ‘PREFIX-cube o2x2’. +

+

+If you copy the entire game ID on to the command line, the game will start up in the specific game that was described. This is occasionally a more convenient way to start a particular game ID than by pasting it into the game ID selection box. +

+

+(You could also retrieve the encoded game parameters using the ‘Specific’ menu option instead of ‘Random Seed’, but if you do then some options, such as the difficulty level in Solo, will be missing. See section 2.2 for more details on this.) +

+

2.5 Unix command-line options

+

+(This section only applies to the Unix port.) +

+

+In addition to being able to specify game parameters on the command line (see section 2.4), there are various other options: +

+
+--game +
+
+--load +
+
+These options respectively determine whether the command-line argument is treated as specifying game parameters or a save file to load. Only one should be specified. If neither of these options is specified, a guess is made based on the format of the argument. +
+
+--generate n +
+
+If this option is specified, instead of a puzzle being displayed, a number of descriptive game IDs will be invented and printed on standard output. This is useful for gaining access to the game generation algorithms without necessarily using the frontend. +

+If game parameters are specified on the command-line, they will be used to generate the game IDs; otherwise a default set of parameters will be used. +

+

+The most common use of this option is in conjunction with --print, in which case its behaviour is slightly different; see below. +

+ +
+
+--print wxh +
+
+If this option is specified, instead of a puzzle being displayed, a printed representation of one or more unsolved puzzles is sent to standard output, in PostScript format. +

+On each page of puzzles, there will be w across and h down. If there are more puzzles than w×h, more than one page will be printed. +

+

+If --generate has also been specified, the invented game IDs will be used to generate the printed output. Otherwise, a list of game IDs is expected on standard input (which can be descriptive or random seeds; see section 2.2), in the same format produced by --generate. +

+

+For example: +

+
PREFIX-net --generate 12 --print 2x3 7x7w | lpr
+
+

+will generate two pages of printed Net puzzles (each of which will have a 7×7 wrapping grid), and pipe the output to the lpr command, which on many systems will send them to an actual printer. +

+

+There are various other options which affect printing; see below. +

+ +
+
+--save file-prefix [ --save-suffix file-suffix ] +
+
+If this option is specified, instead of a puzzle being displayed, saved-game files for one or more unsolved puzzles are written to files constructed from the supplied prefix and/or suffix. +

+If --generate has also been specified, the invented game IDs will be used to generate the printed output. Otherwise, a list of game IDs is expected on standard input (which can be descriptive or random seeds; see section 2.2), in the same format produced by --generate. +

+

+For example: +

+
PREFIX-net --generate 12 --save game --save-suffix .sav
+
+

+will generate twelve Net saved-game files with the names game0.sav to game11.sav. +

+ +
+
+--version +
+
+Prints version information about the game, and then quits. +
+
+

+The following options are only meaningful if --print is also specified: +

+
+--with-solutions +
+
+The set of pages filled with unsolved puzzles will be followed by the solutions to those puzzles. +
+
+--scale n +
+
+Adjusts how big each puzzle is when printed. Larger numbers make puzzles bigger; the default is 1.0. +
+
+--colour +
+
+Puzzles will be printed in colour, rather than in black and white (if supported by the puzzle). +
+
+ +
+ diff --git a/apps/plugins/puzzles/src/compile b/apps/plugins/puzzles/src/compile new file mode 100755 index 0000000000..a85b723c7e --- /dev/null +++ b/apps/plugins/puzzles/src/compile @@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# 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. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/apps/plugins/puzzles/src/config.log b/apps/plugins/puzzles/src/config.log new file mode 100644 index 0000000000..8bf125c515 --- /dev/null +++ b/apps/plugins/puzzles/src/config.log @@ -0,0 +1,135 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by puzzles configure 6.66, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ ./configure + +## --------- ## +## Platform. ## +## --------- ## + +hostname = alpha +uname -m = x86_64 +uname -r = 4.8.4-1-ARCH +uname -s = Linux +uname -v = #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /usr/local/sbin +PATH: /usr/local/bin +PATH: /usr/bin +PATH: /opt/cuda/bin +PATH: /usr/lib/jvm/default/bin +PATH: /opt/kde/bin +PATH: /usr/bin/site_perl +PATH: /usr/bin/vendor_perl +PATH: /usr/bin/core_perl + + +## ----------- ## +## Core tests. ## +## ----------- ## + + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_build_alias_set= +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +CC='' +CFLAGS='' +CPPFLAGS='' +DEFS='' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EXEEXT='' +INSTALL_DATA='' +INSTALL_PROGRAM='' +INSTALL_SCRIPT='' +LDFLAGS='' +LIBOBJS='' +LIBS='' +LTLIBOBJS='' +OBJEXT='' +PACKAGE_BUGREPORT='anakin@pobox.com' +PACKAGE_NAME='puzzles' +PACKAGE_STRING='puzzles 6.66' +PACKAGE_TARNAME='puzzles' +PACKAGE_URL='' +PACKAGE_VERSION='6.66' +PATH_SEPARATOR=':' +RANLIB='' +SHELL='/bin/sh' +ac_ct_CC='' +bindir='${exec_prefix}/bin' +build_alias='' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='NONE' +host_alias='' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${datarootdir}/info' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' +localstatedir='${prefix}/var' +mandir='${datarootdir}/man' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='NONE' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='${prefix}/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +/* confdefs.h */ +#define PACKAGE_NAME "puzzles" +#define PACKAGE_TARNAME "puzzles" +#define PACKAGE_VERSION "6.66" +#define PACKAGE_STRING "puzzles 6.66" +#define PACKAGE_BUGREPORT "anakin@pobox.com" +#define PACKAGE_URL "" + +configure: exit 2 diff --git a/apps/plugins/puzzles/src/configure b/apps/plugins/puzzles/src/configure new file mode 100755 index 0000000000..432ca273b3 --- /dev/null +++ b/apps/plugins/puzzles/src/configure @@ -0,0 +1,5739 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for puzzles 6.66. +# +# Report bugs to . +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and anakin@pobox.com +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='puzzles' +PACKAGE_TARNAME='puzzles' +PACKAGE_VERSION='6.66' +PACKAGE_STRING='puzzles 6.66' +PACKAGE_BUGREPORT='anakin@pobox.com' +PACKAGE_URL='' + +ac_unique_file="midend.c" +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +RANLIB +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +GTK_LIBS +GTK_CFLAGS +PKG_CONFIG +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_dependency_tracking +with_gtk +enable_gtktest +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures puzzles 6.66 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/puzzles] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of puzzles 6.66:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --disable-gtktest do not try to compile and run a test GTK+ program + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gtk=VER specify GTK version to use (`2' or `3') + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +puzzles configure 6.66 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by puzzles $as_me 6.66, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +am__api_version='1.15' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='puzzles' + VERSION='6.66' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + +# Check whether --with-gtk was given. +if test "${with_gtk+set}" = set; then : + withval=$with_gtk; gtk_version_desired="$withval" +else + gtk_version_desired="any" +fi + + +case "$gtk_version_desired" in + 2 | 3 | any) ;; + yes) gtk_version_desired="any" ;; + *) as_fn_error $? "Invalid GTK version specified" "$LINENO" 5 +esac + +gtk=none + +case "$gtk_version_desired:$gtk" in + 3:none | any:none) + + + +# Check whether --enable-gtktest was given. +if test "${enable_gtktest+set}" = set; then : + enableval=$enable_gtktest; +else + enable_gtktest=yes +fi + + min_gtk_version=3.0.0 + + pkg_config_args="gtk+-3.0 >= $min_gtk_version" + for module in . + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done + + no_gtk="" + + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + if test x$PKG_CONFIG != xno ; then + if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then + : + else + echo "*** pkg-config too old; version 0.7 or better required." + no_gtk=yes + PKG_CONFIG=no + fi + else + no_gtk=yes + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" + rm -f conf.gtktest + if test "$cross_compiling" = yes; then : + echo $ac_n "cross compiling; assumed OK... $ac_c" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include + +int +main () +{ + unsigned int major, minor, micro; + + fclose (fopen ("conf.gtktest", "w")); + + if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + no_gtk=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + gtk=3 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK+ test program, checking why..." + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ + return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" +else + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed." +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + : + fi + + + rm -f conf.gtktest + + + ;; +esac + +case "$gtk_version_desired:$gtk" in + 2:none | any:none) + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi +# Check whether --enable-gtktest was given. +if test "${enable_gtktest+set}" = set; then : + enableval=$enable_gtktest; +else + enable_gtktest=yes +fi + + + pkg_config_args=gtk+-2.0 + for module in . + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done + + no_gtk="" + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.7 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + min_gtk_version=2.0.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" + rm -f conf.gtktest + if test "$cross_compiling" = yes; then : + echo $ac_n "cross compiling; assumed OK... $ac_c" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + fclose (fopen ("conf.gtktest", "w")); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + no_gtk=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + gtk=2 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK+ test program, checking why..." + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ + return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" +else + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + : + fi + + + rm -f conf.gtktest + + + ;; +esac + +if test "$gtk" = "none"; then + as_fn_error $? "cannot build without GTK 2 or GTK 3" "$LINENO" 5 +fi + +if test "x$GCC" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable gcc warning flags" >&5 +$as_echo_n "checking for usable gcc warning flags... " >&6; } + gccwarningflags= + for flag in -Wall -Werror -std=c89 -pedantic; do + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS$gccwarningflags $flag $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + #include + #include + #include + #include + #include + + #include + #include + + #include + #include + + #include + + #include + #include + #include + #include + +int +main () +{ + + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gccwarningflags="$gccwarningflags $flag" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + done + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gccwarningflags" >&5 +$as_echo "$gccwarningflags" >&6; } + CFLAGS="$CFLAGS$gccwarningflags" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + +ac_config_files="$ac_config_files Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +# +# If the first sed substitution is executed (which looks for macros that +# take arguments), then branch to the quote section. Otherwise, +# look for a macro that doesn't take arguments. +ac_script=' +:mline +/\\$/{ + N + s,\\\n,, + b mline +} +t clear +:clear +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g +t quote +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g +t quote +b any +:quote +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g +s/\[/\\&/g +s/\]/\\&/g +s/\$/$$/g +H +:any +${ + g + s/^\n// + s/\n/ /g + p +} +' +DEFS=`sed -n "$ac_script" confdefs.h` + + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by puzzles $as_me 6.66, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + +Configuration files: +$config_files + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +puzzles config.status 6.66 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h | --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + + +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + diff --git a/apps/plugins/puzzles/configure.ac b/apps/plugins/puzzles/src/configure.ac similarity index 100% rename from apps/plugins/puzzles/configure.ac rename to apps/plugins/puzzles/src/configure.ac diff --git a/apps/plugins/puzzles/cube.R b/apps/plugins/puzzles/src/cube.R similarity index 100% rename from apps/plugins/puzzles/cube.R rename to apps/plugins/puzzles/src/cube.R diff --git a/apps/plugins/puzzles/cube.c b/apps/plugins/puzzles/src/cube.c similarity index 99% rename from apps/plugins/puzzles/cube.c rename to apps/plugins/puzzles/src/cube.c index d0d9525130..a30dc10b3f 100644 --- a/apps/plugins/puzzles/cube.c +++ b/apps/plugins/puzzles/src/cube.c @@ -5,7 +5,7 @@ #include #include #include -#include "rbassert.h" +#include #include #include @@ -1737,7 +1737,7 @@ static void game_print(drawing *dr, const game_state *state, int tilesize) const struct game thegame = { "Cube", "games.cube", "cube", default_params, - game_fetch_preset, + game_fetch_preset, NULL, decode_params, encode_params, free_params, diff --git a/apps/plugins/puzzles/src/cube.html b/apps/plugins/puzzles/src/cube.html new file mode 100644 index 0000000000..0e32be600e --- /dev/null +++ b/apps/plugins/puzzles/src/cube.html @@ -0,0 +1,57 @@ + + + + +Cube + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 4: Cube

+

+This is another one I originally saw as a web game. This one was a Java game [2], by Paul Scott. You have a grid of 16 squares, six of which are blue; on one square rests a cube. Your move is to use the arrow keys to roll the cube through 90 degrees so that it moves to an adjacent square. If you roll the cube on to a blue square, the blue square is picked up on one face of the cube; if you roll a blue face of the cube on to a non-blue square, the blueness is put down again. (In general, whenever you roll the cube, the two faces that come into contact swap colours.) Your job is to get all six blue squares on to the six faces of the cube at the same time. Count your moves and try to do it in as few as possible. +

+

+Unlike the original Java game, my version has an additional feature: once you've mastered the game with a cube rolling on a square grid, you can change to a triangular grid and roll any of a tetrahedron, an octahedron or an icosahedron. +

+

+[2] http://www3.sympatico.ca/paulscott/cube/cube.htm +

+

4.1 Cube controls

+

+This game can be played with either the keyboard or the mouse. +

+

+Left-clicking anywhere on the window will move the cube (or other solid) towards the mouse pointer. +

+

+The arrow keys can also used to roll the cube on its square grid in the four cardinal directions. On the triangular grids, the mapping of arrow keys to directions is more approximate. Vertical movement is disallowed where it doesn't make sense. The four keys surrounding the arrow keys on the numeric keypad (‘7’, ‘9’, ‘1’, ‘3’) can be used for diagonal movement. +

+

+(All the actions described in section 2.1 are also available.) +

+

4.2 Cube parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Type of solid +
+
+Selects the solid to roll (and hence the shape of the grid): tetrahedron, cube, octahedron, or icosahedron. +
+
+Width / top, Height / bottom +
+
+On a square grid, horizontal and vertical dimensions. On a triangular grid, the number of triangles on the top and bottom rows respectively. +
+
+ +
+ diff --git a/apps/plugins/puzzles/src/depcomp b/apps/plugins/puzzles/src/depcomp new file mode 100755 index 0000000000..fc98710e2a --- /dev/null +++ b/apps/plugins/puzzles/src/depcomp @@ -0,0 +1,791 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2013-05-30.07; # UTC + +# Copyright (C) 1999-2014 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# 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. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + echo >> "$depfile" # make sure the fragment doesn't end with a backslash + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/apps/plugins/puzzles/desktop.pl b/apps/plugins/puzzles/src/desktop.pl similarity index 100% rename from apps/plugins/puzzles/desktop.pl rename to apps/plugins/puzzles/src/desktop.pl diff --git a/apps/plugins/puzzles/devel.but b/apps/plugins/puzzles/src/devel.but similarity index 97% rename from apps/plugins/puzzles/devel.but rename to apps/plugins/puzzles/src/devel.but index 9befcadcb7..a38fdda5d0 100644 --- a/apps/plugins/puzzles/devel.but +++ b/apps/plugins/puzzles/src/devel.but @@ -391,8 +391,9 @@ with the default values, and returns a pointer to it. \c int (*fetch_preset)(int i, char **name, game_params **params); -This function is used to populate the \q{Type} menu, which provides -a list of conveniently accessible preset parameters for most games. +This function is one of the two APIs a back end can provide to +populate the \q{Type} menu, which provides a list of conveniently +accessible preset parameters for most games. The function is called with \c{i} equal to the index of the preset required (numbering from zero). It returns \cw{FALSE} if that preset @@ -406,6 +407,33 @@ returns \cw{TRUE}. If the game does not wish to support any presets at all, this function is permitted to return \cw{FALSE} always. +If the game wants to return presets in the form of a hierarchical menu +instead of a flat list (and, indeed, even if it doesn't), then it may +set this function pointer to \cw{NULL}, and instead fill in the +alternative function pointer \cw{preset_menu} +(\k{backend-preset-menu}). + +\S{backend-preset-menu} \cw{preset_menu()} + +\c struct preset_menu *(*preset_menu)(void); + +This function is the more flexible of the two APIs by which a back end +can define a collection of preset game parameters. + +This function simply returns a complete menu hierarchy, in the form of +a \c{struct preset_menu} (see \k{midend-get-presets}) and further +submenus (if it wishes) dangling off it. There are utility functions +described in \k{utils-presets} to make it easy for the back end to +construct this menu. + +If the game has no need to return a hierarchy of menus, it may instead +opt to implement the \cw{fetch_preset()} function (see +\k{backend-fetch-preset}). + +The game need not fill in the \c{id} fields in the preset menu +structures. The mid-end will do that after it receives the structure +from the game, and before passing it on to the front end. + \S{backend-encode-params} \cw{encode_params()} \c char *(*encode_params)(const game_params *params, int full); @@ -2743,8 +2771,8 @@ these parameters until further notice. The usual way in which the front end will have an actual \c{game_params} structure to pass to this function is if it had -previously got it from \cw{midend_fetch_preset()} -(\k{midend-fetch-preset}). Thus, this function is usually called in +previously got it from \cw{midend_get_presets()} +(\k{midend-get-presets}). Thus, this function is usually called in response to the user making a selection from the presets menu. \H{midend-get-params} \cw{midend_get_params()} @@ -2966,34 +2994,63 @@ One of the major purposes of timing in the mid-end is to perform move animation. Therefore, calling this function is very likely to result in calls back to the front end's drawing API. -\H{midend-num-presets} \cw{midend_num_presets()} +\H{midend-get-presets} \cw{midend_get_presets()} -\c int midend_num_presets(midend *me); +\c struct preset_menu *midend_get_presets(midend *me, int *id_limit); -Returns the number of game parameter presets supplied by this game. -Front ends should use this function and \cw{midend_fetch_preset()} -to configure their presets menu rather than calling the back end -directly, since the mid-end adds standard customisation facilities. -(At the time of writing, those customisation facilities are -implemented hackily by means of environment variables, but it's not -impossible that they may become more full and formal in future.) +Returns a data structure describing this game's collection of preset +game parameters, organised into a hierarchical structure of menus and +submenus. -\H{midend-fetch-preset} \cw{midend_fetch_preset()} +The return value is a pointer to a data structure containing the +following fields (among others, which are not intended for front end +use): -\c void midend_fetch_preset(midend *me, int n, -\c char **name, game_params **params); +\c struct preset_menu { +\c int n_entries; +\c struct preset_menu_entry *entries; +\c /* and other things */ +\e iiiiiiiiiiiiiiiiiiiiii +\c }; -Returns one of the preset game parameter structures for the game. On -input \c{n} must be a non-negative integer and less than the value -returned from \cw{midend_num_presets()}. On output, \c{*name} is set -to an ASCII string suitable for entering in the game's presets menu, -and \c{*params} is set to the corresponding \c{game_params} -structure. +Those fields describe the intended contents of one particular menu in +the hierarchy. \cq{entries} points to an array of \cq{n_entries} +items, each of which is a structure containing the following fields: -Both of the two output values are dynamically allocated, but they -are owned by the mid-end structure: the front end should not ever -free them directly, because they will be freed automatically during -\cw{midend_free()}. +\c struct preset_menu_entry { +\c char *title; +\c game_params *params; +\c struct preset_menu *submenu; +\c int id; +\c }; + +Of these fields, \cq{title} and \cq{id} are present in every entry, +giving (respectively) the textual name of the menu item and an integer +identifier for it. The integer id will correspond to the one returned +by \c{midend_which_preset} (\k{midend-which-preset}), when that preset +is the one selected. + +The other two fields are mutually exclusive. Each \c{struct +preset_menu_entry} will have one of those fields \cw{NULL} and the +other one non-null. If the menu item is an actual preset, then +\cq{params} will point to the set of game parameters that go with the +name; if it's a submenu, then \cq{submenu} instead will be non-null, +and will point at a subsidiary \c{struct preset_menu}. + +The complete hierarchy of these structures is owned by the mid-end, +and will be freed when the mid-end is freed. The front end should not +attempt to free any of it. + +The integer identifiers will be allocated densely from 0 upwards, so +that it's reasonable for the front end to allocate an array which uses +them as indices, if it needs to store information per preset menu +item. For this purpose, the front end may pass the second parameter +\cq{id_limit} to \cw{midend_get_presets} as the address of an \c{int} +variable, into which \cw{midend_get_presets} will write an integer one +larger than the largest id number actually used (i.e. the number of +elements the front end would need in the array). + +Submenu-type entries also have integer identifiers. \H{midend-which-preset} \cw{midend_which_preset()} @@ -3005,6 +3062,10 @@ no preset matches. Front ends could use this to maintain a tick beside one of the items in the menu (or tick the \q{Custom} option if the return value is less than zero). +The returned index value (if non-negative) will match the \c{id} field +of the corresponding \cw{struct preset_menu_entry} returned by +\c{midend_get_presets()} (\k{midend-get-presets}). + \H{midend-wants-statusbar} \cw{midend_wants_statusbar()} \c int midend_wants_statusbar(midend *me); @@ -3535,6 +3596,63 @@ single element (typically measured using \c{sizeof}). \c{rs} is a \c{random_state} used to generate all the random numbers for the shuffling process. +\H{utils-presets} Presets menu management + +The function \c{midend_get_presets()} (\k{midend-get-presets}) returns +a data structure describing a menu hierarchy. Back ends can also +choose to provide such a structure to the mid-end, if they want to +group their presets hierarchically. To make this easy, there are a few +utility functions to construct preset menu structures, and also one +intended for front-end use. + +\S{utils-preset-menu-new} \cw{preset_menu_new()} + +\c struct preset_menu *preset_menu_new(void); + +Allocates a new \c{struct preset_menu}, and initialises it to hold no +menu items. + +\S{utils-preset-menu-add_submenu} \cw{preset_menu_add_submenu()} + +\c struct preset_menu *preset_menu_add_submenu +\c (struct preset_menu *parent, char *title); + +Adds a new submenu to the end of an existing preset menu, and returns +a pointer to a newly allocated \c{struct preset_menu} describing the +submenu. + +The string parameter \cq{title} must be dynamically allocated by the +caller. The preset-menu structure will take ownership of it, so the +caller must not free it. + +\S{utils-preset-menu-add-preset} \cw{preset_menu_add_preset()} + +\c void preset_menu_add_preset +\c (struct preset_menu *menu, char *title, game_params *params); + +Adds a preset game configuration to the end of a preset menu. + +Both the string parameter \cq{title} and the game parameter structure +\cq{params} itself must be dynamically allocated by the caller. The +preset-menu structure will take ownership of it, so the caller must +not free it. + +\S{utils-preset-menu-lookup-by-id} \cw{preset_menu_lookup_by_id()} + +\c game_params *preset_menu_lookup_by_id +\c (struct preset_menu *menu, int id); + +Given a numeric index, searches recursively through a preset menu +hierarchy to find the corresponding menu entry, and returns a pointer +to its existing \c{game_params} structure. + +This function is intended for front end use (but front ends need not +use it if they prefer to do things another way). If a front end finds +it inconvenient to store anything more than a numeric index alongside +each menu item, then this function provides an easy way for the front +end to get back the actual game parameters corresponding to a menu +item that the user has selected. + \H{utils-alloc} Memory allocation Puzzles has some central wrappers on the standard memory allocation diff --git a/apps/plugins/puzzles/divvy.c b/apps/plugins/puzzles/src/divvy.c similarity index 99% rename from apps/plugins/puzzles/divvy.c rename to apps/plugins/puzzles/src/divvy.c index dfd409c9e0..517e3ddbb0 100644 --- a/apps/plugins/puzzles/divvy.c +++ b/apps/plugins/puzzles/src/divvy.c @@ -185,7 +185,7 @@ * think of. */ -#include "rbassert.h" +#include #include #include #include diff --git a/apps/plugins/puzzles/src/docindex.html b/apps/plugins/puzzles/src/docindex.html new file mode 100644 index 0000000000..8ed483bbe1 --- /dev/null +++ b/apps/plugins/puzzles/src/docindex.html @@ -0,0 +1,217 @@ + + + + + + + + + + +

Previous | Contents | Index | Next

+

Index

+Black Box: Chapter 19
+Bridges: Chapter 26
+bugs: Chapter 1
+command line: Section 2.2, Section 2.4, Section 2.5
+common features: Chapter 2
+controls: Section 2.1
+controls, for Black Box: Section 19.1
+controls, for Bridges: Section 26.1
+controls, for Cube: Section 4.1
+controls, for Dominosa: Section 17.1
+controls, for Fifteen: Section 5.1
+controls, for Filling: Section 29.1
+controls, for Flip: Section 14.1
+controls, for Flood: Section 39.1
+controls, for Galaxies: Section 28.1
+controls, for Guess: Section 15.1
+controls, for Inertia: Section 24.1
+controls, for Keen: Section 30.1
+controls, for Light Up: Section 21.1
+controls, for Loopy: Section 23.1
+controls, for Magnets: Section 33.1
+controls, for Map: Section 22.1
+controls, for Mines: Section 12.1
+controls, for Net: Section 3.1
+controls, for Netslide: Chapter 9
+controls, for Palisade: Section 41.1
+controls, for Pattern: Section 10.1
+controls, for Pearl: Section 36.1
+controls, for Pegs: Section 16.1
+controls, for Range: Section 35.1
+controls, for Rectangles: Section 8.1
+controls, for Same Game: Section 13.1
+controls, for Signpost: Section 34.1
+controls, for Singles: Section 32.1
+controls, for Sixteen: Section 6.1
+controls, for Slant: Section 20.1
+controls, for Solo: Section 11.1
+controls, for Tents: Section 25.1
+controls, for Towers: Section 31.1
+controls, for Tracks: Section 40.1
+controls, for Twiddle: Section 7.1
+controls, for Undead: Section 37.1
+controls, for Unequal: Section 27.1
+controls, for Unruly: Section 38.1
+controls, for Untangle: Section 18.1
+copy: Section 2.1
+copyright: Appendix A
+Cube: Chapter 4
+‘Custom’, menu option: Section 2.3
+default parameters, specifying: Section 2.4
+Dominosa: Chapter 17
+Edit menu: Section 2.1
+exit: Section 2.1
+feedback: Chapter 1
+Fifteen: Chapter 5
+File menu: Section 2.1
+Filling: Chapter 29
+Flip: Chapter 14
+Flood: Chapter 39
+format, ID: Section 2.2
+four-colouring: Chapter 22
+FreeNet: Chapter 3
+Futoshiki: Chapter 27
+Galaxies: Chapter 28
+game ID: Section 2.2
+game ID, format: Section 2.2
+game ID, generating: Section 2.5
+Game menu: Section 2.1, Section 2.2
+generating game IDs: Section 2.5
+Guess: Chapter 15
+Hitori: Chapter 32
+ID format: Section 2.2
+ID, game: Section 2.2
+Inertia: Chapter 24
+initial state: Section 2.2
+Janko: Chapter 33, Chapter 34
+Keen: Chapter 30
+KenKen: Chapter 30
+keys: Section 2.1
+keys, for Black Box: Section 19.1
+keys, for Cube: Section 4.1
+keys, for Fifteen: Section 5.1
+keys, for Flip: Section 14.1
+keys, for Guess: Section 15.1
+keys, for Inertia: Section 24.1
+keys, for Net: Section 3.1
+keys, for Same Game: Section 13.1
+Latin square: Chapter 27
+licence: Appendix A
+licence, MIT: Chapter 1, Appendix A
+Light Up: Chapter 21
+Linux: Chapter 1, Section 2.5
+load: Section 2.1, Section 2.5
+Loopy: Chapter 23
+Mac OS X: Chapter 1, Section 2.1, Section 2.2, Section 2.4
+Magnets: Chapter 33
+Map: Chapter 22
+Mastermind: Chapter 15
+Mines: Chapter 12
+MIT licence: Chapter 1, Appendix A
+Net: Chapter 3
+NETGAME.EXE: Chapter 3
+Netslide: Chapter 9
+NetWalk: Chapter 3
+new game: Section 2.1
+Nikoli: Chapter 8, Chapter 11, Chapter 20, Chapter 21, Chapter 23, Chapter 26, Chapter 28, Chapter 29, Chapter 32, Chapter 35, Chapter 36, Chapter 41
+nonograms: Chapter 10
+Palisade: Chapter 41
+parameters: Section 2.2, Section 2.3
+parameters, for Black Box: Section 19.2
+parameters, for Bridges: Section 26.2
+parameters, for Cube: Section 4.2
+parameters, for Dominosa: Section 17.2
+parameters, for Fifteen: Section 5.2
+parameters, for Filling: Section 29.2
+parameters, for flip: Section 14.2
+parameters, for Flood: Section 39.2
+parameters, for Galaxies: Section 28.2
+parameters, for Guess: Section 15.2
+parameters, for Inertia: Section 24.2
+parameters, for Keen: Section 30.2
+parameters, for Light Up: Section 21.2
+parameters, for Loopy: Section 23.2
+parameters, for Magnets: Section 33.2
+parameters, for Map: Section 22.2
+parameters, for Mines: Section 12.2
+parameters, for Net: Section 3.2
+parameters, for Netslide: Chapter 9
+parameters, for Palisade: Section 41.2
+parameters, for Pattern: Section 10.2
+parameters, for Pearl: Section 36.2
+parameters, for Pegs: Section 16.2
+parameters, for Range: Section 35.2
+parameters, for Rectangles: Section 8.2
+parameters, for Same Game: Section 13.2
+parameters, for Signpost: Section 34.2
+parameters, for Singles: Section 32.2
+parameters, for Sixteen: Section 6.2
+parameters, for Slant: Section 20.2
+parameters, for Solo: Section 11.2
+parameters, for Tents: Section 25.2
+parameters, for Towers: Section 31.2
+parameters, for Tracks: Section 40.2
+parameters, for Twiddle: Section 7.2
+parameters, for Undead: Section 37.2
+parameters, for Unequal: Section 27.2
+parameters, for Unruly: Section 38.2
+parameters, for Untangle: Section 18.2
+patches: Chapter 1
+Pattern: Chapter 10
+Pearl: Chapter 36
+Pegs: Chapter 16
+Planarity: Chapter 18
+PostScript: Section 2.5
+preferences, specifying default: Section 2.4
+preset: Section 2.3
+printing, on Unix: Section 2.5
+printing, on Windows: Section 2.1
+15-puzzle: Chapter 5
+Puzzle Palace: Chapter 8
+quit: Section 2.1
+Random Seed: Section 2.2
+Range: Chapter 35
+Rectangles: Chapter 8
+redo: Section 2.1
+restart game: Section 2.1
+Same Game: Chapter 13
+save: Section 2.1, Section 2.5
+shortcuts (keyboard): Section 2.1
+shortcuts (keyboard), for Black Box: Section 19.1
+shortcuts (keyboard), for Cube: Section 4.1
+shortcuts (keyboard), for Fifteen: Section 5.1
+shortcuts (keyboard), for Flip: Section 14.1
+shortcuts (keyboard), for Guess: Section 15.1
+shortcuts (keyboard), for Inertia: Section 24.1
+shortcuts (keyboard), for Net: Section 3.1
+shortcuts (keyboard), for Same Game: Section 13.1
+Signpost: Chapter 34
+Singles: Chapter 32
+Sixteen: Chapter 6
+Skyscrapers: Chapter 31
+Slant: Chapter 20
+Solitaire, Peg: Chapter 16
+Solo: Chapter 11
+solve: Section 2.1
+source code: Chapter 1
+‘Specific’, menu option: Section 2.2
+state, initial: Section 2.2
+Tents: Chapter 25
+Towers: Chapter 31
+Tracks: Chapter 40
+Twiddle: Chapter 7
+Type menu: Section 2.3
+Undead: Chapter 37
+undo: Section 2.1
+Unequal: Chapter 27
+Unix: Chapter 1, Section 2.5
+Unruly: Chapter 38
+Untangle: Chapter 18
+version: Section 2.2
+website: Chapter 1
+Windows: Chapter 1, Chapter 3

+
+ diff --git a/apps/plugins/puzzles/dominosa.R b/apps/plugins/puzzles/src/dominosa.R similarity index 100% rename from apps/plugins/puzzles/dominosa.R rename to apps/plugins/puzzles/src/dominosa.R diff --git a/apps/plugins/puzzles/dominosa.c b/apps/plugins/puzzles/src/dominosa.c similarity index 99% rename from apps/plugins/puzzles/dominosa.c rename to apps/plugins/puzzles/src/dominosa.c index a2dd69ba86..c86ba19dfa 100644 --- a/apps/plugins/puzzles/dominosa.c +++ b/apps/plugins/puzzles/src/dominosa.c @@ -42,7 +42,7 @@ #include #include #include -#include "rbassert.h" +#include #include #include @@ -1709,7 +1709,7 @@ static void game_print(drawing *dr, const game_state *state, int tilesize) const struct game thegame = { "Dominosa", "games.dominosa", "dominosa", default_params, - game_fetch_preset, + game_fetch_preset, NULL, decode_params, encode_params, free_params, diff --git a/apps/plugins/puzzles/src/dominosa.html b/apps/plugins/puzzles/src/dominosa.html new file mode 100644 index 0000000000..67659571ea --- /dev/null +++ b/apps/plugins/puzzles/src/dominosa.html @@ -0,0 +1,57 @@ + + + + +Dominosa + + + + + + + +

Previous | Contents | Index | Next

+

Chapter 17: Dominosa

+

+A normal set of dominoes – that is, one instance of every (unordered) pair of numbers from 0 to 6 – has been arranged irregularly into a rectangle; then the number in each square has been written down and the dominoes themselves removed. Your task is to reconstruct the pattern by arranging the set of dominoes to match the provided array of numbers. +

+

+This puzzle is widely credited to O. S. Adler, and takes part of its name from those initials. +

+

17.1 Dominosa controls

+

+Left-clicking between any two adjacent numbers places a domino covering them, or removes one if it is already present. Trying to place a domino which overlaps existing dominoes will remove the ones it overlaps. +

+

+Right-clicking between two adjacent numbers draws a line between them, which you can use to remind yourself that you know those two numbers are not covered by a single domino. Right-clicking again removes the line. +

+

+You can also use the cursor keys to move a cursor around the grid. When the cursor is half way between two adjacent numbers, pressing the return key will place a domino covering those numbers, or pressing the space bar will lay a line between the two squares. Repeating either action removes the domino or line. +

+

+Pressing a number key will highlight all occurrences of that number. Pressing that number again will clear the highlighting. Up to two different numbers can be highlighted at any given time. +

+

+(All the actions described in section 2.1 are also available.) +

+

17.2 Dominosa parameters

+

+These parameters are available from the ‘Custom...’ option on the ‘Type’ menu. +

+
+Maximum number on dominoes +
+
+Controls the size of the puzzle, by controlling the size of the set of dominoes used to make it. Dominoes with numbers going up to N will give rise to an (N+2) × (N+1) rectangle; so, in particular, the default value of 6 gives an 8×7 grid. +
+
+Ensure unique solution +
+
+Normally, Dominosa will make sure that the puzzles it presents have only one solution. Puzzles with ambiguous sections can be more difficult and sometimes more subtle, so if you like you can turn off this feature. Also, finding all the possible solutions can be an additional challenge for an advanced player. Turning off this option can also speed up puzzle generation. +
+
+ +
+ diff --git a/apps/plugins/puzzles/drawing.c b/apps/plugins/puzzles/src/drawing.c similarity index 99% rename from apps/plugins/puzzles/drawing.c rename to apps/plugins/puzzles/src/drawing.c index 8bf58d5530..7f4a6cf674 100644 --- a/apps/plugins/puzzles/drawing.c +++ b/apps/plugins/puzzles/src/drawing.c @@ -26,7 +26,7 @@ #include #include #include -#include "rbassert.h" +#include #include #include "puzzles.h" diff --git a/apps/plugins/puzzles/dsf.c b/apps/plugins/puzzles/src/dsf.c similarity index 99% rename from apps/plugins/puzzles/dsf.c rename to apps/plugins/puzzles/src/dsf.c index 1a2fa8c4be..aa22392661 100644 --- a/apps/plugins/puzzles/dsf.c +++ b/apps/plugins/puzzles/src/dsf.c @@ -4,7 +4,7 @@ * worry about avoiding closed loops. */ -#include "rbassert.h" +#include #include #include "puzzles.h" diff --git a/apps/plugins/puzzles/emcc.c b/apps/plugins/puzzles/src/emcc.c similarity index 96% rename from apps/plugins/puzzles/emcc.c rename to apps/plugins/puzzles/src/emcc.c index 5ffcb0b793..ca033cbd47 100644 --- a/apps/plugins/puzzles/emcc.c +++ b/apps/plugins/puzzles/src/emcc.c @@ -47,7 +47,7 @@ * that using whatever they normally use to print PDFs!) */ -#include "rbassert.h" +#include #include #include #include @@ -61,7 +61,8 @@ extern void js_debug(const char *); extern void js_error_box(const char *message); extern void js_remove_type_dropdown(void); extern void js_remove_solve_button(void); -extern void js_add_preset(const char *name); +extern void js_add_preset(int menuid, const char *name, int value); +extern int js_add_preset_submenu(int menuid, const char *name); extern int js_get_selected_preset(void); extern void js_select_preset(int n); extern void js_get_date_64(unsigned *p); @@ -552,6 +553,21 @@ static game_params **presets; static int npresets; int have_presets_dropdown; +void populate_js_preset_menu(int menuid, struct preset_menu *menu) +{ + int i; + for (i = 0; i < menu->n_entries; i++) { + struct preset_menu_entry *entry = &menu->entries[i]; + if (entry->params) { + presets[entry->id] = entry->params; + js_add_preset(menuid, entry->title, entry->id); + } else { + int js_submenu = js_add_preset_submenu(menuid, entry->title); + populate_js_preset_menu(js_submenu, entry->submenu); + } + } +} + void select_appropriate_preset(void) { if (have_presets_dropdown) { @@ -696,7 +712,7 @@ void command(int n) midend_redraw(me); update_undo_redo(); js_focus_canvas(); - select_appropriate_preset(); /* sort out Custom/Customise */ + select_appropriate_preset(); } } break; @@ -787,23 +803,16 @@ int main(int argc, char **argv) * Set up the game-type dropdown with presets and/or the Custom * option. */ - npresets = midend_num_presets(me); - if (npresets == 0) { - /* - * This puzzle doesn't have selectable game types at all. - * Completely remove the drop-down list from the page. - */ - js_remove_type_dropdown(); - have_presets_dropdown = FALSE; - } else { + { + struct preset_menu *menu = midend_get_presets(me, &npresets); presets = snewn(npresets, game_params *); - for (i = 0; i < npresets; i++) { - char *name; - midend_fetch_preset(me, i, &name, &presets[i]); - js_add_preset(name); - } + for (i = 0; i < npresets; i++) + presets[i] = NULL; + + populate_js_preset_menu(0, menu); + if (thegame.can_configure) - js_add_preset(NULL); /* the 'Custom' entry in the dropdown */ + js_add_preset(0, "Custom", -1); have_presets_dropdown = TRUE; diff --git a/apps/plugins/puzzles/emcclib.js b/apps/plugins/puzzles/src/emcclib.js similarity index 88% rename from apps/plugins/puzzles/emcclib.js rename to apps/plugins/puzzles/src/emcclib.js index 385281ad0b..cd8876e76d 100644 --- a/apps/plugins/puzzles/emcclib.js +++ b/apps/plugins/puzzles/src/emcclib.js @@ -45,7 +45,7 @@ mergeInto(LibraryManager.library, { * provides neither presets nor configurability. */ js_remove_type_dropdown: function() { - document.getElementById("gametype").style.display = "none"; + gametypelist.style.display = "none"; }, /* @@ -59,45 +59,63 @@ mergeInto(LibraryManager.library, { }, /* - * void js_add_preset(const char *name); + * void js_add_preset(int menuid, const char *name, int value); * - * Add a preset to the drop-down types menu. The provided text is - * the name of the preset. (The corresponding game_params stays on - * the C side and never comes out this far; we just pass a numeric - * index back to the C code when a selection is made.) - * - * The special 'Custom' preset is requested by passing NULL to - * this function, rather than the string "Custom", since in that - * case we need to do something special - see below. + * Add a preset to the drop-down types menu, or to a submenu of + * it. 'menuid' specifies an index into our array of submenus + * where the item might be placed; 'value' specifies the number + * that js_get_selected_preset() will return when this item is + * clicked. */ - js_add_preset: function(ptr) { - var name = (ptr == 0 ? "Customise..." : Pointer_stringify(ptr)); - var value = gametypeoptions.length; + js_add_preset: function(menuid, ptr, value) { + var name = Pointer_stringify(ptr); + var item = document.createElement("li"); + item.setAttribute("data-index", value); + var tick = document.createElement("span"); + tick.appendChild(document.createTextNode("\u2713")); + tick.style.color = "transparent"; + tick.style.paddingRight = "0.5em"; + item.appendChild(tick); + item.appendChild(document.createTextNode(name)); + gametypesubmenus[menuid].appendChild(item); + gametypeitems.push(item); - var option = document.createElement("option"); - option.value = value; - option.appendChild(document.createTextNode(name)); - gametypeselector.appendChild(option); - gametypeoptions.push(option); - - if (ptr == 0) { - // The option we've just created is the one for inventing - // a new custom setup. - gametypenewcustom = option; - option.value = -1; - - // Now create another element called 'Custom', which will - // be auto-selected by us to indicate the custom settings - // you've previously selected. However, we don't add it to - // the game type selector; it will only appear when the - // user actually has custom settings selected. - option = document.createElement("option"); - option.value = -2; - option.appendChild(document.createTextNode("Custom")); - gametypethiscustom = option; + item.onclick = function(event) { + if (dlg_dimmer === null) { + gametypeselectedindex = value; + command(2); + } } }, + /* + * int js_add_preset_submenu(int menuid, const char *name); + * + * Add a submenu in the presets menu hierarchy. Returns its index, + * for passing as the 'menuid' argument in further calls to + * js_add_preset or this function. + */ + js_add_preset_submenu: function(menuid, ptr, value) { + var name = Pointer_stringify(ptr); + var item = document.createElement("li"); + // We still create a transparent tick element, even though it + // won't ever be selected, to make submenu titles line up + // nicely with their neighbours. + var tick = document.createElement("span"); + tick.appendChild(document.createTextNode("\u2713")); + tick.style.color = "transparent"; + tick.style.paddingRight = "0.5em"; + item.appendChild(tick); + item.appendChild(document.createTextNode(name)); + var submenu = document.createElement("ul"); + submenu.className = "left"; + item.appendChild(submenu); + gametypesubmenus[menuid].appendChild(item); + var toret = gametypesubmenus.length; + gametypesubmenus.push(submenu); + return toret; + }, + /* * int js_get_selected_preset(void); * @@ -105,12 +123,7 @@ mergeInto(LibraryManager.library, { * dropdown. */ js_get_selected_preset: function() { - for (var i in gametypeoptions) { - if (gametypeoptions[i].selected) { - return gametypeoptions[i].value; - } - } - return 0; + return gametypeselectedindex; }, /* @@ -121,33 +134,15 @@ mergeInto(LibraryManager.library, { * which turn out to exactly match a preset). */ js_select_preset: function(n) { - if (gametypethiscustom !== null) { - // Fiddle with the Custom/Customise options. If we're - // about to select the Custom option, then it should be in - // the menu, and the other one should read "Re-customise"; - // if we're about to select another one, then the static - // Custom option should disappear and the other one should - // read "Customise". - - if (gametypethiscustom.parentNode == gametypeselector) - gametypeselector.removeChild(gametypethiscustom); - if (gametypenewcustom.parentNode == gametypeselector) - gametypeselector.removeChild(gametypenewcustom); - - if (n < 0) { - gametypeselector.appendChild(gametypethiscustom); - gametypenewcustom.lastChild.data = "Re-customise..."; + gametypeselectedindex = n; + for (var i in gametypeitems) { + var item = gametypeitems[i]; + var tick = item.firstChild; + if (item.getAttribute("data-index") == n) { + tick.style.color = "inherit"; } else { - gametypenewcustom.lastChild.data = "Customise..."; + tick.style.color = "transparent"; } - gametypeselector.appendChild(gametypenewcustom); - gametypenewcustom.selected = false; - } - - if (n < 0) { - gametypethiscustom.selected = true; - } else { - gametypeoptions[n].selected = true; } }, @@ -192,8 +187,8 @@ mergeInto(LibraryManager.library, { * after a move. */ js_enable_undo_redo: function(undo, redo) { - undo_button.disabled = (undo == 0); - redo_button.disabled = (redo == 0); + disable_menu_item(undo_button, (undo == 0)); + disable_menu_item(redo_button, (redo == 0)); }, /* diff --git a/apps/plugins/puzzles/emccpre.js b/apps/plugins/puzzles/src/emccpre.js similarity index 92% rename from apps/plugins/puzzles/emccpre.js rename to apps/plugins/puzzles/src/emccpre.js index ebf67d1fc6..d715858883 100644 --- a/apps/plugins/puzzles/emccpre.js +++ b/apps/plugins/puzzles/src/emccpre.js @@ -79,22 +79,12 @@ var dlg_return_funcs = null; // pass back the final value in each dialog control. var dlg_return_sval, dlg_return_ival; -// The