~ubuntu-branches/ubuntu/trusty/fluxbox/trusty-proposed

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov
  • Date: 2008-07-01 10:38:14 UTC
  • mfrom: (2.1.12 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080701103814-khx2b6il152x9p93
Tags: 1.0.0+deb1-8
* x-dev has been removed from build-depends (out-of-date package).
* Standards-Version bumped to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.am for fluxbox
2
 
# Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3
 
#
4
 
# src/Makefile.am for Blackbox 0.61.x  - an X11 Window manager
5
 
# Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net)
6
 
#
7
 
# Permission is hereby granted, free of charge, to any person obtaining a
8
 
# copy of this software and associated documentation files (the "Software"),
9
 
# to deal in the Software without restriction, including without limitation
10
 
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
11
 
# and/or sell copies of the Software, and to permit persons to whom the 
12
 
# Software is furnished to do so, subject to the following conditions:
13
 
#
14
 
# The above copyright notice and this permission notice shall be included in 
15
 
# all copies or substantial portions of the Software. 
16
 
#
17
 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
18
 
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
19
 
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
20
 
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
21
 
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
22
 
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
23
 
# DEALINGS IN THE SOFTWARE.
24
 
 
25
 
 
26
 
SUBDIRS= FbTk
27
 
DEFAULT_MENU=@DEFAULT_MENU@
28
 
DEFAULT_STYLE=$(pkgdatadir)/styles/Clean
29
 
DEFAULT_KEYSFILE=@DEFAULT_KEYS@
30
 
DEFAULT_INITFILE=@DEFAULT_INIT@
31
 
 
32
 
AM_CPPFLAGS=@CPPFLAGS@ -I$(srcdir)/FbTk
33
 
 
34
 
bin_PROGRAMS= fluxbox
35
 
BUILT_SOURCES = defaults.hh
36
 
CONFIG_CLEAN_FILES = defaults.hh
37
 
defaults.hh: Makefile
38
 
        @( \
39
 
                echo '// This file is generated from Makefile. Do not edit!'; \
40
 
                echo '#define DEFAULTMENU "$(DEFAULT_MENU)"'; \
41
 
                echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"'; \
42
 
                echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"'; \
43
 
                echo '#define DEFAULT_INITFILE "$(DEFAULT_INITFILE)"'; \
44
 
                echo 'const char* svnversion(void);' ) > defaults.hh
45
 
 
46
 
defaults.cc: force
47
 
        @( \
48
 
                echo 'const char* svnversion(void) {'; \
49
 
                echo '  return "'`(svnversion . | sed "s/[^0-9].*//") 2> /dev/null`'";';\
50
 
                echo '}' ) > defaults_tmp.cc
51
 
        @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
52
 
        @rm defaults_tmp.cc
53
 
 
54
 
force: ;
55
 
 
56
 
# an extra dep for fluxbox
57
 
fluxbox.$(OBJEXT): defaults.hh
58
 
 
59
 
 
60
 
 
61
 
if NEWWMSPEC
62
 
newwmspec_SOURCE= Ewmh.hh Ewmh.cc
63
 
endif
64
 
if GNOME
65
 
gnome_SOURCE= Gnome.hh Gnome.cc
66
 
endif
67
 
if REMEMBER_SRC
68
 
# For now we only want regexp if we have remember
69
 
REMEMBER_SOURCE= Remember.hh Remember.cc \
70
 
        RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc
71
 
endif
72
 
if TOOLBAR_SRC
73
 
TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \
74
 
        ToolbarTheme.hh ToolbarTheme.cc ToolbarItem.hh ToolbarItem.cc \
75
 
        ClockTool.hh ClockTool.cc \
76
 
        WorkspaceNameTool.hh WorkspaceNameTool.cc WorkspaceNameTheme.hh \
77
 
        IconbarTool.hh IconbarTool.cc IconbarTheme.hh IconbarTheme.cc \
78
 
        ToolTheme.hh ToolTheme.cc \
79
 
        IconButton.hh IconButton.cc \
80
 
        SystemTray.hh SystemTray.cc \
81
 
        GenericTool.hh GenericTool.cc \
82
 
        ButtonTool.hh ButtonTool.cc ButtonTheme.hh ButtonTheme.cc \
83
 
        ToolFactory.hh ToolFactory.cc
84
 
endif
85
 
 
86
 
fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \
87
 
        BoolMenuItem.hh \
88
 
        FbAtoms.hh FbAtoms.cc FbWinFrame.hh FbWinFrame.cc \
89
 
        FbWinFrameTheme.hh FbWinFrameTheme.cc \
90
 
        fluxbox.cc fluxbox.hh \
91
 
        Keys.cc Keys.hh main.cc \
92
 
        Netizen.cc Netizen.hh \
93
 
        RootTheme.hh RootTheme.cc \
94
 
        FbRootWindow.hh FbRootWindow.cc \
95
 
        Screen.cc Screen.hh ScreenResources.cc \
96
 
        Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc \
97
 
        WinButton.hh WinButton.cc \
98
 
        WinButtonTheme.hh WinButtonTheme.cc \
99
 
        Window.cc Window.hh \
100
 
        Workspace.cc Workspace.hh \
101
 
        FbCommands.hh FbCommands.cc LayerMenu.hh LayerMenu.cc \
102
 
        IntResMenuItem.hh IntResMenuItem.cc FbMenu.hh FbMenu.cc \
103
 
        WinClient.hh WinClient.cc \
104
 
        Strut.hh \
105
 
        Xinerama.hh \
106
 
        IconMenuItem.hh \
107
 
        Xutil.hh Xutil.cc \
108
 
        CurrentWindowCmd.hh CurrentWindowCmd.cc \
109
 
        WorkspaceCmd.hh WorkspaceCmd.cc \
110
 
        CommandParser.hh CommandParser.cc \
111
 
        FbCommandFactory.hh FbCommandFactory.cc \
112
 
        Shape.hh Shape.cc \
113
 
        MenuTheme.hh MenuTheme.cc \
114
 
        Container.hh Container.cc \
115
 
        TextTheme.hh TextTheme.cc \
116
 
        BorderTheme.hh BorderTheme.cc \
117
 
        CommandDialog.hh CommandDialog.cc SendToMenu.hh SendToMenu.cc \
118
 
        CompareWindow.hh \
119
 
        Parser.hh Parser.cc FbMenuParser.hh FbMenuParser.cc \
120
 
        StyleMenuItem.hh StyleMenuItem.cc \
121
 
        RootCmdMenuItem.hh RootCmdMenuItem.cc\
122
 
        MenuCreator.hh MenuCreator.cc \
123
 
        IconMenu.hh IconMenu.cc \
124
 
        WorkspaceMenu.hh WorkspaceMenu.cc \
125
 
        FocusModelMenuItem.hh \
126
 
        ToggleMenu.hh \
127
 
        HeadArea.hh HeadArea.cc \
128
 
        Resources.cc \
129
 
        WindowCmd.hh WindowCmd.cc \
130
 
        ${newwmspec_SOURCE} ${gnome_SOURCE} \
131
 
        ${REMEMBER_SOURCE} ${TOOLBAR_SOURCE}
132
 
 
133
 
 
134
 
LDADD=FbTk/libFbTk.a defaults.$(OBJEXT)