diff options
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | NEWS | 25 | ||||
-rw-r--r-- | README | 35 | ||||
-rw-r--r-- | TODO | 3 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | data/Makefile.am | 2 | ||||
-rw-r--r-- | data/Makefile.in | 11 | ||||
-rw-r--r-- | data/styles/Makefile.in | 9 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/Makefile.in | 2 | ||||
-rw-r--r-- | util/Makefile.in | 83 |
12 files changed, 144 insertions, 44 deletions
@@ -1,7 +1,17 @@ | |||
1 | Changes for 0.1.6: | 1 | Changes for 0.1.6: |
2 | *01/01/11: | ||
3 | * Fixed so it compiles with cygwin (Thanks Eric Nicolas) | ||
2 | *02/01/10: | 4 | *02/01/10: |
5 | * Fixed {VERT,HORIZ}{INC,DEC} keybindings so that tabs will | ||
6 | resize/reposition. (Claes Nästén) | ||
7 | * Updated documentation (Thanks Rando Christensen) | ||
8 | * All enums are now changed to uppercase letters. (Claes Nästén) | ||
9 | * Now tabs won't appear on some apps where they shouldn't, | ||
10 | for example bbpager and mplayer. (Claes Nästén) | ||
3 | * Fixed rootCommand to screen, so we can have | 11 | * Fixed rootCommand to screen, so we can have |
4 | different rootcommands on the different screens | 12 | different rootcommands on the different screens |
13 | * Fixed so we can disable lines in the keyfile with a # | ||
14 | * Fixed raise with mouse click while sloppy window focus | ||
5 | *02/01/09: | 15 | *02/01/09: |
6 | * Updated copyright date | 16 | * Updated copyright date |
7 | * Updated generate_menu (Thanks zyrnix) | 17 | * Updated generate_menu (Thanks zyrnix) |
@@ -23,7 +33,7 @@ Changes for 0.1.6: | |||
23 | *02/01/05: | 33 | *02/01/05: |
24 | * Changed placement/alignment enums to uppercase letters (Claes Nästén) | 34 | * Changed placement/alignment enums to uppercase letters (Claes Nästén) |
25 | * Fixed tab/iconbar resource bug (Claes Nästén) | 35 | * Fixed tab/iconbar resource bug (Claes Nästén) |
26 | * Applied "maximize slit stop"-patch (Thanks Andrew Livesay ) | 36 | * Applied "maximize slit stop"-patch (Thanks Andrew Livesay) |
27 | * Fixed stickytoggle bug in Windowmenu (Thanks Chris Elston) | 37 | * Fixed stickytoggle bug in Windowmenu (Thanks Chris Elston) |
28 | * Fixed shade bug in Windowmenu | 38 | * Fixed shade bug in Windowmenu |
29 | * Fixed error in nls/it_IT/Makefile.am | 39 | * Fixed error in nls/it_IT/Makefile.am |
@@ -1,17 +1,24 @@ | |||
1 | So whats new in 0.1.6? | 1 | So whats new in 0.1.6? |
2 | * different rootCommand on different screens | 2 | * Rootcommand is configured for each screen |
3 | * less strict keyconfig file reading | 3 | * Less strict keyconfig file reading |
4 | * coding design | 4 | * Coding design |
5 | * You can drop tabs on titlebar too | 5 | * Tabs can be dropped on the window as well |
6 | * tab width is configured for each screen | 6 | (if the sloppy window grouping is on) |
7 | * Tab width is configured for each screen | ||
7 | * Tab cycling | 8 | * Tab cycling |
8 | * "Maximize stop at slit" option | 9 | * "Maximize stop at slit" option |
10 | * Lower window with mouse button 3 | ||
11 | * You can now comment lines in keys config file | ||
12 | (commented lines must start with a #) | ||
13 | * You can now click to raise window while | ||
14 | you are in sloppy focus mode | ||
9 | 15 | ||
10 | Bugfixes: | 16 | Bugfixes: |
11 | * close button | 17 | * Close button (aterm, eterm etc) |
12 | * keys memory leak | 18 | * Keys memory leak |
13 | * keybinding bug | 19 | * Keybinding bug |
14 | * withdraw state fixed (opera will not open another instance) | 20 | * Withdraw state fixed (opera will not open another instance |
21 | if there is one already opened) | ||
15 | * Slit OnTop while Toolbar OnTop | 22 | * Slit OnTop while Toolbar OnTop |
16 | * Alt + resize and pressing button 1 | 23 | * Alt + resize and pressing button 1 |
17 | * Tab toggle texture/position | 24 | * Tab toggle texture/position |
@@ -1,4 +1,5 @@ | |||
1 | Fluxbox builds on Blackbox source but has different goals. | 1 | Fluxbox builds on Blackbox 0.61.1 source but has different goals. |
2 | Read NEWS to see whats new in this release. | ||
2 | For copyright see COPYING | 3 | For copyright see COPYING |
3 | 4 | ||
4 | Compile and Install: | 5 | Compile and Install: |
@@ -8,8 +9,10 @@ Compile and Install: | |||
8 | and then as root | 9 | and then as root |
9 | # make install | 10 | # make install |
10 | 11 | ||
11 | for KDE slitsupport: | 12 | for KDE slitsupport: (Allows kde tray icons to be placed in the fluxbox slit) |
12 | ./configure --enable-kde | 13 | ./configure --enable-kde |
14 | |||
15 | For more information and FAQ go to http://fluxbox.sourceforge.net | ||
13 | 16 | ||
14 | To disable tabs and/or iconbar just change it in configure menu. | 17 | To disable tabs and/or iconbar just change it in configure menu. |
15 | 18 | ||
@@ -21,15 +24,33 @@ in the file init. | |||
21 | 24 | ||
22 | You can use your old blackbox configuration file too. Just copy | 25 | You can use your old blackbox configuration file too. Just copy |
23 | .blackboxrc to ~/.fluxbox/init . The same goes for menu file. | 26 | .blackboxrc to ~/.fluxbox/init . The same goes for menu file. |
24 | The bbkeys config file can be selected in the file init: | ||
25 | session.keyFile: <filename here> | ||
26 | You can also use the Blackbox themes in Fluxbox. | 27 | You can also use the Blackbox themes in Fluxbox. |
27 | If there isn't any format for the tab in the theme then | 28 | If there isn't any format for the tab in the theme then |
28 | the tab will have the same theme as the titlebar. | 29 | the tab will have the same theme as the titlebar. |
29 | 30 | ||
31 | The keys config file can be selected in the file init: | ||
32 | session.keyFile: <filename here> | ||
33 | The keys file is no longer compatible with bbkeys. There's a convertkeys | ||
34 | script at http://fluxbox.sourceforge.net/ that will convert the bbkeys | ||
35 | format to the fluxbox format. | ||
36 | |||
37 | |||
38 | A few extra notes: | ||
39 | - To disable tabs and/or iconbar just change it in configure menu. | ||
40 | - To work with tabs, use the third mouse button to drag a tab to another tab. | ||
41 | This will group the two windows together. | ||
42 | - With 'Sloppy Window Grouping' turned on (in your configure menu), you can | ||
43 | drop the tabs anywhere on the target window to group windows together. | ||
44 | - The 'Maximize Slit Stop' option means that maximized windows will stop at | ||
45 | the outside border of the slit, keeping the slit in full view. | ||
46 | - In the init file, the session.screen0.rootCommand: option will override | ||
47 | the rootCommand option in a theme- keeping your background the same, no | ||
48 | matter what the theme says it should be. | ||
49 | |||
30 | Thanks: | 50 | Thanks: |
31 | Blackbox team | 51 | Blackbox team |
32 | #linux.se@dalnet, #linux.se@openproject.net | 52 | aleczapka, skarin, Perc, xfs, skypher and skywarper for buggtesting |
33 | skypher of openprojects for buggtesting and providing fluxbox with themes: | 53 | skypher of openprojects for buggtesting and providing fluxbox with themes: |
34 | Clean CleanColor Makro, Carbondioxide and MerleyKay. | 54 | Clean CleanColor Makro, Carbondioxide and MerleyKay. |
35 | skarin, Perc, xfs, skypher and skywarper for buggtesting | 55 | People at #fluxbox@openprojects.net |
56 | And for the people who send bugfixes/patches | ||
@@ -13,6 +13,8 @@ TODO for Fluxbox 0.2.0 | |||
13 | 13 | ||
14 | * grabKillWindow to keygrabber grabCloseWindow | 14 | * grabKillWindow to keygrabber grabCloseWindow |
15 | 15 | ||
16 | * Fix snapping for {VERT,HORIZ}{INC,DEC} keybindings when resising for example | ||
17 | xterms. | ||
16 | * grabRootmenu | 18 | * grabRootmenu |
17 | * wheel-config support | 19 | * wheel-config support |
18 | * separator in the menus | 20 | * separator in the menus |
@@ -21,7 +23,6 @@ TODO for Fluxbox 0.2.0 | |||
21 | * 0,0-pos fix | 23 | * 0,0-pos fix |
22 | * gnome support | 24 | * gnome support |
23 | * net wm atom support | 25 | * net wm atom support |
24 | * fix some more enums to uppercase | ||
25 | * clean up in the global namespace | 26 | * clean up in the global namespace |
26 | * remove cyclic deps | 27 | * remove cyclic deps |
27 | * Create fbinput style app | 28 | * Create fbinput style app |
@@ -728,7 +728,7 @@ fi | |||
728 | 728 | ||
729 | PACKAGE=fluxbox | 729 | PACKAGE=fluxbox |
730 | 730 | ||
731 | VERSION=0.1.6-pre | 731 | VERSION=0.1.6 |
732 | 732 | ||
733 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 733 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
734 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 734 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
diff --git a/configure.in b/configure.in index f57b299..0386424 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,7 +1,7 @@ | |||
1 | dnl configure.in for Fluxbox - created from configure.in Blackbox 0.61.1 | 1 | dnl configure.in for Fluxbox - created from configure.in Blackbox 0.61.1 |
2 | dnl Initialize autoconf and automake | 2 | dnl Initialize autoconf and automake |
3 | AC_INIT(src/main.cc) | 3 | AC_INIT(src/main.cc) |
4 | AM_INIT_AUTOMAKE(fluxbox,0.1.6-pre,no-define) | 4 | AM_INIT_AUTOMAKE(fluxbox,0.1.6,no-define) |
5 | 5 | ||
6 | dnl Determine default prefix | 6 | dnl Determine default prefix |
7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 7 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
diff --git a/data/Makefile.am b/data/Makefile.am index c586c77..209b64b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am | |||
@@ -11,6 +11,6 @@ distclean-local: | |||
11 | init: init.in | 11 | init: init.in |
12 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init | 12 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init |
13 | menu: generate_menu | 13 | menu: generate_menu |
14 | ./generate_menu | 14 | sh ./generate_menu |
15 | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre | 15 | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre |
16 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu | 16 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu |
diff --git a/data/Makefile.in b/data/Makefile.in index c1c7725..1c871b0 100644 --- a/data/Makefile.in +++ b/data/Makefile.in | |||
@@ -106,9 +106,9 @@ GZIP_ENV = --best | |||
106 | all: all-redirect | 106 | all: all-redirect |
107 | .SUFFIXES: | 107 | .SUFFIXES: |
108 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | 108 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
109 | cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/Makefile | 109 | cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile |
110 | 110 | ||
111 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | 111 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
112 | cd $(top_builddir) \ | 112 | cd $(top_builddir) \ |
113 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | 113 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
114 | 114 | ||
@@ -226,6 +226,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |||
226 | subdir = data | 226 | subdir = data |
227 | 227 | ||
228 | distdir: $(DISTFILES) | 228 | distdir: $(DISTFILES) |
229 | here=`cd $(top_builddir) && pwd`; \ | ||
230 | top_distdir=`cd $(top_distdir) && pwd`; \ | ||
231 | distdir=`cd $(distdir) && pwd`; \ | ||
232 | cd $(top_srcdir) \ | ||
233 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu data/Makefile | ||
229 | @for file in $(DISTFILES); do \ | 234 | @for file in $(DISTFILES); do \ |
230 | d=$(srcdir); \ | 235 | d=$(srcdir); \ |
231 | if test -d $$d/$$file; then \ | 236 | if test -d $$d/$$file; then \ |
@@ -324,7 +329,7 @@ distclean-local: | |||
324 | init: init.in | 329 | init: init.in |
325 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init | 330 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init |
326 | menu: generate_menu | 331 | menu: generate_menu |
327 | ./generate_menu | 332 | sh ./generate_menu |
328 | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre | 333 | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre |
329 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu | 334 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu |
330 | 335 | ||
diff --git a/data/styles/Makefile.in b/data/styles/Makefile.in index 8e3e3f4..54318df 100644 --- a/data/styles/Makefile.in +++ b/data/styles/Makefile.in | |||
@@ -106,9 +106,9 @@ GZIP_ENV = --best | |||
106 | all: all-redirect | 106 | all: all-redirect |
107 | .SUFFIXES: | 107 | .SUFFIXES: |
108 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | 108 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
109 | cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps data/styles/Makefile | 109 | cd $(top_srcdir) && $(AUTOMAKE) --gnu data/styles/Makefile |
110 | 110 | ||
111 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | 111 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
112 | cd $(top_builddir) \ | 112 | cd $(top_builddir) \ |
113 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | 113 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
114 | 114 | ||
@@ -140,6 +140,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |||
140 | subdir = data/styles | 140 | subdir = data/styles |
141 | 141 | ||
142 | distdir: $(DISTFILES) | 142 | distdir: $(DISTFILES) |
143 | here=`cd $(top_builddir) && pwd`; \ | ||
144 | top_distdir=`cd $(top_distdir) && pwd`; \ | ||
145 | distdir=`cd $(distdir) && pwd`; \ | ||
146 | cd $(top_srcdir) \ | ||
147 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu data/styles/Makefile | ||
143 | @for file in $(DISTFILES); do \ | 148 | @for file in $(DISTFILES); do \ |
144 | d=$(srcdir); \ | 149 | d=$(srcdir); \ |
145 | if test -d $$d/$$file; then \ | 150 | if test -d $$d/$$file; then \ |
diff --git a/src/Makefile.am b/src/Makefile.am index 5b294fd..52e69e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -50,7 +50,7 @@ fluxbox_SOURCES= BaseDisplay.cc BaseDisplay.hh Basemenu.cc Basemenu.hh \ | |||
50 | fluxbox.cc fluxbox.hh \ | 50 | fluxbox.cc fluxbox.hh \ |
51 | i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh\ | 51 | i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh\ |
52 | IconBar.cc IconBar.hh Theme.hh Theme.cc \ | 52 | IconBar.cc IconBar.hh Theme.hh Theme.cc \ |
53 | StringUtil.cc StringUtil.hh DrawUtil.cc DrawUtil.hh | 53 | StringUtil.cc StringUtil.hh DrawUtil.cc DrawUtil.hh nl_types_cygnus.h |
54 | 54 | ||
55 | MAINTAINERCLEANFILES= Makefile.in | 55 | MAINTAINERCLEANFILES= Makefile.in |
56 | 56 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index 87a6604..2e4a1a3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
@@ -119,7 +119,7 @@ CPPFLAGS = -Wall @CPPFLAGS@ @SHAPE@ @SLIT@ @INTERLACE@ @ORDEREDPSEUDO@ @DEBUG@ @ | |||
119 | 119 | ||
120 | bin_PROGRAMS = fluxbox | 120 | bin_PROGRAMS = fluxbox |
121 | 121 | ||
122 | fluxbox_SOURCES = BaseDisplay.cc BaseDisplay.hh Basemenu.cc Basemenu.hh Clientmenu.cc Clientmenu.hh Configmenu.cc Configmenu.hh Icon.cc Icon.hh Image.cc Image.hh LinkedList.cc LinkedList.hh Netizen.cc Netizen.hh Rootmenu.cc Rootmenu.hh Screen.cc Screen.hh Slit.cc Slit.hh Timer.cc Timer.hh Toolbar.cc Toolbar.hh Window.cc Window.hh Windowmenu.cc Windowmenu.hh Workspace.cc Workspace.hh Workspacemenu.cc Workspacemenu.hh fluxbox.cc fluxbox.hh i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh IconBar.cc IconBar.hh Theme.hh Theme.cc StringUtil.cc StringUtil.hh DrawUtil.cc DrawUtil.hh | 122 | fluxbox_SOURCES = BaseDisplay.cc BaseDisplay.hh Basemenu.cc Basemenu.hh Clientmenu.cc Clientmenu.hh Configmenu.cc Configmenu.hh Icon.cc Icon.hh Image.cc Image.hh LinkedList.cc LinkedList.hh Netizen.cc Netizen.hh Rootmenu.cc Rootmenu.hh Screen.cc Screen.hh Slit.cc Slit.hh Timer.cc Timer.hh Toolbar.cc Toolbar.hh Window.cc Window.hh Windowmenu.cc Windowmenu.hh Workspace.cc Workspace.hh Workspacemenu.cc Workspacemenu.hh fluxbox.cc fluxbox.hh i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh IconBar.cc IconBar.hh Theme.hh Theme.cc StringUtil.cc StringUtil.hh DrawUtil.cc DrawUtil.hh nl_types_cygnus.h |
123 | 123 | ||
124 | 124 | ||
125 | MAINTAINERCLEANFILES = Makefile.in | 125 | MAINTAINERCLEANFILES = Makefile.in |
diff --git a/util/Makefile.in b/util/Makefile.in index 9c830c2..80fb2d5 100644 --- a/util/Makefile.in +++ b/util/Makefile.in | |||
@@ -131,6 +131,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |||
131 | 131 | ||
132 | TAR = tar | 132 | TAR = tar |
133 | GZIP_ENV = --best | 133 | GZIP_ENV = --best |
134 | DEP_FILES = .deps/bsetroot.P | ||
134 | SOURCES = $(bsetroot_SOURCES) | 135 | SOURCES = $(bsetroot_SOURCES) |
135 | OBJECTS = $(bsetroot_OBJECTS) | 136 | OBJECTS = $(bsetroot_OBJECTS) |
136 | 137 | ||
@@ -138,9 +139,9 @@ all: all-redirect | |||
138 | .SUFFIXES: | 139 | .SUFFIXES: |
139 | .SUFFIXES: .S .c .cc .lo .o .s | 140 | .SUFFIXES: .S .c .cc .lo .o .s |
140 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | 141 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
141 | cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps util/Makefile | 142 | cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile |
142 | 143 | ||
143 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | 144 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
144 | cd $(top_builddir) \ | 145 | cd $(top_builddir) \ |
145 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | 146 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
146 | 147 | ||
@@ -170,9 +171,6 @@ uninstall-binPROGRAMS: | |||
170 | rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ | 171 | rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
171 | done | 172 | done |
172 | 173 | ||
173 | .c.o: | ||
174 | $(COMPILE) -c $< | ||
175 | |||
176 | .s.o: | 174 | .s.o: |
177 | $(COMPILE) -c $< | 175 | $(COMPILE) -c $< |
178 | 176 | ||
@@ -189,9 +187,6 @@ distclean-compile: | |||
189 | 187 | ||
190 | maintainer-clean-compile: | 188 | maintainer-clean-compile: |
191 | 189 | ||
192 | .c.lo: | ||
193 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | ||
194 | |||
195 | .s.lo: | 190 | .s.lo: |
196 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | 191 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
197 | 192 | ||
@@ -269,6 +264,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |||
269 | subdir = util | 264 | subdir = util |
270 | 265 | ||
271 | distdir: $(DISTFILES) | 266 | distdir: $(DISTFILES) |
267 | here=`cd $(top_builddir) && pwd`; \ | ||
268 | top_distdir=`cd $(top_distdir) && pwd`; \ | ||
269 | distdir=`cd $(distdir) && pwd`; \ | ||
270 | cd $(top_srcdir) \ | ||
271 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile | ||
272 | @for file in $(DISTFILES); do \ | 272 | @for file in $(DISTFILES); do \ |
273 | d=$(srcdir); \ | 273 | d=$(srcdir); \ |
274 | if test -d $$d/$$file; then \ | 274 | if test -d $$d/$$file; then \ |
@@ -280,6 +280,56 @@ distdir: $(DISTFILES) | |||
280 | fi; \ | 280 | fi; \ |
281 | done | 281 | done |
282 | 282 | ||
283 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) | ||
284 | |||
285 | -include $(DEP_FILES) | ||
286 | |||
287 | mostlyclean-depend: | ||
288 | |||
289 | clean-depend: | ||
290 | |||
291 | distclean-depend: | ||
292 | -rm -rf .deps | ||
293 | |||
294 | maintainer-clean-depend: | ||
295 | |||
296 | %.o: %.c | ||
297 | @echo '$(COMPILE) -c $<'; \ | ||
298 | $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< | ||
299 | @-cp .deps/$(*F).pp .deps/$(*F).P; \ | ||
300 | tr ' ' '\012' < .deps/$(*F).pp \ | ||
301 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ | ||
302 | >> .deps/$(*F).P; \ | ||
303 | rm .deps/$(*F).pp | ||
304 | |||
305 | %.lo: %.c | ||
306 | @echo '$(LTCOMPILE) -c $<'; \ | ||
307 | $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< | ||
308 | @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ | ||
309 | < .deps/$(*F).pp > .deps/$(*F).P; \ | ||
310 | tr ' ' '\012' < .deps/$(*F).pp \ | ||
311 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ | ||
312 | >> .deps/$(*F).P; \ | ||
313 | rm -f .deps/$(*F).pp | ||
314 | |||
315 | %.o: %.cc | ||
316 | @echo '$(CXXCOMPILE) -c $<'; \ | ||
317 | $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< | ||
318 | @-cp .deps/$(*F).pp .deps/$(*F).P; \ | ||
319 | tr ' ' '\012' < .deps/$(*F).pp \ | ||
320 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ | ||
321 | >> .deps/$(*F).P; \ | ||
322 | rm .deps/$(*F).pp | ||
323 | |||
324 | %.lo: %.cc | ||
325 | @echo '$(LTCXXCOMPILE) -c $<'; \ | ||
326 | $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< | ||
327 | @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ | ||
328 | < .deps/$(*F).pp > .deps/$(*F).P; \ | ||
329 | tr ' ' '\012' < .deps/$(*F).pp \ | ||
330 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ | ||
331 | >> .deps/$(*F).P; \ | ||
332 | rm -f .deps/$(*F).pp | ||
283 | info-am: | 333 | info-am: |
284 | info: info-am | 334 | info: info-am |
285 | dvi-am: | 335 | dvi-am: |
@@ -318,27 +368,27 @@ distclean-generic: | |||
318 | maintainer-clean-generic: | 368 | maintainer-clean-generic: |
319 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | 369 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
320 | mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ | 370 | mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ |
321 | mostlyclean-libtool mostlyclean-tags \ | 371 | mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ |
322 | mostlyclean-generic | 372 | mostlyclean-generic |
323 | 373 | ||
324 | mostlyclean: mostlyclean-am | 374 | mostlyclean: mostlyclean-am |
325 | 375 | ||
326 | clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ | 376 | clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ |
327 | clean-generic mostlyclean-am | 377 | clean-depend clean-generic mostlyclean-am |
328 | 378 | ||
329 | clean: clean-am | 379 | clean: clean-am |
330 | 380 | ||
331 | distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \ | 381 | distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \ |
332 | distclean-tags distclean-generic clean-am \ | 382 | distclean-tags distclean-depend distclean-generic \ |
333 | distclean-local | 383 | clean-am distclean-local |
334 | -rm -f libtool | 384 | -rm -f libtool |
335 | 385 | ||
336 | distclean: distclean-am | 386 | distclean: distclean-am |
337 | 387 | ||
338 | maintainer-clean-am: maintainer-clean-binPROGRAMS \ | 388 | maintainer-clean-am: maintainer-clean-binPROGRAMS \ |
339 | maintainer-clean-compile maintainer-clean-libtool \ | 389 | maintainer-clean-compile maintainer-clean-libtool \ |
340 | maintainer-clean-tags maintainer-clean-generic \ | 390 | maintainer-clean-tags maintainer-clean-depend \ |
341 | distclean-am | 391 | maintainer-clean-generic distclean-am |
342 | @echo "This command is intended for maintainers to use;" | 392 | @echo "This command is intended for maintainers to use;" |
343 | @echo "it deletes files that may require special tools to rebuild." | 393 | @echo "it deletes files that may require special tools to rebuild." |
344 | 394 | ||
@@ -350,8 +400,9 @@ mostlyclean-compile distclean-compile clean-compile \ | |||
350 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | 400 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
351 | clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \ | 401 | clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \ |
352 | install-binSCRIPTS tags mostlyclean-tags distclean-tags clean-tags \ | 402 | install-binSCRIPTS tags mostlyclean-tags distclean-tags clean-tags \ |
353 | maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ | 403 | maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ |
354 | installcheck-am installcheck install-exec-am install-exec \ | 404 | clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ |
405 | check-am installcheck-am installcheck install-exec-am install-exec \ | ||
355 | install-data-am install-data install-am install uninstall-am uninstall \ | 406 | install-data-am install-data install-am install uninstall-am uninstall \ |
356 | all-redirect all-am all installdirs mostlyclean-generic \ | 407 | all-redirect all-am all installdirs mostlyclean-generic \ |
357 | distclean-generic clean-generic maintainer-clean-generic clean \ | 408 | distclean-generic clean-generic maintainer-clean-generic clean \ |