source: installer/lib/wrapper/win64/Makefile-windows-x86-64.nmake @ a7a816e

Last change on this file since a7a816e was a7a816e, checked in by kytv <kytv@…>, 7 years ago

wrapper: 3.5.23 updates for win64

  • Property mode set to 100644
File size: 3.3 KB
Line 
1# Copyright (c) 1999, 2011 Tanuki Software, Ltd.
2# http://www.tanukisoftware.com
3# All rights reserved.
4#
5# This software is the proprietary information of Tanuki Software.
6# You shall use it only in accordance with the terms of the
7# license agreement you entered into with Tanuki Software.
8# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html
9
10PROJ = wrapper
11
12COMPILE = cl /D "WIN32" /D "WIN64" /D "NDEBUG" /FD /EHsc /MT /W3 /nologo /c /Zi /errorReport:prompt /D "_CRT_SECURE_NO_DEPRECATE" /D "UNICODE" /D "_UNICODE" /D "_WIN32_WINNT=0x0500"
13LINK = link /NOLOGO /MANIFEST /DEBUG /MACHINE:AMD64 /ERRORREPORT:PROMPT DelayImp.lib
14RC = rc
15
16
17# EXE Definitions
18EXE_OUTDIR = $(PROJ)32_VC8__Win64_Release
19EXE_OBJS = $(EXE_OUTDIR)\wrapper.obj $(EXE_OUTDIR)\wrapperinfo.obj $(EXE_OUTDIR)\wrappereventloop.obj $(EXE_OUTDIR)\wrapper_win.obj $(EXE_OUTDIR)\property.obj $(EXE_OUTDIR)\logger.obj $(EXE_OUTDIR)\wrapper_file.obj $(EXE_OUTDIR)\wrapper_i18n.obj $(EXE_OUTDIR)\test.obj $(EXE_OUTDIR)\wrapper_hashmap.obj
20EXE_LIBS = mpr.lib shell32.lib netapi32.lib wsock32.lib shlwapi.lib advapi32.lib user32.lib Crypt32.lib Wintrust.lib pdh.lib
21EXE_COMPILE_OPTS = /O2 /GL /D "_CONSOLE"
22EXE_LINK_OPTS = /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /MANIFESTFILE:"$(EXE_OUTDIR)\$(PROJ).exe.intermediate.manifest" /PDB:"$(EXE_OUTDIR)\$(PROJ).pdb" /OPT:REF /OPT:ICF /LTCG
23
24# DLL Definitions
25DLL_OUTDIR = $(PROJ)JNI32_VC8__Win64_Release
26DLL_OBJS = $(DLL_OUTDIR)\wrapper_i18n.obj $(DLL_OUTDIR)\wrapperjni_win.obj $(DLL_OUTDIR)\wrapperinfo.obj $(DLL_OUTDIR)\wrapperjni.obj $(DLL_OUTDIR)\loggerjni.obj
27DLL_LIBS = shell32.lib wsock32.lib advapi32.lib user32.lib
28DLL_COMPILE_OPTS = /Od  /I "..\" /I ".\" /I "$(JAVA_HOME)\include" /I "$(JAVA_HOME)\include\win32" /D "_WINDOWS" /D "_USRDLL" /D "DECODERJNI_VC8_EXPORTS" /D "_WINDLL"
29DLL_LINK_OPTS = /INCREMENTAL /DLL /SUBSYSTEM:WINDOWS /MANIFESTFILE:"$(DLL_OUTDIR)\$(PROJ).dll.intermediate.manifest" /PDB:"$(DLL_OUTDIR)\$(PROJ).pdb"
30
31all: $(EXE_OUTDIR) $(DLL_OUTDIR) $(PROJ).exe $(PROJ).dll
32
33# Define project specific macros
34
35#----- If OUTDIR does not exist, then create directory
36$(EXE_OUTDIR) :
37    if not exist "$(EXE_OUTDIR)/$(NULL)" mkdir $(EXE_OUTDIR)
38$(DLL_OUTDIR) :
39    if not exist "$(DLL_OUTDIR)/$(NULL)" mkdir $(DLL_OUTDIR)
40
41# Inference rule for updating the object files
42.c{$(EXE_OUTDIR)}.obj:
43    $(COMPILE) $(EXE_COMPILE_OPTS) /Fo"$(EXE_OUTDIR)\\" /Fd"$(EXE_OUTDIR)\\" $**
44.c{$(DLL_OUTDIR)}.obj:
45    $(COMPILE) $(DLL_COMPILE_OPTS) /Fo"$(DLL_OUTDIR)\\" /Fd"$(DLL_OUTDIR)\\" $**
46
47# Build rule for resource file
48$(EXE_OUTDIR)\$(PROJ).res: $(PROJ).rc $(RC_DEP)
49    $(RC) /fo"$(EXE_OUTDIR)/$(PROJ).res" $(PROJ).rc
50$(DLL_OUTDIR)\$(PROJ).res: $(PROJ).rc $(RC_DEP)
51    $(RC) /fo"$(DLL_OUTDIR)/$(PROJ).res" $(PROJ).rc
52$(PROJ).exe: $(BASE_OBJS) $(EXE_OBJS) $(EXE_OUTDIR)\$(PROJ).res
53    $(LINK) $(EXE_LINK_OPTS) $(EXE_OBJS) $(EXE_LIBS) $(EXE_OUTDIR)\$(PROJ).res /OUT:"..\..\bin\$(PROJ).exe"
54
55$(PROJ).dll: $(BASE_OBJS) $(DLL_OBJS) $(DLL_OUTDIR)\$(PROJ).res
56    $(LINK) $(DLL_LINK_OPTS) $(DLL_OBJS) $(DLL_LIBS) $(DLL_OUTDIR)\$(PROJ).res /OUT:"..\..\lib\$(PROJ).dll"
57
58clean:
59    if exist $(EXE_OUTDIR)/$(NULL) rd /s /q $(EXE_OUTDIR)
60    if exist $(DLL_OUTDIR)/$(NULL) rd /s /q $(DLL_OUTDIR)
61    if exist ..\..\bin\$(PROJ).exe del /q ..\..\bin\$(PROJ).exe
62    if exist ..\..\lib\$(PROJ).dll del /q ..\..\lib\$(PROJ).dll
Note: See TracBrowser for help on using the repository browser.