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
|
2005-08-14 17:04:45 +00:00
|
|
|
LIBS += -framework IOKit -framework Foundation -framework ScreenSaver -framework Cocoa
|
2005-08-13 22:58:54 +00:00
|
|
|
mac_sources = mac/SystemMenu.m \
|
|
|
|
mac/mac_saver_module.cpp \
|
|
|
|
mac/Mac_Saver_ModuleView.m \
|
|
|
|
mac/MacSysMenu.cpp
|
|
|
|
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 \
|
|
|
|
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 \
|
2005-06-21 17:54:10 +00:00
|
|
|
DlgAccountManagerSignup.cpp \
|
|
|
|
DlgAccountManagerStatus.cpp \
|
2005-06-29 05:21:47 +00:00
|
|
|
DlgDialupCredentials.cpp \
|
2004-09-28 02:46:57 +00:00
|
|
|
DlgAttachProject.cpp \
|
|
|
|
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 \
|
|
|
|
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-07-22 06:56:34 +00:00
|
|
|
WizAttachProject.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
|
|
|
|
2004-11-23 12:54:33 +00:00
|
|
|
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
|
|
|
|
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)
|
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-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
|