fluxbox/src/Makefile.am

151 lines
5.2 KiB
Text
Raw Normal View History

2001-12-11 20:47:02 +00:00
# Makefile.am for fluxbox
# Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
2001-12-11 20:47:02 +00:00
#
# src/Makefile.am for Blackbox 0.61.x - an X11 Window manager
2002-12-13 20:39:07 +00:00
# Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net)
2001-12-11 20:47:02 +00:00
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
2002-11-26 16:03:36 +00:00
SUBDIRS= FbTk
DEFAULT_MENU=@DEFAULT_MENU@
2007-12-13 21:15:57 +00:00
DEFAULT_STYLE=@DEFAULT_STYLE@
DEFAULT_KEYSFILE=@DEFAULT_KEYS@
DEFAULT_INITFILE=@DEFAULT_INIT@
PROGRAM_PREFIX=@program_prefix@
PROGRAM_SUFFIX=@program_suffix@
2001-12-11 20:47:02 +00:00
2007-01-05 00:48:03 +00:00
AM_CPPFLAGS=-I$(srcdir)/FbTk
2001-12-11 20:47:02 +00:00
bin_PROGRAMS= fluxbox
BUILT_SOURCES = defaults.hh
CONFIG_CLEAN_FILES = defaults.hh
defaults.hh: Makefile
@( \
echo '// This file is generated from Makefile. Do not edit!'; \
echo '#include <string>'; \
echo ''; \
echo '#define DEFAULTMENU "$(DEFAULT_MENU)"'; \
echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"'; \
echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"'; \
echo '#define DEFAULT_INITFILE "$(DEFAULT_INITFILE)"'; \
echo '#define PROGRAM_PREFIX "$(PROGRAM_PREFIX:NONE=)"'; \
echo '#define PROGRAM_SUFFIX "$(PROGRAM_SUFFIX:NONE=)"'; \
echo 'std::string realProgramName(std::string name);'; \
echo 'const char* svnversion(void);' ) > defaults.hh
2001-12-11 20:47:02 +00:00
defaults.cc: force
@( \
echo '#include "defaults.hh"'; \
echo ''; \
echo 'std::string realProgramName(std::string name) {'; \
echo ' return PROGRAM_PREFIX + name + PROGRAM_SUFFIX;'; \
echo '}'; \
echo ''; \
echo 'const char* svnversion(void) {'; \
2007-12-20 00:51:15 +00:00
echo ' return "'`cat ../.git/refs/heads/master`'";';\
echo '}' ) > defaults_tmp.cc
@if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
@rm defaults_tmp.cc
force: ;
# an extra dep for fluxbox
fluxbox.$(OBJEXT): defaults.hh
2002-11-26 16:03:36 +00:00
if NEWWMSPEC
newwmspec_SOURCE= Ewmh.hh Ewmh.cc
endif
if GNOME
gnome_SOURCE= Gnome.hh Gnome.cc
endif
2003-05-08 10:45:12 +00:00
if REMEMBER_SRC
REMEMBER_SOURCE= Remember.hh Remember.cc \
2007-12-28 06:15:06 +00:00
ClientPattern.hh ClientPattern.cc
2003-05-08 10:45:12 +00:00
endif
2003-06-25 13:07:34 +00:00
if TOOLBAR_SRC
2003-12-03 00:33:30 +00:00
TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \
2003-08-11 18:02:51 +00:00
ToolbarTheme.hh ToolbarTheme.cc ToolbarItem.hh ToolbarItem.cc \
2003-08-29 00:57:12 +00:00
ClockTool.hh ClockTool.cc \
WorkspaceNameTool.hh WorkspaceNameTool.cc WorkspaceNameTheme.hh \
2007-10-13 21:51:37 +00:00
IconbarTool.hh IconbarTool.cc \
2003-08-11 15:51:31 +00:00
ToolTheme.hh ToolTheme.cc \
SystemTray.hh SystemTray.cc \
GenericTool.hh GenericTool.cc \
ButtonTool.hh ButtonTool.cc ButtonTheme.hh ButtonTheme.cc \
ToolFactory.hh ToolFactory.cc
2003-06-25 13:07:34 +00:00
endif
2002-10-15 09:48:16 +00:00
2003-04-25 11:25:03 +00:00
fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \
FbAtoms.hh FbAtoms.cc FbWinFrame.hh FbWinFrame.cc \
FbWinFrameTheme.hh FbWinFrameTheme.cc \
fluxbox.cc fluxbox.hh \
2002-11-26 16:03:36 +00:00
Keys.cc Keys.hh main.cc \
2003-04-25 11:25:03 +00:00
RootTheme.hh RootTheme.cc \
2003-05-10 22:51:12 +00:00
FbRootWindow.hh FbRootWindow.cc \
OSDWindow.hh OSDWindow.cc \
2004-04-19 22:48:52 +00:00
Screen.cc Screen.hh ScreenResources.cc \
2003-08-29 10:55:44 +00:00
Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc \
2003-04-26 18:27:56 +00:00
WinButton.hh WinButton.cc \
2003-04-28 22:39:12 +00:00
WinButtonTheme.hh WinButtonTheme.cc \
2003-04-26 18:27:56 +00:00
Window.cc Window.hh \
Workspace.cc Workspace.hh \
2005-06-23 02:57:24 +00:00
FbCommands.hh FbCommands.cc LayerMenu.hh LayerMenu.cc \
2006-03-19 21:49:42 +00:00
Layer.hh \
2007-12-27 21:55:24 +00:00
FbMenu.hh FbMenu.cc \
WinClient.hh WinClient.cc \
2003-06-19 17:14:23 +00:00
Strut.hh \
2003-06-10 12:39:26 +00:00
Xinerama.hh \
2003-06-22 12:25:09 +00:00
Xutil.hh Xutil.cc \
2003-06-30 15:07:29 +00:00
CurrentWindowCmd.hh CurrentWindowCmd.cc \
WorkspaceCmd.hh WorkspaceCmd.cc \
CommandDialog.hh CommandDialog.cc SendToMenu.hh SendToMenu.cc \
AlphaMenu.hh AlphaMenu.cc ObjectResource.hh \
2004-02-27 12:18:45 +00:00
CompareWindow.hh \
2007-12-28 05:52:00 +00:00
FbMenuParser.hh FbMenuParser.cc \
2004-05-02 21:21:56 +00:00
StyleMenuItem.hh StyleMenuItem.cc \
2004-08-29 22:07:37 +00:00
RootCmdMenuItem.hh RootCmdMenuItem.cc\
2004-05-02 21:21:56 +00:00
MenuCreator.hh MenuCreator.cc \
2007-10-13 21:51:37 +00:00
ClientMenu.hh ClientMenu.cc \
2004-05-02 21:21:56 +00:00
WorkspaceMenu.hh WorkspaceMenu.cc \
FocusModelMenuItem.hh \
2004-06-27 13:42:04 +00:00
ToggleMenu.hh \
HeadArea.hh HeadArea.cc \
Resources.cc \
2005-06-23 02:57:24 +00:00
WindowCmd.hh WindowCmd.cc \
FocusControl.hh FocusControl.cc \
2006-03-19 21:49:42 +00:00
PlacementStrategy.hh \
CascadePlacement.hh CascadePlacement.cc \
ColSmartPlacement.hh ColSmartPlacement.cc \
2007-10-13 21:51:37 +00:00
MinOverlapPlacement.hh MinOverlapPlacement.cc \
RowSmartPlacement.hh RowSmartPlacement.cc \
ScreenPlacement.hh ScreenPlacement.cc \
UnderMousePlacement.hh UnderMousePlacement.cc \
AttentionNoticeHandler.hh AttentionNoticeHandler.cc \
2007-10-13 21:51:37 +00:00
IconButton.hh IconButton.cc \
IconbarTheme.hh IconbarTheme.cc \
Focusable.hh FocusableList.hh FocusableList.cc FocusableTheme.hh \
${newwmspec_SOURCE} ${gnome_SOURCE} \
${REMEMBER_SOURCE} ${TOOLBAR_SOURCE}
2003-05-08 10:45:12 +00:00
2003-04-25 11:25:03 +00:00
LDADD=FbTk/libFbTk.a FbTk/LogicCommands.o defaults.$(OBJEXT)