2004-10-19 23:14:13 +00:00
|
|
|
CXX = $(shell wx-config --cxx)
|
|
|
|
|
2004-10-22 04:49:50 +00:00
|
|
|
# comment out the following as needed
|
2004-11-05 19:38:11 +00:00
|
|
|
OTHER_LIBS = -lsocket -lnsl
|
2004-10-22 04:49:50 +00:00
|
|
|
|
2004-11-14 21:27:08 +00:00
|
|
|
CFLAGS = -g -I ../ -I ../lib -DNOTASKBAR -DNOCLIPBOARD
|
2004-10-19 23:14:13 +00:00
|
|
|
|
2004-10-26 17:12:58 +00:00
|
|
|
PROGRAM = boincmgr
|
2004-10-19 23:14:13 +00:00
|
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
|
|
|
|
OBJS = \
|
|
|
|
BOINCBaseView.o \
|
|
|
|
BOINCGUIApp.o \
|
|
|
|
BOINCListCtrl.o \
|
|
|
|
BOINCTaskCtrl.o \
|
|
|
|
DlgAbout.o \
|
|
|
|
DlgAttachProject.o \
|
|
|
|
DlgConnection.o \
|
|
|
|
DlgOptions.o \
|
|
|
|
MainDocument.o \
|
|
|
|
MainFrame.o \
|
|
|
|
stdwx.o \
|
|
|
|
ValidateAccountKey.o \
|
|
|
|
ValidateURL.o \
|
|
|
|
ViewMessages.o \
|
|
|
|
ViewProjects.o \
|
|
|
|
ViewResources.o \
|
|
|
|
ViewTransfers.o \
|
|
|
|
ViewWork.o \
|
|
|
|
../lib/gui_rpc_client.o \
|
|
|
|
../lib/parse.o \
|
|
|
|
../lib/mfile.o \
|
|
|
|
../lib/miofile.o \
|
|
|
|
../lib/filesys.o \
|
|
|
|
../lib/util.o
|
|
|
|
|
2004-11-11 19:41:29 +00:00
|
|
|
# change the following as needed
|
|
|
|
|
2004-11-14 21:27:08 +00:00
|
|
|
#WLIBS = -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -L../../wxMac-2.5.3/lib -lwx_mac_core-2.5 -lwx_base_carbon-2.5 -lwxtiff-2.5 -lwxjpeg-2.5 -lwxpng-2.5 -lwxexpat-2.5 -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lz -lpthread -liconv -framework WebKit
|
2004-11-11 19:41:29 +00:00
|
|
|
|
2004-11-14 21:27:08 +00:00
|
|
|
WLIBS = `wx-config --libs`
|
2004-11-11 19:41:29 +00:00
|
|
|
|
2004-10-26 17:12:58 +00:00
|
|
|
boincmgr: $(OBJS)
|
2004-11-11 19:41:29 +00:00
|
|
|
$(CXX) -o $(PROGRAM) $(OBJS) $(WLIBS) $(OTHER_LIBS)
|
2004-10-19 23:14:13 +00:00
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
$(CXX) -c $(CFLAGS) `wx-config --cxxflags` $<
|
2004-10-28 19:10:50 +00:00
|
|
|
|
|
|
|
dependencies: *.cpp *.h
|
|
|
|
$(CXX) -M $(CFLAGS) `wx-config --cxxflags` *.cpp > dependencies
|
|
|
|
|
|
|
|
include dependencies
|