1# Toplevel qmake .pro file. Create a Makefile from this with
2#
3#     qmake
4#
5# Then build the program with
6#
7#     make
8#
9# Then install it with
10#
11#     sudo make install
12#
13# By default, everyting is installed to /usr.
14# If you want to install to, say, /usr/local, set INSTALL_PREFIX:
15#
16#     qmake INSTALL_PREFIX=/usr/local
17
18TEMPLATE = subdirs
19CONFIG  += ordered
20
21SUBDIRS  = src scripts doc doc/stats man
22
23macx {
24    # FIXME: Prevent build failure because of missing main() (issue #131)
25    # This is a pretty radical approach, and you won't get any of the scripts
26    # or any of the documentation on MacOS X; but it works.
27    #
28    # If anybody with good MacOS X know-how has a better idea that is still
29    # robust enough to prevent that same build failure to reappear, please open
30    # a pull request.
31
32    SUBDIRS = src
33}
34