boinc/Makefile.am
David Anderson 5a1e97c349 - Unix build system: build samples/example_app/,
and change the samples/ makefiles so that they automatically
    create the symbolic link to libstdc++.a
    Fixes #725

svn path=/trunk/boinc/; revision=16129
2008-10-04 18:51:38 +00:00

53 lines
1.3 KiB
Makefile

## -*- mode: makefile; tab-width: 4 -*-
## $Id$
AUTOMAKE_OPTIONS = foreign
## make sure rebuilding uses the right aclocal-switches
ACLOCAL_AMFLAGS = -I m4
API_SUBDIRS = api lib zip
if ENABLE_SERVER
SERVER_SUBDIRS = db test py sched apps tools samples/example_app
endif
if ENABLE_CLIENT
CLIENT_SUBDIRS = client client/scripts
endif
if BUILD_CLIENTGUI
CLIENTGUI_SUBDIRS = clientgui clientgui/res locale/client
endif
# ORDER MATTERS below. One must build dependencies FIRST, then things
# that depend on them later
SUBDIRS = m4 $(API_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS) $(CLIENTGUI_SUBDIRS) doc
# Putting a directory name recursively copies the entire contents - the
# dist-hook below gets rid of CVS directories.
EXTRA_DIST = \
win_build \
doc \
stripchart \
INSTALL
pkginclude_HEADERS = \
config.h \
version.h
# Add a stage target for staging a distribution
clean-generic:
rm -rf stage
stage: all
if [ ! -d stage ] ; then mkdir stage ; fi
rm -rf stage/*
$(MAKE) DESTDIR=$(PWD)/stage install
dist-hook:
rm -rf `find $(distdir) -name .backup -prune -o -name '*~' -o -name CVS`
# cd $(distdir) && ./_autosetup