From bd3d839b57c4cbd2a9630fc3785b5956c5763792 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Sat, 13 Aug 2005 22:58:54 +0000 Subject: [PATCH] Oops -- modifications ONLY needed for OSX! svn path=/trunk/boinc/; revision=7318 --- clientgui/Makefile.am | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/clientgui/Makefile.am b/clientgui/Makefile.am index 27fe651be3..5008398a78 100644 --- a/clientgui/Makefile.am +++ b/clientgui/Makefile.am @@ -5,8 +5,17 @@ include $(top_srcdir)/Makefile.incl LIBS += @CLIENTLIBS@ + 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 bin_PROGRAMS = boinc_gui @@ -37,17 +46,12 @@ boinc_gui_SOURCES = \ ViewTransfers.cpp \ ViewWork.cpp \ WizAttachProject.cpp \ - hyperlink.cpp \ - mac/SystemMenu.m \ - mac/mac_saver_module.cpp \ - mac/Mac_Saver_ModuleView.m \ - mac/MacSysMenu.cpp + hyperlink.cpp $(mac_sources) EXTRA_DIST = *.h \ res \ msw \ - locale \ - mac/*.h + locale $(mac_headers) boinc_gui_CPPFLAGS = $(AM_CPPFLAGS) $(WX_CPPFLAGS) $(CLIENTGUIFLAGS) boinc_gui_CXXFLAGS = $(AM_CXXFLAGS) $(WX_CXXFLAGS) $(CLIENTGUIFLAGS)