2004-09-28 02:46:57 +00:00
|
|
|
## -*- mode: make; tab-width: 4 -*-
|
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
|
|
|
# by default, "-static -static-libgcc" on linux.
|
|
|
|
#STATIC_FLAGS=@STATIC_FLAGS@
|
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
bin_PROGRAMS = boinc_gui
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
boinc_gui_SOURCES = \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCBaseView.cpp \
|
|
|
|
BOINCGUIApp.cpp \
|
|
|
|
BOINCListCtrl.cpp \
|
|
|
|
BOINCTaskCtrl.cpp \
|
|
|
|
DlgAbout.cpp \
|
|
|
|
DlgAttachProject.cpp \
|
|
|
|
DlgConnection.cpp \
|
|
|
|
DlgOptions.cpp \
|
|
|
|
MainDocument.cpp \
|
|
|
|
MainFrame.cpp \
|
|
|
|
stdwx.cpp \
|
|
|
|
ValidateAccountKey.cpp \
|
|
|
|
ValidateURL.cpp \
|
|
|
|
ViewMessages.cpp \
|
|
|
|
ViewProjects.cpp \
|
|
|
|
ViewResources.cpp \
|
|
|
|
ViewTransfers.cpp \
|
|
|
|
ViewWork.cpp \
|
|
|
|
../lib/gui_rpc_client.C \
|
|
|
|
../lib/filesys.C \
|
|
|
|
../lib/mfile.C \
|
|
|
|
../lib/miofile.C \
|
|
|
|
../lib/parse.C \
|
2005-01-02 18:20:36 +00:00
|
|
|
../lib/util.C \
|
2005-01-02 18:33:47 +00:00
|
|
|
../lib/md5_file.C \
|
2005-01-02 19:26:39 +00:00
|
|
|
../lib/md5.c
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2004-11-26 17:45:13 +00:00
|
|
|
EXTRA_DIST = BOINCBaseView.h DlgAttachProject.h ValidateAccountKey.h ViewWork.h \
|
|
|
|
BOINCGUIApp.h DlgConnection.h ValidateURL.h _wx_intellisense.h \
|
|
|
|
BOINCListCtrl.h DlgOptions.h ViewMessages.h resource.h \
|
|
|
|
BOINCTaskBar.h Events.h ViewProjects.h stdwx.h \
|
|
|
|
BOINCTaskCtrl.h MainDocument.h ViewResources.h \
|
|
|
|
DlgAbout.h MainFrame.h ViewTransfers.h \
|
|
|
|
res msw locale
|
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
|
|
|
|
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)
|
|
|
|
boinc_gui_LDADD = $(PTHREAD_LIBS) $(WX_LIBS) $(CLIENTGUILIBS)
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
all-local: client_gui-bin
|
|
|
|
client_gui-bin: @CLIENT_GUI_BIN_FILENAME@
|
2004-09-28 02:46:57 +00:00
|
|
|
|
|
|
|
win_config.h: $(top_srcdir)/config.h
|
|
|
|
grep '#define.*BOINC.*VERSION' $^ > $@
|
|
|
|
|
|
|
|
version: win_config.h
|
|
|
|
|
|
|
|
# make a hard link to the client name.
|
2004-11-23 12:54:33 +00:00
|
|
|
@CLIENT_GUI_BIN_FILENAME@: boinc_gui
|
2004-09-28 02:46:57 +00:00
|
|
|
rm -f $@
|
|
|
|
ln $? $@
|
|
|
|
|
|
|
|
clean-local:
|
2004-11-23 12:54:33 +00:00
|
|
|
rm -f @CLIENT_GUI_BIN_FILENAME@
|
2004-09-28 02:46:57 +00:00
|
|
|
|
|
|
|
.PHONY: version
|