1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
|
# Makefile.am for GFingerPoken
# Copyright 2005-2014 Bas Wijnen <wijnen@debian.org>
#
# This file is part of Gfingerpoken.
#
# Gfingerpoken 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 3 of the License, or
# (at your option) any later version.
#
# Gfingerpoken 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 <http://www.gnu.org/licenses/>.
pkgdatadir=$(datadir)/games/$(PACKAGE_TARNAME)
AUTOJUNK = INSTALL Makefile.in aclocal.m4 compile configure depcomp \
install-sh missing
bin_PROGRAMS = gfpoken
gfpoken_CPPFLAGS = -DDATADIR=\"$(pkgdatadir)\"
gfpoken_CFLAGS = $(GTK2_CFLAGS)
# Don't use autoconf substitution here, because it would include
# implicit dependencies.
gfpoken_LDADD = -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0
gfpoken_SOURCES = \
convert.c \
dialog.c \
history.c \
interface.c \
logic.c \
main.c \
multi.c \
common.h \
gfp.h \
graphics.h \
initial.h
man_MANS = gfpoken.6
tiles = png/00_bg.png \
png/01_normal.png \
png/02_normal.png \
png/03_flip2.png \
png/04_flip2.png \
png/05_flip4.png \
png/06_flip4.png \
png/07_flip4.png \
png/08_flip4.png \
png/09_block.png \
png/10_sink.png \
png/11_axial.png \
png/12_axial.png \
png/13_axial2.png \
png/14_axial2.png \
png/15_rotator.png \
png/16_rotator.png \
png/17_rotator2.png \
png/18_rotator2.png \
png/19_half.png \
png/20_half.png \
png/21_half.png \
png/22_half.png \
png/23_half4.png \
png/24_half4.png \
png/25_half4.png \
png/26_half4.png \
png/27_half4.png \
png/28_half4.png \
png/29_half4.png \
png/30_half4.png \
png/31_move.png \
png/32_move.png \
png/gfpoken.png
marbles = png/marbles.png
$(tiles): tiles-stamp
tiles-stamp: art/mirror.xcf art/mktiles
$(top_srcdir)/art/mktiles
touch $@
$(marbles): marbles-stamp
marbles-stamp: art/marbles.blend art/mkmarbles
$(top_srcdir)/art/mkmarbles || (cd png && uudecode < marbles.png.uu)
touch $@
desktopdir = $(datadir)/applications
pngsdir = $(pkgdatadir)/png
desktop_DATA = gfpoken.desktop
install-data-local:
mkdir -p $(DESTDIR)$(datadir)/pixmaps
test -e $(DESTDIR)$(pngsdir)/gfpoken.png || ln -s $(pngsdir)/gfpoken.png $(DESTDIR)$(datadir)/pixmaps/
pngsources = \
png/picBorder.png \
png/picDDown.png \
png/picDDownW.png \
png/picDLeft.png \
png/picDLeftW.png \
png/picDRight.png \
png/picDRightW.png \
png/picDUp.png \
png/picDUpW.png \
png/picIAbout.png \
png/picICheck.png \
png/picIFlipBack.png \
png/picIFlipBoards.png \
png/picINet.png \
png/picINetTurn.png \
png/picINew.png \
png/picIOpen.png \
png/picISave.png \
png/picIStop.png \
png/picMkCircle.png \
png/picMkSquare.png \
png/picMkTriangle.png
pngs_DATA = \
$(tiles) \
$(marbles) \
$(pngsources)
EXTRA_DIST = \
art/mirror.xcf \
art/marbles.blend \
art/mktiles \
art/mkmarbles \
art/README \
png/README \
png/marbles.png.uu \
$(man_MANS) \
$(pngsources) \
$(desktop_DATA)
CLEANFILES = $(tiles) tiles-stamp $(marbles) marbles-stamp
autoclean: maintainer-clean
ifneq (,$(wildcard $(AUTOJUNK)))
rm $(wildcard $(AUTOJUNK))
endif
|