compile fixes for Mac OSX. The autoconf/automake framework

now works again to build client and clientgui.

svn path=/trunk/boinc/; revision=7316
This commit is contained in:
Bruce Allen 2005-08-13 22:17:35 +00:00
parent eb8bb52e9b
commit c149edae2d
4 changed files with 26 additions and 3 deletions

View File

@ -10550,3 +10550,13 @@ David 13 Aug 2005
clientgui
ViewWork.cpp
Bruce 13 Aug 2005
- compile fixes for Mac OSX. The autoconf/automake framework
now works again to build client and clientgui.
client/
Makefile.am
clientgui/
Makefile.am
BOINCGUIApp.h

View File

@ -11,6 +11,10 @@ client-bin: @CLIENT_BIN_FILENAME@
LIBS += @CLIENTLIBS@
if OS_DARWIN
LIBS+=-framework corefoundation -framework iokit
endif
bin_PROGRAMS = boinc_client
EXTRA_PROGRAMS = cpu_benchmark

View File

@ -29,7 +29,7 @@
#include "BOINCTaskBar.h" // Must be included before MainDocument.h
#ifdef __APPLE__
#include "MacSysMenu.h" // Must be included before MainDocument.h
#include "mac/MacSysMenu.h" // Must be included before MainDocument.h
#endif
#include "MainDocument.h"

View File

@ -5,6 +5,10 @@ include $(top_srcdir)/Makefile.incl
LIBS += @CLIENTLIBS@
if OS_DARWIN
LIBS+=-framework foundation -framework iokit -framework screensaver
endif
bin_PROGRAMS = boinc_gui
boinc_gui_SOURCES = \
@ -33,12 +37,17 @@ boinc_gui_SOURCES = \
ViewTransfers.cpp \
ViewWork.cpp \
WizAttachProject.cpp \
hyperlink.cpp
hyperlink.cpp \
mac/SystemMenu.m \
mac/mac_saver_module.cpp \
mac/Mac_Saver_ModuleView.m \
mac/MacSysMenu.cpp
EXTRA_DIST = *.h \
res \
msw \
locale
locale \
mac/*.h
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)