2004-06-18 09:05:15 +00:00
|
|
|
## -*- mode: make; tab-width: 4 -*-
|
2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
2003-06-11 22:42:39 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
API_SUBDIRS = api lib boincglut apps zip
|
2004-10-18 01:54:28 +00:00
|
|
|
|
2004-06-29 08:51:54 +00:00
|
|
|
if ENABLE_SERVER
|
2004-11-19 13:50:51 +00:00
|
|
|
SERVER_SUBDIRS = db tools test py sched
|
2004-06-29 08:51:54 +00:00
|
|
|
endif
|
|
|
|
|
2004-07-13 10:36:18 +00:00
|
|
|
if ENABLE_CLIENT
|
2004-11-19 13:50:51 +00:00
|
|
|
CLIENT_SUBDIRS = client
|
|
|
|
endif
|
|
|
|
if BUILD_CLIENTGUI
|
|
|
|
CLIENTGUI_SUBDIRS = clientgui
|
2004-07-13 10:36:18 +00:00
|
|
|
endif
|
|
|
|
|
2004-11-19 13:50:51 +00:00
|
|
|
SUBDIRS = RSAEuro $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS) $(CLIENTGUI_SUBDIRS) $(API_SUBDIRS)
|
2003-06-06 20:55:08 +00:00
|
|
|
|
|
|
|
# Putting a directory name recursively copies the entire contents - the
|
|
|
|
# dist-hook below gets rid of CVS directories.
|
|
|
|
|
2004-06-18 09:05:15 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
win_build \
|
|
|
|
doc \
|
|
|
|
stripchart \
|
2004-05-05 18:43:41 +00:00
|
|
|
INSTALL
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2004-03-12 21:47:08 +00:00
|
|
|
py:
|
|
|
|
[ "$(srcdir)" != . ] && rm -f $@ && $(LN_S) $(srcdir)/$@ $@
|
2003-07-18 21:43:12 +00:00
|
|
|
|
2004-03-12 21:47:08 +00:00
|
|
|
UNIX2DOS=unix2dos
|
|
|
|
UNIX2DOSDIR = /disks/philmor/a/users/quarl/bin
|
2003-07-18 21:43:12 +00:00
|
|
|
|
2004-03-13 01:30:07 +00:00
|
|
|
# UNIX2DOS = /disks/philmor/a/users/quarl/bin/unix2dos
|
2003-12-19 00:02:58 +00:00
|
|
|
|
2003-06-06 20:55:08 +00:00
|
|
|
dist-hook:
|
2004-03-12 21:47:08 +00:00
|
|
|
rm -rf `find $(distdir) -name .backup -prune -o -name '*~'`
|
|
|
|
PATH=$PATH:$UNIX2DOSDIR cd $(distdir)/win_build && $(UNIX2DOS) boinc.dsw *.dsp
|
2004-11-08 05:03:44 +00:00
|
|
|
cd $(distdir) && ./_autosetup
|
2003-07-11 21:22:34 +00:00
|
|
|
|
|
|
|
client-bin:
|
|
|
|
cd client && make client-bin client-bin-gz
|