12 Commits

Author SHA1 Message Date
Philippe Pepiot
54687912c5 Old build system can still be used 2011-07-27 14:15:40 +02:00
David Demelier
c628970c60 Buildsystem: Switching home-made configure to BSDBuild 2011-05-01 13:03:29 +02:00
Philippe Pepiot
12aa86e914 build system: add a target dist to makefile
Generate a tarbal for wmfs with make dist
Version set to date +%Y%m in setlocalversion

Move .PHONY BEFORE phony targets

Signed-off-by: Philippe Pepiot <phil@philpep.org>
2011-04-16 21:36:27 +02:00
Philippe Pepiot
e57a6c5e62 build system: add setlocalversion
Version is built from git commit id, for example wmfs-ga33ec04-dirty
-> 'g', this is a git repo
-> a33ec04 is the beginning of the commit id (sha1)
-> dirty mean that there is uncommitted changes

wmfs users gives their 'wmfs -v' and developers can easily identify wmfs
version.

Move status.sh to scripts/ with setlocalversion

Signed-off-by: Philippe Pepiot <phil@philpep.org>
2011-04-16 20:52:28 +02:00
Clément Bœsch
f5134bd6b3 Option -W is deprecated; -Wextra is its replacement 2011-02-23 21:53:40 +01:00
Brian Mock
3be59059f4 Shading seems to work, still need to add config 2011-02-22 12:35:42 -08:00
Philippe Pepiot
d606f999f9 Add distclean target (clean && remove Makefile) 2010-12-07 00:30:36 +01:00
Philippe Pepiot
9e457b3832 Remove glibc stuffs, wmfs is not ansi C that's a fact 2010-12-06 23:49:42 +01:00
Philippe Pepiot
82b17ea02f Improve allocating system and integrate parser
emalloc remplaced with xcalloc/xmalloc/xrealloc
and easy wrappers for strings zmalloc/zcalloc/zrealloc
 - exit on fail
 - prevent size_t overflow

Integrate parser in src/
2010-11-19 16:42:14 +01:00
Philippe Pepiot
c7b2d98303 BuildSystem: fix XDG_CONFIG_DIR issue 2010-11-19 14:35:35 +01:00
Philippe Pepiot
c2664e8e85 wmfs compile with -W -Wall -Wextra (TODO: fix types !!) 2010-11-17 02:27:15 +01:00
Philippe Pepiot
6bd0175db0 BuildSystem: complete rewrite
Should compile properly on Linux, FreeBSD, OpenBSD and NetBSD
2010-11-16 13:09:40 +01:00