diff --git a/clientgui/Makefile.linux.fedora b/clientgui/Makefile.linux.fedora new file mode 100644 index 0000000000..fd4a9ea11c --- /dev/null +++ b/clientgui/Makefile.linux.fedora @@ -0,0 +1,102 @@ +## Berkeley Open Infrastructure for Network Computing +## http://boinc.berkeley.edu +## Copyright (C) 2005 University of California +## +## This is free software; you can redistribute it and/or +## modify it under the terms of the GNU Lesser General Public +## License as published by the Free Software Foundation; +## either version 2.1 of the License, or (at your option) any later version. +## +## This software is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +## See the GNU Lesser General Public License for more details. +## +## To view the GNU Lesser General Public License visit +## http://www.gnu.org/copyleft/lesser.html +## or write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +## Provide a specially constructed binary for the Linux Fedora environment +## using GTK 2.x and wxWidgets. This should produce a stock client for Fedora +## 5 or better and is intended to be built with the BOINC-Build-Fedora +## virtual machine +## + +CXX=g++ -g +CXXFLAGS=-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA +CXXINCLUDES=-I../ -I../lib/ -I/usr/local/lib/wx/include/gtk2-unicode-release-static-2.6 -I/usr/local/include/wx-2.6 + +stdwx.h.gch: stdwx.h + $(CXX) $(CXXINCLUDES) $(CXXFLAGS) -c stdwx.h -o stdwx.h.gch + +.cpp.o: + $(CXX) $(CXXINCLUDES) $(CXXFLAGS) -c -o $*.o $< + +OBJ = \ + stdwx.o \ + BOINCBaseView.o \ + BOINCDialupManager.o \ + BOINCGUIApp.o \ + BOINCTaskBar.o \ + DlgAbout.o \ + DlgGenericMessage.o \ + DlgOptions.o \ + DlgSelectComputer.o \ + ValidateAccountKey.o \ + ValidateEmailAddress.o \ + ValidateURL.o \ + LogBOINC.o \ + hyperlink.o \ + MainDocument.o \ + MainFrame.o \ + BOINCTaskCtrl.o \ + BOINCListCtrl.o \ + ViewMessages.o \ + ViewProjects.o \ + ViewResources.o \ + ViewStatistics.o \ + ViewTransfers.o \ + ViewWork.o \ + wizardex.o \ + BOINCBaseWizard.o \ + WizardAccountManager.o \ + WizardAttachProject.o \ + AccountInfoPage.o \ + AccountKeyPage.o \ + AccountManagerInfoPage.o \ + AccountManagerProcessingPage.o \ + AccountManagerPropertiesPage.o \ + AlreadyAttachedPage.o \ + AlreadyExistsPage.o \ + CompletionErrorPage.o \ + CompletionPage.o \ + NoInternetConnectionPage.o \ + NotDetectedPage.o \ + NotFoundPage.o \ + ProjectInfoPage.o \ + ProjectProcessingPage.o \ + ProjectPropertiesPage.o \ + ProxyInfoPage.o \ + ProxyPage.o \ + UnavailablePage.o \ + WelcomePage.o + +LIBS = -pthread -L/usr/X11R6/lib -L/opt/gnome/lib ../lib/libboinc.a /usr/local/lib/libwx_gtk2u_xrc-2.6.a /usr/local/lib/libwx_gtk2u_qa-2.6.a /usr/local/lib/libwx_gtk2u_html-2.6.a /usr/local/lib/libwx_gtk2u_adv-2.6.a /usr/local/lib/libwx_gtk2u_core-2.6.a /usr/local/lib/libwx_baseu_xml-2.6.a /usr/local/lib/libwx_baseu_net-2.6.a /usr/local/lib/libwx_baseu-2.6.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm /usr/lib/libpng.a /usr/local/lib/libwxjpeg-2.6.a /usr/local/lib/libwxtiff-2.6.a /usr/lib/libexpat.a /usr/local/lib/libwxregexu-2.6.a /usr/lib/libz.a -ldl -lm /usr/lib/gcc/i386-redhat-linux/4.1.0/libstdc++.a /usr/lib/gcc/i386-redhat-linux/4.1.0/libgcc.a + +clean: + rm stdwx.h.gch + rm boincmgr + rm boincmgr.unmodified + rm $(PROGS) $(OBJ) + +boincmgr: stdwx.h.gch $(OBJ) + $(CC) $(OBJ) $(INCLUDES) $(WXINCLUDES) $(DEFINES) $(WXDEFINES) $(LIBS) -o boincmgr + +boincmgr_strip: boincmgr + cp boincmgr boincmgr.unmodified + strip boincmgr + +PROGS = boincmgr_strip + +all: $(PROGS)