diff options
Diffstat (limited to 'src/makefile.vc')
| -rw-r--r-- | src/makefile.vc | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/src/makefile.vc b/src/makefile.vc deleted file mode 100644 index 60dca78..0000000 --- a/src/makefile.vc +++ /dev/null | |||
| @@ -1,77 +0,0 @@ | |||
| 1 | # Copyright (c) 2009 Satoshi Nakamoto | ||
| 2 | # Distributed under the MIT/X11 software license, see the accompanying | ||
| 3 | # file license.txt or http://www.opensource.org/licenses/mit-license.php. | ||
| 4 | |||
| 5 | |||
| 6 | !IF "$(BUILD)" != "debug" && "$(BUILD)" != "release" | ||
| 7 | BUILD=debug | ||
| 8 | !ENDIF | ||
| 9 | !IF "$(BUILD)" == "debug" | ||
| 10 | D=d | ||
| 11 | DEBUGFLAGS=/Zi /Od /D__WXDEBUG__ | ||
| 12 | !ENDIF | ||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | INCLUDEPATHS=/I"/boost" /I"/DB/build_windows" /I"/OpenSSL/include" /I"/wxWidgets/lib/vc_lib/mswd" /I"/wxWidgets/include" | ||
| 17 | LIBPATHS=/LIBPATH:"/DB/build_windows/$(BUILD)" /LIBPATH:"/OpenSSL/out" /LIBPATH:"/wxWidgets/lib/vc_lib" | ||
| 18 | LIBS= \ | ||
| 19 | libdb47s$(D).lib \ | ||
| 20 | libeay32.lib \ | ||
| 21 | wxmsw28$(D)_richtext.lib wxmsw28$(D)_html.lib wxmsw28$(D)_core.lib wxbase28$(D).lib wxtiff$(D).lib wxjpeg$(D).lib wxpng$(D).lib wxzlib$(D).lib wxregex$(D).lib wxexpat$(D).lib \ | ||
| 22 | kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib ws2_32.lib | ||
| 23 | WXDEFS=/DWIN32 /D__WXMSW__ /D_WINDOWS /DNOPCH | ||
| 24 | CFLAGS=/c /nologo /Ob0 /MD$(D) /EHsc /GR /Zm300 /YX /Fpobj/headers.pch $(DEBUGFLAGS) $(WXDEFS) $(INCLUDEPATHS) | ||
| 25 | HEADERS=headers.h util.h main.h serialize.h uint256.h key.h bignum.h script.h db.h base58.h | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | all: bitcoin.exe | ||
| 30 | |||
| 31 | |||
| 32 | obj\util.obj: util.cpp $(HEADERS) | ||
| 33 | cl $(CFLAGS) /Fo$@ %s | ||
| 34 | |||
| 35 | obj\script.obj: script.cpp $(HEADERS) | ||
| 36 | cl $(CFLAGS) /Fo$@ %s | ||
| 37 | |||
| 38 | obj\db.obj: db.cpp $(HEADERS) market.h | ||
| 39 | cl $(CFLAGS) /Fo$@ %s | ||
| 40 | |||
| 41 | obj\net.obj: net.cpp $(HEADERS) net.h | ||
| 42 | cl $(CFLAGS) /Fo$@ %s | ||
| 43 | |||
| 44 | obj\main.obj: main.cpp $(HEADERS) net.h market.h | ||
| 45 | cl $(CFLAGS) /Fo$@ %s | ||
| 46 | |||
| 47 | obj\market.obj: market.cpp $(HEADERS) market.h | ||
| 48 | cl $(CFLAGS) /Fo$@ %s | ||
| 49 | |||
| 50 | obj\ui.obj: ui.cpp $(HEADERS) net.h uibase.h ui.h market.h | ||
| 51 | cl $(CFLAGS) /Fo$@ %s | ||
| 52 | |||
| 53 | obj\uibase.obj: uibase.cpp uibase.h | ||
| 54 | cl $(CFLAGS) /Fo$@ %s | ||
| 55 | |||
| 56 | obj\sha.obj: sha.cpp sha.h | ||
| 57 | cl $(CFLAGS) /O2 /Fo$@ %s | ||
| 58 | |||
| 59 | obj\irc.obj: irc.cpp $(HEADERS) | ||
| 60 | cl $(CFLAGS) /Fo$@ %s | ||
| 61 | |||
| 62 | obj\ui.res: ui.rc rc/bitcoin.ico rc/check.ico rc/send16.bmp rc/send16mask.bmp rc/send16masknoshadow.bmp rc/send20.bmp rc/send20mask.bmp rc/addressbook16.bmp rc/addressbook16mask.bmp rc/addressbook20.bmp rc/addressbook20mask.bmp | ||
| 63 | rc $(INCLUDEPATHS) $(WXDEFS) /Fo$@ %s | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | OBJS=obj\util.obj obj\script.obj obj\db.obj obj\net.obj obj\main.obj obj\market.obj \ | ||
| 68 | obj\ui.obj obj\uibase.obj obj\sha.obj obj\irc.obj obj\ui.res | ||
| 69 | |||
| 70 | bitcoin.exe: $(OBJS) | ||
| 71 | -kill /f bitcoin.exe & sleep 1 | ||
| 72 | link /nologo /DEBUG /SUBSYSTEM:WINDOWS /OUT:$@ $(LIBPATHS) $** $(LIBS) | ||
| 73 | |||
| 74 | clean: | ||
| 75 | -del /Q obj\* | ||
| 76 | -del *.ilk | ||
| 77 | -del *.pdb | ||