2001-12-11 20:47:02 +00:00
|
|
|
# Makefile.am for fluxbox
|
2003-01-09 18:40:34 +00:00
|
|
|
# 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
|
2005-03-16 08:42:18 +00:00
|
|
|
DEFAULT_MENU=@DEFAULT_MENU@
|
2007-12-13 21:15:57 +00:00
|
|
|
DEFAULT_STYLE=@DEFAULT_STYLE@
|
2005-03-16 08:42:18 +00:00
|
|
|
DEFAULT_KEYSFILE=@DEFAULT_KEYS@
|
|
|
|
DEFAULT_INITFILE=@DEFAULT_INIT@
|
2007-07-07 23:11:04 +00:00
|
|
|
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
|
2003-06-30 20:33:05 +00:00
|
|
|
BUILT_SOURCES = defaults.hh
|
2004-10-28 15:37:32 +00:00
|
|
|
CONFIG_CLEAN_FILES = defaults.hh
|
2003-06-30 20:33:05 +00:00
|
|
|
defaults.hh: Makefile
|
2005-04-07 02:14:29 +00:00
|
|
|
@( \
|
|
|
|
echo '// This file is generated from Makefile. Do not edit!'; \
|
2007-07-07 23:11:04 +00:00
|
|
|
echo '#include <string>'; \
|
|
|
|
echo ''; \
|
2005-04-07 02:14:29 +00:00
|
|
|
echo '#define DEFAULTMENU "$(DEFAULT_MENU)"'; \
|
|
|
|
echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"'; \
|
|
|
|
echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"'; \
|
|
|
|
echo '#define DEFAULT_INITFILE "$(DEFAULT_INITFILE)"'; \
|
2007-07-07 23:11:04 +00:00
|
|
|
echo '#define PROGRAM_PREFIX "$(PROGRAM_PREFIX:NONE=)"'; \
|
|
|
|
echo '#define PROGRAM_SUFFIX "$(PROGRAM_SUFFIX:NONE=)"'; \
|
|
|
|
echo 'std::string realProgramName(std::string name);'; \
|
2005-04-07 02:14:29 +00:00
|
|
|
echo 'const char* svnversion(void);' ) > defaults.hh
|
2001-12-11 20:47:02 +00:00
|
|
|
|
2005-02-03 16:46:46 +00:00
|
|
|
defaults.cc: force
|
2005-04-07 02:14:29 +00:00
|
|
|
@( \
|
2007-07-07 23:11:04 +00:00
|
|
|
echo '#include "defaults.hh"'; \
|
|
|
|
echo ''; \
|
|
|
|
echo 'std::string realProgramName(std::string name) {'; \
|
|
|
|
echo ' return PROGRAM_PREFIX + name + PROGRAM_SUFFIX;'; \
|
|
|
|
echo '}'; \
|
|
|
|
echo ''; \
|
2005-04-07 02:14:29 +00:00
|
|
|
echo 'const char* svnversion(void) {'; \
|
2007-12-20 00:51:15 +00:00
|
|
|
echo ' return "'`cat ../.git/refs/heads/master`'";';\
|
2005-04-07 02:14:29 +00:00
|
|
|
echo '}' ) > defaults_tmp.cc
|
|
|
|
@if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
|
|
|
|
@rm defaults_tmp.cc
|
2005-02-03 16:46:46 +00:00
|
|
|
|
|
|
|
force: ;
|
2003-06-30 20:33:05 +00:00
|
|
|
|
2005-02-03 16:46:46 +00:00
|
|
|
# an extra dep for fluxbox
|
2003-06-30 20:33:05 +00:00
|
|
|
fluxbox.$(OBJEXT): defaults.hh
|
2002-11-26 16:03:36 +00:00
|
|
|
|
2005-02-03 16:46:46 +00:00
|
|
|
|
|
|
|
|
2002-10-25 21:07:56 +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
|
2005-08-23 06:39:48 +00:00
|
|
|
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 \
|
2003-10-13 23:50:21 +00:00
|
|
|
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 \
|
2003-07-10 11:43:28 +00:00
|
|
|
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 \
|
2008-01-19 12:00:46 +00:00
|
|
|
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 \
|
2003-01-12 18:25:08 +00:00
|
|
|
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 \
|
2003-04-26 05:42:36 +00:00
|
|
|
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 \
|
2003-12-19 03:53:36 +00:00
|
|
|
CommandDialog.hh CommandDialog.cc SendToMenu.hh SendToMenu.cc \
|
2007-01-07 11:55:14 +00:00
|
|
|
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 \
|
2004-09-11 13:45:16 +00:00
|
|
|
HeadArea.hh HeadArea.cc \
|
2004-09-12 14:01:41 +00:00
|
|
|
Resources.cc \
|
2005-06-23 02:57:24 +00:00
|
|
|
WindowCmd.hh WindowCmd.cc \
|
2006-02-18 09:20:58 +00:00
|
|
|
FocusControl.hh FocusControl.cc \
|
2006-03-19 21:49:42 +00:00
|
|
|
PlacementStrategy.hh \
|
2006-02-19 11:11:22 +00:00
|
|
|
CascadePlacement.hh CascadePlacement.cc \
|
|
|
|
ColSmartPlacement.hh ColSmartPlacement.cc \
|
2007-10-13 21:51:37 +00:00
|
|
|
MinOverlapPlacement.hh MinOverlapPlacement.cc \
|
2006-02-19 11:11:22 +00:00
|
|
|
RowSmartPlacement.hh RowSmartPlacement.cc \
|
|
|
|
ScreenPlacement.hh ScreenPlacement.cc \
|
|
|
|
UnderMousePlacement.hh UnderMousePlacement.cc \
|
2006-05-13 16:23:00 +00:00
|
|
|
AttentionNoticeHandler.hh AttentionNoticeHandler.cc \
|
2007-10-13 21:51:37 +00:00
|
|
|
IconButton.hh IconButton.cc \
|
|
|
|
IconbarTheme.hh IconbarTheme.cc \
|
2008-01-07 10:26:32 +00:00
|
|
|
Focusable.hh FocusableList.hh FocusableList.cc FocusableTheme.hh \
|
2003-07-10 11:43:28 +00:00
|
|
|
${newwmspec_SOURCE} ${gnome_SOURCE} \
|
2005-08-23 06:39:48 +00:00
|
|
|
${REMEMBER_SOURCE} ${TOOLBAR_SOURCE}
|
2003-05-08 10:45:12 +00:00
|
|
|
|
2003-04-25 11:25:03 +00:00
|
|
|
|
2007-12-13 05:48:00 +00:00
|
|
|
LDADD=FbTk/libFbTk.a FbTk/LogicCommands.o defaults.$(OBJEXT)
|