2008-06-08 22:18:52 +00:00
|
|
|
## -*- mode: makefile; tab-width: 4 -*-
|
2004-09-28 02:46:57 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
if ENABLE_CLIENT_RELEASE
|
|
|
|
AM_LDFLAGS += -static-libtool-libs
|
2009-01-16 00:24:44 +00:00
|
|
|
## for an entirely statically linked library, you may want to try
|
|
|
|
## -all-static instead. There's a good chance it won't work properly,
|
|
|
|
## so we'll use the safer "-static-libtool-libs" by default.
|
|
|
|
else
|
|
|
|
if DYNAMIC_CLIENT
|
|
|
|
## if libtool starts to need flags for dynamic linking, add them here
|
|
|
|
else
|
|
|
|
AM_LDFLAGS += -static
|
2009-01-13 23:06:02 +00:00
|
|
|
endif
|
2009-01-16 00:24:44 +00:00
|
|
|
endif ## ENABLE_CLIENT_RELEASE
|
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 \
|
2011-01-31 09:58:34 +00:00
|
|
|
mac/MacBitmapComboBox.cpp \
|
2006-01-30 13:19:32 +00:00
|
|
|
mac/MacSysMenu.cpp \
|
2007-04-12 00:05:52 +00:00
|
|
|
mac/Mac_GUI.cpp\
|
2007-04-17 09:11:31 +00:00
|
|
|
mac/browser_safari.mm
|
2006-01-30 13:19:32 +00:00
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
mac_headers = mac/*.h
|
2005-08-13 22:58:54 +00:00
|
|
|
else
|
|
|
|
mac_headers =
|
|
|
|
mac_sources =
|
2005-08-13 22:17:35 +00:00
|
|
|
endif
|
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
bin_PROGRAMS = boincmgr
|
2004-09-28 02:46:57 +00:00
|
|
|
|
2007-03-23 20:06:55 +00:00
|
|
|
# keep the following alphabetic
|
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
boincmgr_SOURCES = \
|
2007-03-23 20:06:55 +00:00
|
|
|
AccountInfoPage.cpp \
|
|
|
|
AccountManagerInfoPage.cpp \
|
|
|
|
AccountManagerProcessingPage.cpp \
|
|
|
|
AccountManagerPropertiesPage.cpp \
|
|
|
|
AdvancedFrame.cpp \
|
|
|
|
AlreadyExistsPage.cpp \
|
2008-07-22 13:26:52 +00:00
|
|
|
AsyncRPC.cpp \
|
2006-07-27 01:44:25 +00:00
|
|
|
BOINCBaseFrame.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCBaseView.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
BOINCBaseWizard.cpp \
|
2011-11-03 02:35:04 +00:00
|
|
|
BOINCBitmapComboBox.cpp \
|
2008-01-31 23:43:37 +00:00
|
|
|
BOINCClientManager.cpp \
|
2006-03-28 07:45:27 +00:00
|
|
|
BOINCDialupManager.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCGUIApp.cpp \
|
2010-08-15 21:07:44 +00:00
|
|
|
BOINCHtmlLBox.cpp \
|
2010-07-06 19:35:24 +00:00
|
|
|
BOINCInternetFSHandler.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCListCtrl.cpp \
|
2005-08-02 22:05:46 +00:00
|
|
|
BOINCTaskBar.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
BOINCTaskCtrl.cpp \
|
2010-08-15 21:07:44 +00:00
|
|
|
BOINCVListBox.cpp \
|
2008-10-03 05:13:25 +00:00
|
|
|
browser.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
CompletionErrorPage.cpp \
|
|
|
|
CompletionPage.cpp \
|
|
|
|
common/wxPieCtrl.cpp \
|
2007-01-02 15:52:58 +00:00
|
|
|
DlgAbout.cpp \
|
2007-01-17 18:17:03 +00:00
|
|
|
DlgAdvPreferences.cpp \
|
|
|
|
DlgAdvPreferencesBase.cpp \
|
2009-12-21 13:50:26 +00:00
|
|
|
DlgEventLog.cpp \
|
|
|
|
DlgEventLogListCtrl.cpp \
|
2008-11-04 20:44:44 +00:00
|
|
|
DlgExitMessage.cpp \
|
2006-01-23 11:30:25 +00:00
|
|
|
DlgGenericMessage.cpp \
|
2008-07-07 20:11:04 +00:00
|
|
|
DlgItemProperties.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
DlgOptions.cpp \
|
2005-03-31 19:01:44 +00:00
|
|
|
DlgSelectComputer.cpp \
|
2010-02-06 07:54:46 +00:00
|
|
|
gtk/taskbarex.cpp \
|
2005-02-01 00:54:06 +00:00
|
|
|
LogBOINC.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
MainDocument.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
NoInternetConnectionPage.cpp \
|
|
|
|
NotDetectedPage.cpp \
|
|
|
|
NotFoundPage.cpp \
|
2010-07-06 19:35:24 +00:00
|
|
|
NoticeListCtrl.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
ProjectInfoPage.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
ProjectListCtrl.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
ProjectProcessingPage.cpp \
|
|
|
|
ProjectPropertiesPage.cpp \
|
2005-11-29 09:26:36 +00:00
|
|
|
ProxyInfoPage.cpp \
|
2005-10-03 23:14:39 +00:00
|
|
|
ProxyPage.cpp \
|
2011-01-31 09:58:34 +00:00
|
|
|
sg_BoincSimpleFrame.cpp \
|
2006-12-20 03:45:52 +00:00
|
|
|
sg_CustomControls.cpp \
|
|
|
|
sg_DlgMessages.cpp \
|
|
|
|
sg_DlgPreferences.cpp \
|
2011-01-31 09:58:34 +00:00
|
|
|
sg_PanelBase.cpp \
|
|
|
|
sg_ProjectCommandPopup.cpp \
|
|
|
|
sg_ProjectPanel.cpp \
|
|
|
|
sg_ProjectWebSitesPopup.cpp \
|
|
|
|
sg_TaskCommandPopup.cpp \
|
|
|
|
sg_TaskPanel.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
SkinManager.cpp \
|
|
|
|
stdwx.cpp \
|
2008-11-26 17:48:58 +00:00
|
|
|
TermsOfUsePage.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
UnavailablePage.cpp \
|
|
|
|
ValidateAccountKey.cpp \
|
|
|
|
ValidateEmailAddress.cpp \
|
|
|
|
ValidateURL.cpp \
|
2010-01-12 18:57:38 +00:00
|
|
|
ViewNotices.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
ViewProjects.cpp \
|
|
|
|
ViewResources.cpp \
|
|
|
|
ViewStatistics.cpp \
|
|
|
|
ViewTransfers.cpp \
|
|
|
|
ViewWork.cpp \
|
|
|
|
WelcomePage.cpp \
|
2010-08-09 19:57:28 +00:00
|
|
|
WizardAttach.cpp \
|
2007-03-23 20:06:55 +00:00
|
|
|
wizardex.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
|
|
|
|
2011-01-15 08:11:21 +00:00
|
|
|
boincmgr_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(SQLITE3_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS) `pkg-config --cflags gtk+-2.0`
|
|
|
|
boincmgr_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(SQLITE3_CPPFLAGS) $(LIBNOTIFY_CFLAGS) $(CLIENTGUIFLAGS) `pkg-config --cflags gtk+-2.0`
|
|
|
|
boincmgr_LDFLAGS = $(LIBBOINC) $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS) $(CLIENTGUILIBS) $(BOINC_EXTRA_LIBS) $(CLIENTLIBS) `pkg-config --libs gtk+-2.0` -lnotify
|
2004-09-28 02:46:57 +00:00
|
|
|
|
|
|
|
win_config.h: $(top_srcdir)/config.h
|
|
|
|
grep '#define.*BOINC.*VERSION' $^ > $@
|
|
|
|
|
|
|
|
version: win_config.h
|
|
|
|
|
|
|
|
.PHONY: version
|