Oops -- modifications ONLY needed for OSX!

svn path=/trunk/boinc/; revision=7318
This commit is contained in:
Bruce Allen 2005-08-13 22:58:54 +00:00
parent c149edae2d
commit bd3d839b57
1 changed files with 12 additions and 8 deletions

View File

@ -5,8 +5,17 @@ include $(top_srcdir)/Makefile.incl
LIBS += @CLIENTLIBS@ LIBS += @CLIENTLIBS@
if OS_DARWIN if OS_DARWIN
LIBS+=-framework foundation -framework iokit -framework screensaver LIBS += -framework foundation -framework iokit -framework screensaver
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 =
endif endif
bin_PROGRAMS = boinc_gui bin_PROGRAMS = boinc_gui
@ -37,17 +46,12 @@ boinc_gui_SOURCES = \
ViewTransfers.cpp \ ViewTransfers.cpp \
ViewWork.cpp \ ViewWork.cpp \
WizAttachProject.cpp \ WizAttachProject.cpp \
hyperlink.cpp \ hyperlink.cpp $(mac_sources)
mac/SystemMenu.m \
mac/mac_saver_module.cpp \
mac/Mac_Saver_ModuleView.m \
mac/MacSysMenu.cpp
EXTRA_DIST = *.h \ EXTRA_DIST = *.h \
res \ res \
msw \ msw \
locale \ locale $(mac_headers)
mac/*.h
boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS) boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS)
boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS) boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)