Use PKGDATADIR from autoconf to locate the cursor image
[cteddy.git] / src / Makefile.am
blob5aabe59b8fa44495e37157fda25c8b8efd3f328e
1 # Copyright 2008 Philip Allison <sane@not.co.uk>
3 #    This file is part of cteddy.
5 #    cteddy is free software: you can redistribute it and/or modify
6 #    it under the terms of the GNU General Public License as published by
7 #    the Free Software Foundation, either version 3 of the License, or
8 #    (at your option) any later version.
10 #    cteddy is distributed in the hope that it will be useful,
11 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #    GNU General Public License for more details.
15 #    You should have received a copy of the GNU General Public License
16 #    along with cteddy.  If not, see <http://www.gnu.org/licenses/>.
18 bin_PROGRAMS = cteddy
20 cteddy_SOURCES = cteddy.cxx
21 cteddy_CXXFLAGS = $(CTEDDY_CFLAGS) $(AM_CXXFLAGS)
22 cteddy_LDADD = $(CTEDDY_LIBS)
23 cteddy_CPPFLAGS = -DPKGDATADIR='$(pkgdatadir)' $(AM_CPPFLAGS)