2004-09-28 02:46:57 +00:00
|
|
|
## -*- mode: make; tab-width: 4 -*-
|
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2005-01-27 00:58:16 +00:00
|
|
|
LIBS += @CLIENTLIBS@
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2005-08-13 22:58:54 +00:00
|
|
|
|
2005-08-13 22:17:35 +00:00
|
|
|
if OS_DARWIN
|
2006-01-30 13:19:32 +00:00
|
|
|
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa -framework Security
|
2005-08-13 22:58:54 +00:00
|
|
|
mac_sources = mac/SystemMenu.m \
|
|
|
|
mac/mac_saver_module.cpp \
|
|
|
|
mac/Mac_Saver_ModuleView.m \
|
2006-01-30 13:19:32 +00:00
|
|
|
mac/MacSysMenu.cpp \
|
|
|
|
mac/Mac_GUI.cpp
|
|
|
|
|
2005-08-13 22:58:54 +00:00
|
|
|
mac_headers = mac/*.h
|
|
|
|
else
|
|
|
|
mac_headers =
|
|
|
|
mac_sources =
|
2005-08-13 22:17:35 +00:00
|
|
|
endif
|
|
|
|
|
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 \
|
2006-03-28 07:45:27 +00:00
|
|
|
BOINCDialupManager.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCGUIApp.cpp \
|
|
|
|
BOINCListCtrl.cpp \
|
2005-08-02 22:05:46 +00:00
|
|
|
BOINCTaskBar.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCTaskCtrl.cpp \
|
|
|
|
DlgAbout.cpp \
|
2006-01-23 11:30:25 +00:00
|
|
|
DlgGenericMessage.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
DlgOptions.cpp \
|
2005-03-31 19:01:44 +00:00
|
|
|
DlgSelectComputer.cpp \
|
2005-02-01 00:54:06 +00:00
|
|
|
LogBOINC.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
MainDocument.cpp \
|
|
|
|
MainFrame.cpp \
|
|
|
|
stdwx.cpp \
|
|
|
|
ValidateAccountKey.cpp \
|
2006-01-24 11:27:26 +00:00
|
|
|
ValidateEmailAddress.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
ValidateURL.cpp \
|
|
|
|
ViewMessages.cpp \
|
|
|
|
ViewProjects.cpp \
|
|
|
|
ViewResources.cpp \
|
2005-04-04 18:55:42 +00:00
|
|
|
ViewStatistics.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
ViewTransfers.cpp \
|
2005-04-11 07:06:52 +00:00
|
|
|
ViewWork.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
AccountInfoPage.cpp \
|
|
|
|
AccountKeyPage.cpp \
|
|
|
|
AccountManagerInfoPage.cpp \
|
|
|
|
AccountManagerProcessingPage.cpp \
|
|
|
|
AccountManagerPropertiesPage.cpp \
|
|
|
|
AlreadyAttachedPage.cpp \
|
|
|
|
AlreadyExistsPage.cpp \
|
|
|
|
BOINCBaseWizard.cpp \
|
|
|
|
CompletionErrorPage.cpp \
|
|
|
|
CompletionPage.cpp \
|
|
|
|
NoInternetConnectionPage.cpp \
|
|
|
|
NotDetectedPage.cpp \
|
|
|
|
NotFoundPage.cpp \
|
|
|
|
ProjectInfoPage.cpp \
|
|
|
|
ProjectProcessingPage.cpp \
|
|
|
|
ProjectPropertiesPage.cpp \
|
2005-11-29 09:26:36 +00:00
|
|
|
ProxyInfoPage.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
ProxyPage.cpp \
|
|
|
|
UnavailablePage.cpp \
|
|
|
|
WelcomePage.cpp \
|
|
|
|
WizardAccountManager.cpp \
|
|
|
|
WizardAttachProject.cpp \
|
|
|
|
wizardex.cpp \
|
2005-08-13 22:58:54 +00:00
|
|
|
hyperlink.cpp $(mac_sources)
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2005-03-31 19:01:44 +00:00
|
|
|
EXTRA_DIST = *.h \
|
2005-03-13 23:20:33 +00:00
|
|
|
res \
|
|
|
|
msw \
|
2005-08-14 00:13:39 +00:00
|
|
|
../lib/error_numbers.h \
|
2005-08-13 22:58:54 +00:00
|
|
|
locale $(mac_headers)
|
2004-11-26 17:45:13 +00:00
|
|
|
|
2005-09-26 21:53:27 +00:00
|
|
|
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS) -I../wizards
|
|
|
|
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS) -I../wizards
|
2005-05-01 05:18:07 +00:00
|
|
|
boinc_gui_LDADD = -L../lib -lboinc $(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 $@
|
2005-08-31 23:20:51 +00:00
|
|
|
rm -f $@.unmodified
|
|
|
|
cp $? $@.unmodified
|
2005-08-03 00:30:40 +00:00
|
|
|
@LN@ $? $@
|
|
|
|
@STRIP@ $@
|
2004-09-28 02:46:57 +00:00
|
|
|
|
|
|
|
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
|