java_dsp.src 5.27 KB
Newer Older
1
# Microsoft Developer Studio Project File - Name="@project_name@" - Package Owner=<4>
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
2
# Microsoft Developer Studio Generated Build File, Format Version 6.00
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102

CFG=@project_name@ - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE 
!MESSAGE NMAKE /f "@project_name@.mak".
!MESSAGE 
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f "@project_name@.mak" CFG="@project_name@ - Win32 Debug"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
20
!MESSAGE "@project_name@ - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21 22 23 24
!MESSAGE "@project_name@ - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE 

# Begin Project
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
25
# PROP AllowPerConfigDependencies 0
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF  "$(CFG)" == "@project_name@ - Win32 Release"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
46 47 48
# ADD CPP /nologo /MD /W3 /GX /O2 /Ob2 /I "." /I ".." /I "../dbinc" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "DB_CREATE_DLL" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
49 50 51 52 53 54 55
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
56
# ADD LINK32 Release/libdb@DB_VERSION_MAJOR@@DB_VERSION_MINOR@.lib /nologo /base:"0x13000000" /subsystem:windows /dll /machine:I386 /out:"Release/libdb_java@DB_VERSION_MAJOR@@DB_VERSION_MINOR@.dll"
57 58 59
# Begin Custom Build - Compiling java files using javac
ProjDir=.
InputPath=.\Release\libdb_java@DB_VERSION_MAJOR@@DB_VERSION_MINOR@.dll
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
60
SOURCE="$(InputPath)"
61 62

"force_compilation.txt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
63
	mkdir $(ProjDir)\Release\classes 
64
	echo compiling Berkeley DB classes 
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
65
	javac -g -d $(ProjDir)/Release/classes -classpath "$(CLASSPATH);$(ProjDir)/Release/classes" ..\java\src\com\sleepycat\db\*.java 
66
	echo compiling examples 
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
67 68 69 70 71
	javac -g -d $(ProjDir)/Release/classes -classpath "$(CLASSPATH);$(ProjDir)/Release/classes" ..\java\src\com\sleepycat\examples\*.java 
	echo creating jar files 
	cd $(ProjDir)\Release\classes 
	jar cf ../db.jar com\sleepycat\db\*.class 
	jar cf ../dbexamples.jar com\sleepycat\examples\*.class 
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
	echo Java build finished 
	
# End Custom Build

!ELSEIF  "$(CFG)" == "@project_name@ - Win32 Debug"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 2
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
90
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "." /I ".." /I "../dbinc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "DB_CREATE_DLL" /D "_WINDLL" /D "_AFXDLL" /YX"config.h" /FD /c
91
# SUBTRACT CPP /Fr
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
92 93
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
94 95 96 97 98 99 100
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
101
# ADD LINK32 Debug/libdb@DB_VERSION_MAJOR@@DB_VERSION_MINOR@d.lib /nologo /base:"0x13000000" /subsystem:windows /dll /pdb:none /debug /machine:I386 /out:"Debug/libdb_java@DB_VERSION_MAJOR@@DB_VERSION_MINOR@d.dll" /fixed:no
102 103 104
# Begin Custom Build - Compiling java files using javac
ProjDir=.
InputPath=.\Debug\libdb_java@DB_VERSION_MAJOR@@DB_VERSION_MINOR@d.dll
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
105
SOURCE="$(InputPath)"
106 107

"force_compilation.txt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
108
	mkdir $(ProjDir)\Debug\classes 
109
	echo compiling Berkeley DB classes 
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
110
	javac -g -d $(ProjDir)/Debug/classes -classpath "$(CLASSPATH);$(ProjDir)/Debug/classes" ..\java\src\com\sleepycat\db\*.java 
111
	echo compiling examples 
ram@mysql.r18.ru's avatar
ram@mysql.r18.ru committed
112 113 114 115 116
	javac -g -d $(ProjDir)/Debug/classes -classpath "$(CLASSPATH);$(ProjDir)/Debug/classes" ..\java\src\com\sleepycat\examples\*.java 
	echo creating jar files 
	cd $(ProjDir)\Debug\classes 
	jar cf ../db.jar com\sleepycat\db\*.class 
	jar cf ../dbexamples.jar com\sleepycat\examples\*.class 
117 118 119 120 121 122 123 124 125 126 127 128 129
	echo Java build finished 
	
# End Custom Build

!ENDIF 

# Begin Target

# Name "@project_name@ - Win32 Release"
# Name "@project_name@ - Win32 Debug"
@SOURCE_FILES@
# End Target
# End Project