initial commit, lordsawar source, slightly modified
[lordsawar] / src / pbm / Makefile.am
1 #   Copyright (C) 2007, 2008 Ben Asselstine
2 #   Copyright (C) 2008 Barry deFreese
3
4 #   This program is free software; you can redistribute it and/or modify
5 #   it under the terms of the GNU General Public License as published by
6 #   the Free Software Foundation; either version 3 of the License, or
7 #   (at your option) any later version.
8
9 #   This program is distributed in the hope that it will be useful,
10 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #   GNU Library General Public License for more details.
13
14 #   You should have received a copy of the GNU General Public License
15 #   along with this program; if not, write to the Free Software
16 #   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
17 #   02110-1301, USA.
18 MAINTAINERCLEANFILES= Makefile.in
19
20 ##if WANT_PBM
21 bin_PROGRAMS = lordsawar-pbm
22
23 lordsawar_pbm_SOURCES =  pbm.cpp main.cpp pbm.h ${top_srcdir}/src/pbm-game-client.cpp ${top_srcdir}/src/pbm-game-client.h ${top_srcdir}/src/game-client-decoder.cpp ${top_srcdir}/src/game-client-decoder.h ${top_srcdir}/src/chat-client.cpp ${top_srcdir}/src/chat-client.h
24
25
26 lordsawar_pbm_LDADD = $(LIBSIGC_LIBS) $(GTKMM_LIBS)\
27                          $(top_builddir)/src/liblordsawar.la \
28                         -lz \
29                          @LIBINTL@ \
30                          -L$(top_builddir)/src
31 ##endif
32
33
34 localedir = $(datadir)/locale
35 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
36
37
38 AM_CXXFLAGS = -Wall -DPO_PATH=\"$(prefix)/share/locale/\"
39 INCLUDES = \
40     $(SDL_CFLAGS) \
41     $(LIBSIGC_CFLAGS) \
42     $(GTKMM_CFLAGS) \
43     -DLORDSAWAR_DATADIR='"$(LORDSAWAR_DATADIR)"' \
44     -I$(top_srcdir) -I$(top_srcdir)/src
45
46 EXTRA_DIST = README