1# src/Makefile.am for Blackbox - an X11 Window manager
2# Copyright (c) 2001 - 2005 Sean 'Shaleh' Perry
3# Copyright (c) 1997 - 2000, 2002 - 2005 Bradley T Hughes
4#
5# Permission is hereby granted, free of charge, to any person obtaining a
6# copy of this software and associated documentation files (the "Software"),
7# to deal in the Software without restriction, including without limitation
8# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9# and/or sell copies of the Software, and to permit persons to whom the
10# Software is furnished to do so, subject to the following conditions:
11#
12# The above copyright notice and this permission notice shall be included in
13# all copies or substantial portions of the Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21# DEALINGS IN THE SOFTWARE.
22
23DEFAULT_MENU		= $(pkgdatadir)/menu
24DEFAULT_STYLE		= $(pkgdatadir)/styles/Gray
25CPPFLAGS		= @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \
26			  -DLOCALEPATH=\"$(pkgdatadir)/nls\" \
27			  -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
28			  -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
29			  -I$(top_srcdir)/lib
30bin_PROGRAMS		= blackbox
31blackbox_SOURCES	= BlackboxResource.cc                           \
32                          Clientmenu.cc					\
33			  Configmenu.cc					\
34			  Iconmenu.cc					\
35			  Rootmenu.cc					\
36			  Screen.cc					\
37			  ScreenResource.cc				\
38			  Slit.cc					\
39			  Slitmenu.cc					\
40			  StackingList.cc				\
41			  Toolbar.cc					\
42			  Toolbarmenu.cc				\
43			  Window.cc					\
44			  WindowGroup.cc				\
45			  Windowmenu.cc					\
46			  Workspace.cc					\
47			  Workspacemenu.cc				\
48			  blackbox.cc					\
49			  main.cc
50blackbox_DEPENDENCIES	= $(top_builddir)/lib/libbt.la
51blackbox_LDADD		= $(top_builddir)/lib/libbt.la
52
53MAINTAINERCLEANFILES	= Makefile.in
54
55distclean-local:
56	rm -f *\~ *.orig *.rej .\#*
57