diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 104 |
1 files changed, 81 insertions, 23 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8e5f514..939756c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -1,8 +1,8 @@ | |||
1 | # Makefile.am for fluxbox | 1 | # Makefile.am for fluxbox |
2 | # Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org) | 2 | # Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) |
3 | # | 3 | # |
4 | # src/Makefile.am for Blackbox 0.61.x - an X11 Window manager | 4 | # src/Makefile.am for Blackbox 0.61.x - an X11 Window manager |
5 | # Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) | 5 | # Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net) |
6 | # | 6 | # |
7 | # Permission is hereby granted, free of charge, to any person obtaining a | 7 | # Permission is hereby granted, free of charge, to any person obtaining a |
8 | # copy of this software and associated documentation files (the "Software"), | 8 | # copy of this software and associated documentation files (the "Software"), |
@@ -23,33 +23,91 @@ | |||
23 | # DEALINGS IN THE SOFTWARE. | 23 | # DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | 25 | ||
26 | SUBDIRS= FbTk | ||
26 | DEFAULT_MENU=$(pkgdatadir)/menu | 27 | DEFAULT_MENU=$(pkgdatadir)/menu |
27 | DEFAULT_STYLE=$(pkgdatadir)/styles/Clean | 28 | DEFAULT_STYLE=$(pkgdatadir)/styles/Clean |
28 | DEFAULT_TITLEBAR=$(pkgdatadir)/titlebar | ||
29 | DEFAULT_KEYSFILE=$(pkgdatadir)/keys | 29 | DEFAULT_KEYSFILE=$(pkgdatadir)/keys |
30 | DEFAULT_INITFILE= | 30 | DEFAULT_INITFILE= |
31 | 31 | ||
32 | CPPFLAGS= -Wall @CPPFLAGS@ @SHAPE@ @SLIT@ @INTERLACE@ @ORDEREDPSEUDO@ \ | 32 | AM_CPPFLAGS= -Wall @CPPFLAGS@ -IFbTk |
33 | @DEBUG@ @NEWWMSPEC@ @NLS@ @TIMEDCACHE@ @KDE@ @GNOME@ \ | ||
34 | -DLOCALEPATH=\"$(pkgdatadir)/nls\" \ | ||
35 | -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ | ||
36 | -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ | ||
37 | -DDEFAULTTITLEBAR=\"$(DEFAULT_TITLEBAR)\"\ | ||
38 | -DDEFAULTKEYSFILE=\"$(DEFAULT_KEYSFILE)\"\ | ||
39 | -DDEFAULT_INITFILE=\"$(pkgdatadir)/init\" | ||
40 | 33 | ||
41 | bin_PROGRAMS= fluxbox | 34 | bin_PROGRAMS= fluxbox |
35 | BUILT_SOURCES = defaults.hh | ||
36 | defaults.hh: Makefile | ||
37 | echo '// This file is generated from makefile. Do not edit!' > defaults.hh | ||
38 | echo '#define DEFAULTMENU "$(DEFAULT_MENU)"' >> defaults.hh | ||
39 | echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"' >> defaults.hh | ||
40 | echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"' >> defaults.hh | ||
41 | echo '#define DEFAULT_INITFILE "$(pkgdatadir)/init"' >> defaults.hh | ||
42 | echo '#define LOCALEPATH "$(pkgdatadir)/nls"' >> defaults.hh | ||
42 | 43 | ||
43 | fluxbox_SOURCES= BaseDisplay.cc BaseDisplay.hh Basemenu.cc Basemenu.hh \ | 44 | # some extra deps for I18n and fluxbox |
44 | Clientmenu.cc Clientmenu.hh Configmenu.cc Configmenu.hh \ | ||
45 | Icon.cc Icon.hh Image.cc Image.hh LinkedList.cc LinkedList.hh \ | ||
46 | Netizen.cc Netizen.hh Rootmenu.cc Rootmenu.hh Screen.cc Screen.hh\ | ||
47 | Slit.cc Slit.hh Timer.cc Timer.hh Toolbar.cc Toolbar.hh \ | ||
48 | Window.cc Window.hh Windowmenu.cc Windowmenu.hh \ | ||
49 | Workspace.cc Workspace.hh Workspacemenu.cc Workspacemenu.hh \ | ||
50 | fluxbox.cc fluxbox.hh bsd-snprintf.c bsd-snprintf.h \ | ||
51 | i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh\ | ||
52 | IconBar.cc IconBar.hh Theme.hh Theme.cc misc.hh misc.cc \ | ||
53 | Rotated.hh | ||
54 | MAINTAINERCLEANFILES= Makefile.in | ||
55 | 45 | ||
46 | I18n.$(OBJEXT): defaults.hh | ||
47 | fluxbox.$(OBJEXT): defaults.hh | ||
48 | |||
49 | if NEWWMSPEC | ||
50 | newwmspec_SOURCE= Ewmh.hh Ewmh.cc | ||
51 | endif | ||
52 | if GNOME | ||
53 | gnome_SOURCE= Gnome.hh Gnome.cc | ||
54 | endif | ||
55 | if REMEMBER_SRC | ||
56 | REMEMBER_SOURCE= Remember.hh Remember.cc | ||
57 | # For now we only want regexp if we have remember | ||
58 | if REGEXP_SRC | ||
59 | REGEXP_SOURCE = RegExp.hh RegExp.cc ClientPattern.hh ClientPattern.cc | ||
60 | endif | ||
61 | endif | ||
62 | if TOOLBAR_SRC | ||
63 | TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \ | ||
64 | ToolbarTheme.hh ToolbarTheme.cc ToolbarItem.hh ToolbarItem.cc \ | ||
65 | ClockTool.hh ClockTool.cc \ | ||
66 | WorkspaceNameTool.hh WorkspaceNameTool.cc WorkspaceNameTheme.hh \ | ||
67 | IconbarTool.hh IconbarTool.cc IconbarTheme.hh IconbarTheme.cc \ | ||
68 | ToolTheme.hh ToolTheme.cc \ | ||
69 | IconButton.hh IconButton.cc \ | ||
70 | SystemTray.hh SystemTray.cc \ | ||
71 | GenericTool.hh GenericTool.cc \ | ||
72 | ButtonTool.hh ButtonTool.cc ButtonTheme.hh ButtonTheme.cc \ | ||
73 | ToolFactory.hh ToolFactory.cc | ||
74 | endif | ||
75 | |||
76 | fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \ | ||
77 | BoolMenuItem.hh \ | ||
78 | FbAtoms.hh FbAtoms.cc FbWinFrame.hh FbWinFrame.cc \ | ||
79 | FbWinFrameTheme.hh FbWinFrameTheme.cc \ | ||
80 | fluxbox.cc fluxbox.hh \ | ||
81 | I18n.cc I18n.hh \ | ||
82 | Keys.cc Keys.hh main.cc \ | ||
83 | Netizen.cc Netizen.hh \ | ||
84 | RootTheme.hh RootTheme.cc \ | ||
85 | FbRootWindow.hh FbRootWindow.cc \ | ||
86 | Screen.cc Screen.hh \ | ||
87 | Slit.cc Slit.hh SlitTheme.hh SlitTheme.cc SlitClient.hh SlitClient.cc \ | ||
88 | WinButton.hh WinButton.cc \ | ||
89 | WinButtonTheme.hh WinButtonTheme.cc \ | ||
90 | Window.cc Window.hh \ | ||
91 | Workspace.cc Workspace.hh \ | ||
92 | FbCommands.hh FbCommands.cc LayerMenu.hh \ | ||
93 | IntResMenuItem.hh IntResMenuItem.cc FbMenu.hh FbMenu.cc \ | ||
94 | WinClient.hh WinClient.cc \ | ||
95 | Strut.hh \ | ||
96 | Xinerama.hh \ | ||
97 | IconMenuItem.hh \ | ||
98 | Xutil.hh Xutil.cc \ | ||
99 | CurrentWindowCmd.hh CurrentWindowCmd.cc \ | ||
100 | WorkspaceCmd.hh WorkspaceCmd.cc \ | ||
101 | CommandParser.hh CommandParser.cc \ | ||
102 | FbCommandFactory.hh FbCommandFactory.cc \ | ||
103 | Shape.hh Shape.cc \ | ||
104 | MenuTheme.hh MenuTheme.cc \ | ||
105 | Container.hh Container.cc \ | ||
106 | TextTheme.hh TextTheme.cc \ | ||
107 | BorderTheme.hh BorderTheme.cc \ | ||
108 | CommandDialog.hh CommandDialog.cc SendToMenu.hh SendToMenu.cc \ | ||
109 | ${newwmspec_SOURCE} ${gnome_SOURCE} \ | ||
110 | ${REMEMBER_SOURCE} ${REGEXP_SOURCE} ${TOOLBAR_SOURCE} | ||
111 | |||
112 | |||
113 | LDADD=FbTk/libFbTk.a | ||