mirror of https://github.com/BOINC/boinc.git
- Makefile for MinGW
svn path=/trunk/boinc/; revision=14883
This commit is contained in:
parent
671cf8f764
commit
e227059121
|
@ -0,0 +1,36 @@
|
|||
BOINCDIR = ./boinc
|
||||
DEBUG = -D__DEBUG__ -g3
|
||||
OBJ = boinc_api.o util.o win_util.o app_ipc.o diagnostics.o diagnostics_win.o filesys.o hostinfo.o md5.o md5_file.o mem_usage.o mfile.o miofile.o parse.o prefs.o proxy_info.o str_util.o shmem.o stackwalker_win.o base64.o
|
||||
LINKOBJ = $(OBJ)
|
||||
LDFLAGS = -lwinmm -march=i386
|
||||
INCS = -I"$(BOINCDIR)" -I"$(BOINCDIR)/db" -I"$(BOINCDIR)" -I"$(BOINCDIR)/lib" -I"$(BOINCDIR)/api"
|
||||
CXXINCS = $(INCS)
|
||||
BIN = libboinc.a
|
||||
#
|
||||
CXXFLAGS = $(CXXINCS) $(DEBUG) --include $(BOINCDIR)/version.h -DWIN32 -D_WIN32 -D_WIN32_WINDOWS=0x0501 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -fexceptions -march=i386 -O1
|
||||
CFLAGS = $(INCS) $(DEBUG) --include $(BOINCDIR)/version.h -DWIN32 -D_WIN32 -D_WIN32_WINDOWS=0x0501 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -fexceptions -march=i386 -O1
|
||||
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before $(BIN) all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(LINKOBJ)
|
||||
$(AR) rc $@ $(LINKOBJ)
|
||||
ranlib $@
|
||||
|
||||
%.o: $(BOINCDIR)/api/%.C
|
||||
$(CXX) -c $< -o $@ $(CXXFLAGS)
|
||||
|
||||
%.o: $(BOINCDIR)/lib/%.C
|
||||
$(CXX) -c $< -o $@ $(CXXFLAGS)
|
||||
|
||||
md5.o: $(BOINCDIR)/lib/md5.c
|
||||
$(CXX) -c $(BOINCDIR)/lib/md5.c -o md5.o $(CXXFLAGS)
|
||||
|
||||
stackwalker_win.o: $(BOINCDIR)/lib/stackwalker_win.cpp
|
||||
$(CXX) -c $(BOINCDIR)/lib/stackwalker_win.cpp -o stackwalker_win.o $(CXXFLAGS)
|
|
@ -2194,3 +2194,11 @@ David Mar 10 2008
|
|||
Makefile.am
|
||||
proc_control.C,h
|
||||
util.C,h
|
||||
|
||||
David Mar 10 2008
|
||||
- Added API makefile for MinGW (from Pasquale Tricarico)
|
||||
|
||||
api/
|
||||
Makefile.mingw
|
||||
lilb/
|
||||
proc_control.h
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
// Berkeley Open Infrastructure for Network Computing
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2008 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
|
||||
|
||||
extern HANDLE sandbox_account_token;
|
||||
extern PSID sandbox_account_sid;
|
||||
extern void get_sandbox_account_token();
|
||||
|
|
Loading…
Reference in New Issue