Commit graph

33 commits

Author SHA1 Message Date
Marco Peereboom
86268c60a5 retire unmaintained man pages harder 2016-05-03 14:51:17 -05:00
Reginald Kennedy
829092cd42 Reorder LDFLAGS in Linux Makefile to work with --as-needed. 2014-09-30 09:29:40 +08:00
Andrea Bolognani
884794feec Improve Linux Makefile.
The following changes have been implemented:

  * make sure all standard (eg. $CFLAGS) variables are taken into
    account when compiling;
  * define default compilation flags in separate $MAINT_* variables
    so that user-defined variables can override them;
  * split default flags the expected way, eg. $CPPFLAGS instead of
    $CFLAGS for C preprocessor flags;
  * declare all dependencies, including the ones on header files;
  * install localized man pages in the corresponding locale-qualified
    directories, so that man(1) can pick them up automatically;
  * install .desktop file;
  * support $DESTDIR for downstream maintainers' convenience;
  * provide uninstall target;
  * get rid of symlink hackery.
2014-08-15 04:03:38 +08:00
Reginald Kennedy
b397ce68dc Fix LD_PRELOAD error on Linux.
On 64-bit Linux systems, if LD_PRELOAD isn't a relative/absolute
pathname to libswmhack.so, then ld.so attempts to load a 32-bit version
for 32-bit programs.  This produces an error message.  The solution is
to either build and install a 32-bit libswmhack.so.0.0 or use an
absolute/relative path so that ld.so only loads libswmhack.so for 64-bit
binaries.

Fix Makefiles to set variables before they are referenced.
2013-12-02 23:47:02 +08:00
Reginald Kennedy
d8a7afac8a Improve consistency of warning flags between makefiles.
Change default CC to cc.

Change symlinks to be relative.

Eliminate warnings.
2013-06-15 20:37:18 +08:00
David Hill
a29ac2b28a cleanup linux Makefile.
from Michael Weber
2013-06-13 13:25:28 -04:00
Reginald Kennedy
3c35ef5d7c Fix symlinks in Linux Makefile. 2013-04-29 13:39:01 +08:00
David Hill
3b3c4e31f3 add -Wmissing-prototypes 2012-08-28 19:46:51 -04:00
Reginald Kennedy
b2b0c8fcf2 Add support for Xcursor. 2012-08-26 19:21:45 +08:00
Reginald Kennedy
c03f2b3972 In Linux Makefile, only set CC when it isn't already set.
Fix some uninitialized warnings.
2012-08-21 02:39:37 +08:00
Reginald Kennedy
ebb72d68f2 Fix check_conn.
Resolve declaration shadows.
2012-07-28 04:48:27 +08:00
Reginald Kennedy
9a6057d006 Oops, bar_font conflicted, renamed bar_font to font in bar_setup.
Add the correct libraries and include to linux Makefile.
2012-07-21 06:00:02 +08:00
Reginald Kennedy
103465407f Fix linux makefile. 2012-07-21 06:00:02 +08:00
David Hill
8f2c842365 remove extra lib dependancies from Makefile 2012-07-21 05:59:30 +08:00
Reginald Kennedy
e676f5a92b Some OpenBSD styling cleanup.
keyfunc names are now uppercase.

Add -Wextra to Linux Makefile for dev purposes.

Remove unneeded dummykeyfunc().
2012-07-21 05:59:30 +08:00
Reginald Kennedy
3228ba7d20 Fix XCB error macros to use current naming.
Add -lxcb-xtest to Linux Makefile.

Indentation of multi-line statements should be 4 spaces.

Remove EOL whitespace.
2012-07-21 05:59:28 +08:00
Reginald Kennedy
e5e36a7e1d Fix linux Makefile.
Some whitespace.
2012-07-21 05:59:28 +08:00
Reginald Kennedy
90f1696b7a Update code to compile against XCB util-wm >= 0.3.8
XCB ICCCM public functions, types and macros are now prefixed.
A temporary fix has been added for OpenBSD.  Needs improvement.

Resolve a variable naming conflict.

Set num_screens in unmap_all.

In workaround(), utf8_string should be netwmname, not netwmcheck.

Initialize some uninitialized pointers.

Update debug printf format to reflect new xcb variable types.

Vacuum up whitespace.

Add XCB libs to linux Makefile
2012-07-21 05:58:31 +08:00
Marco Peereboom
ba542eb493 remove ggdb3 2012-06-23 10:00:47 -05:00
Marco Peereboom
bec4acf876 make buildversion optional, from drahn 2012-02-17 10:07:06 -06:00
Marco Peereboom
1e065dd313 better fix from davec 2012-02-17 09:53:50 -06:00
Marco Peereboom
732f22de72 attempt to print the git version in the version string 2012-02-17 09:50:21 -06:00
Marco Peereboom
ce26d85ef8 ln spectrwm to scrotwm for now 2012-02-15 17:39:14 -06:00
Marco Peereboom
e83f3b7908 rename scrotwm to spectrwm 2012-02-15 14:09:13 -06:00
Niclas Zeising
c4467452a2 Clean up properly in linux/Makefile.
ok marco
2012-01-23 21:03:41 -05:00
Lawrence Teo
a628bd8eed let scrotwm build on Linux again
ok marco
2011-11-01 22:59:54 -04:00
Marco Peereboom
8eb6cfee63 kill cvs tags 2011-10-25 15:54:39 -05:00
Marco Peereboom
8e2b81c30c add -lXtst here too 2011-08-10 13:44:36 +00:00
Marco Peereboom
aaee1e4644 Add portugese from Alicornio <alicornio@ig.com.br>
Update engrish man page while at it.
2010-09-16 02:00:51 +00:00
Marco Peereboom
bd9d120876 Make compile in cygwin 2010-01-11 20:44:54 +00:00
Marco Peereboom
b9d28b5c06 Make linux makefile work nicer; from Tobias Ulmer <tobiasu@tmux.org> 2009-09-17 02:22:52 +00:00
Marco Peereboom
7a67c7b461 Not sure if this works but at least has a fighting chance. 2009-02-08 04:10:00 +00:00
Marco Peereboom
d3af2be74b Add linux goo; from NicM 2009-01-22 23:12:27 +00:00