#! /bin/sh GTKINST=/mingw/local/gtk-020506 CFLAGS="-I$GTKINST/include -I$GTKINST/include/glib-2.0 -I$GTKINST/lib/glib-2.0/include -I$GTKINST/lib/gtk+/include -I$GTKINST/include/gdk" LIBS="-L$GTKINST/lib -lgtk-0 -lglib-2.0 -lgdk-0" if test -d "$GTKINST"; then true; else echo "Directory \`$GTKINST' does not exist" 1&>2 echo "Please correct GTKINST setting at top of \`$0'" 1&>2 exit 1 fi for arg; do if test "$arg" = "--version"; then echo 1.2.4; fi if test "$arg" = "--cflags"; then echo "$CFLAGS"; fi if test "$arg" = "--libs"; then echo "$LIBS"; fi if test "$arg" = "cp"; then for dir in . src jigdo*/src; do test -d "$dir" && dest="$dir"; done cp -v `find "$GTKINST" -name '*.dll'` . fi done