]> arthur.barton.de Git - ngircd-alex.git/blob - Makefile.am
Fixed "xcode" make target (used to build ngIRCd with Mac OS X Xcode)
[ngircd-alex.git] / Makefile.am
1 #
2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2008 Alexander Barton (alex@barton.de)
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 # Please read the file COPYING, README and AUTHORS for more information.
10 #
11
12 AUTOMAKE_OPTIONS = gnu
13
14 SUBDIRS = doc src man contrib
15
16 clean-local:
17         rm -f build-stamp*
18
19 maintainer-clean-local:
20         rm -rf autom4te.cache
21         rm -f Makefile.in Makefile aclocal.m4 configure
22         rm -f mkinstalldirs missing depcomp install-sh
23         rm -f config.log debian
24
25 lint:
26         make -C src/ngircd lint
27
28 srcdoc:
29         make -C doc srcdoc
30
31 xcode:
32         @xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -list \
33          >/dev/null 2>&1 \
34          || ( echo; echo "Error: \"xcodebuild\" not found!"; echo; exit 1 )
35         xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
36          -buildstyle Development
37
38 rpm: distcheck
39         rpm -ta ngircd-*.tar.gz
40
41 deb:
42         [ -f debian/rules ] || ln -s contrib/Debian debian
43         dpkg-buildpackage -rfakeroot
44
45 # -eof-