| 1 |
SUBDIRS = images |
| 2 |
|
| 3 |
localedir = $(datadir)/locale |
| 4 |
|
| 5 |
AM_CFLAGS = $(GTETRINET_CFLAGS) |
| 6 |
|
| 7 |
if HAVE_CANBERRAGTK |
| 8 |
gtetrinet_LDADD = $(GTETRINET_LIBS) $(CANBERRAGTK_LIBS) |
| 9 |
else |
| 10 |
gtetrinet_LDADD = $(GTETRINET_LIBS) |
| 11 |
endif |
| 12 |
|
| 13 |
AM_CPPFLAGS = \ |
| 14 |
-DGTETRINET_DATA=\"$(pkgdatadir)\" \ |
| 15 |
-DGTETPIXMAPSDIR=\""$(datadir)/pixmaps/gtetrinet"\" \ |
| 16 |
-DLOCALEDIR=\"$(localedir)\" \ |
| 17 |
-DPIXMAPSDIR=\""$(datadir)/pixmaps"\" \ |
| 18 |
-DGSETTINGSSCHEMADIR=\"$(gsettingsschemadir)\" |
| 19 |
|
| 20 |
gamesdir = $(prefix)/games |
| 21 |
games_PROGRAMS = gtetrinet |
| 22 |
|
| 23 |
gtetrinet_SOURCES = \ |
| 24 |
client.c \ |
| 25 |
client.h \ |
| 26 |
commands.c \ |
| 27 |
commands.h \ |
| 28 |
config.c \ |
| 29 |
config.h \ |
| 30 |
dialogs.c \ |
| 31 |
dialogs.h \ |
| 32 |
fields.c \ |
| 33 |
fields.h \ |
| 34 |
gtetrinet.c \ |
| 35 |
gtetrinet.h \ |
| 36 |
misc.c \ |
| 37 |
misc.h \ |
| 38 |
partyline.c \ |
| 39 |
partyline.h \ |
| 40 |
sound.c \ |
| 41 |
sound.h \ |
| 42 |
tetrinet.c \ |
| 43 |
tetrinet.h \ |
| 44 |
tetris.c \ |
| 45 |
tetris.h \ |
| 46 |
winlist.c \ |
| 47 |
winlist.h \ |
| 48 |
resources.c |
| 49 |
|
| 50 |
BUILT_SOURCES = resources.c |
| 51 |
|
| 52 |
GLIB_COMPILE_RESOURCES=glib-compile-resources |
| 53 |
resources.c: gtetrinet.gresource.xml.in partyline.ui field.ui fields.ui winlist.ui |
| 54 |
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/gtetrinet.gresource.xml.in \ |
| 55 |
--target=$@ --sourcedir=$(srcdir) --generate-source |
| 56 |
|
| 57 |
-include $(top_srcdir)/git.mk |