boinc/clientgui/Makefile.am

133 lines
3.1 KiB
Makefile
Raw Normal View History

## -*- mode: makefile; tab-width: 4 -*-
## $Id$
include $(top_srcdir)/Makefile.incl
LIBS += @CLIENTLIBS@
if OS_DARWIN
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa -framework Security
mac_sources = mac/SystemMenu.m \
mac/mac_saver_module.cpp \
mac/Mac_Saver_ModuleView.m \
mac/MacSysMenu.cpp \
mac/Mac_GUI.cpp\
2007-04-17 09:11:31 +00:00
mac/browser_safari.mm
mac_headers = mac/*.h
else
mac_headers =
mac_sources =
endif
bin_PROGRAMS = boinc_gui
# keep the following alphabetic
boinc_gui_SOURCES = \
AccountInfoPage.cpp \
AccountManagerInfoPage.cpp \
AccountManagerProcessingPage.cpp \
AccountManagerPropertiesPage.cpp \
AdvancedFrame.cpp \
AlreadyAttachedPage.cpp \
AlreadyExistsPage.cpp \
AsyncRPC.cpp \
BOINCBaseFrame.cpp \
BOINCBaseView.cpp \
BOINCBaseWizard.cpp \
BOINCClientManager.cpp \
BOINCDialupManager.cpp \
BOINCGUIApp.cpp \
BOINCListCtrl.cpp \
BOINCTaskBar.cpp \
BOINCTaskCtrl.cpp \
browser.cpp \
CompletionErrorPage.cpp \
CompletionPage.cpp \
common/wxPieCtrl.cpp \
common/wxFlatNotebook.cpp \
DlgAbout.cpp \
DlgAdvPreferences.cpp \
DlgAdvPreferencesBase.cpp \
DlgExitMessage.cpp \
DlgGenericMessage.cpp \
DlgItemProperties.cpp \
DlgOptions.cpp \
DlgSelectComputer.cpp \
hyperlink.cpp \
LogBOINC.cpp \
MainDocument.cpp \
NoInternetConnectionPage.cpp \
NotDetectedPage.cpp \
NotFoundPage.cpp \
ProjectInfoPage.cpp \
ProjectListCtrl.cpp \
ProjectProcessingPage.cpp \
ProjectPropertiesPage.cpp \
ProxyInfoPage.cpp \
ProxyPage.cpp \
sg_BoincSimpleGUI.cpp \
sg_ClientStateIndicator.cpp \
sg_CustomControls.cpp \
sg_DlgMessages.cpp \
sg_DlgPreferences.cpp \
sg_ImageButton.cpp \
sg_ImageLoader.cpp \
sg_ProgressBar.cpp \
sg_ProjectsComponent.cpp \
sg_SGUIListControl.cpp \
sg_StatImageLoader.cpp \
sg_ViewTabPage.cpp \
SkinManager.cpp \
stdwx.cpp \
TermsOfUsePage.cpp \
UnavailablePage.cpp \
ValidateAccountKey.cpp \
ValidateEmailAddress.cpp \
ValidateURL.cpp \
ViewMessages.cpp \
ViewProjects.cpp \
ViewResources.cpp \
ViewStatistics.cpp \
ViewTransfers.cpp \
ViewWork.cpp \
WelcomePage.cpp \
WizardAccountManager.cpp \
WizardAttachProject.cpp \
wizardex.cpp \
$(mac_sources)
EXTRA_DIST = *.h \
res \
msw \
../lib/error_numbers.h \
locale $(mac_headers)
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)
boinc_gui_LDADD = $(LIBBOINC) $(CLIENTGUILIBS)
all-local: client_gui-bin
client_gui-bin: @CLIENT_GUI_BIN_FILENAME@
win_config.h: $(top_srcdir)/config.h
grep '#define.*BOINC.*VERSION' $^ > $@
version: win_config.h
# make a hard link to the client name.
@CLIENT_GUI_BIN_FILENAME@: boinc_gui
rm -f $@
rm -f $@.unmodified
cp $? $@.unmodified
@LN@ $? $@
@STRIP@ $@
clean-local:
rm -f @CLIENT_GUI_BIN_FILENAME@
rm -f @CLIENT_GUI_BIN_FILENAME@.unmodified
.PHONY: version