Log and database functions moved from server core to libnxsrv
[public/netxms.git] / src / server / libnxsrv / libnxsrv.dsp
CommitLineData
f77084bb
VK
1# Microsoft Developer Studio Project File - Name="libnxsrv" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version 6.00
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6
7CFG=libnxsrv - Win32 Debug
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "libnxsrv.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "libnxsrv.mak" CFG="libnxsrv - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "libnxsrv - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21!MESSAGE "libnxsrv - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29MTL=midl.exe
30RSC=rc.exe
31
32!IF "$(CFG)" == "libnxsrv - Win32 Release"
33
34# PROP BASE Use_MFC 0
35# PROP BASE Use_Debug_Libraries 0
36# PROP BASE Output_Dir "Release"
37# PROP BASE Intermediate_Dir "Release"
38# PROP BASE Target_Dir ""
39# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 0
41# PROP Output_Dir "Release"
42# PROP Intermediate_Dir "Release"
43# PROP Ignore_Export_Lib 0
44# PROP Target_Dir ""
45# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBNXSRV_EXPORTS" /YX /FD /c
9f046a52 46# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBNXSRV_EXPORTS" /YX /FD /c
f77084bb
VK
47# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
48# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
49# ADD BASE RSC /l 0x809 /d "NDEBUG"
50# ADD RSC /l 0x809 /d "NDEBUG"
51BSC32=bscmake.exe
52# ADD BASE BSC32 /nologo
53# ADD BSC32 /nologo
54LINK32=link.exe
55# 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 /dll /machine:I386
b900a78b 56# ADD 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 ws2_32.lib libnxcscp.lib libnetxms.lib /nologo /version:0.1 /dll /machine:I386 /libpath:"..\..\libnetxms\Release" /libpath:"..\..\libnxcscp\Release"
9f046a52
VK
57# Begin Special Build Tool
58SOURCE="$(InputPath)"
59PostBuild_Desc=Copy files
60PostBuild_Cmds=copy Release\libnxsrv.dll C:\NetXMS\bin
61# End Special Build Tool
f77084bb
VK
62
63!ELSEIF "$(CFG)" == "libnxsrv - Win32 Debug"
64
65# PROP BASE Use_MFC 0
66# PROP BASE Use_Debug_Libraries 1
67# PROP BASE Output_Dir "Debug"
68# PROP BASE Intermediate_Dir "Debug"
69# PROP BASE Target_Dir ""
70# PROP Use_MFC 0
71# PROP Use_Debug_Libraries 1
72# PROP Output_Dir "Debug"
73# PROP Intermediate_Dir "Debug"
74# PROP Ignore_Export_Lib 0
75# PROP Target_Dir ""
76# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBNXSRV_EXPORTS" /YX /FD /GZ /c
9d72bde1 77# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBNXSRV_EXPORTS" /YX /FD /GZ /c
f77084bb
VK
78# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
79# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
80# ADD BASE RSC /l 0x809 /d "_DEBUG"
81# ADD RSC /l 0x809 /d "_DEBUG"
82BSC32=bscmake.exe
83# ADD BASE BSC32 /nologo
84# ADD BSC32 /nologo
85LINK32=link.exe
86# 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 /dll /debug /machine:I386 /pdbtype:sept
b900a78b 87# ADD 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 ws2_32.lib libnxcscp.lib libnetxms.lib /nologo /version:0.1 /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libnetxms\Debug" /libpath:"..\..\libnxcscp\Debug"
f77084bb
VK
88# Begin Special Build Tool
89SOURCE="$(InputPath)"
90PostBuild_Desc=Copy files
91PostBuild_Cmds=copy Debug\libnxsrv.dll ..\..\..\bin
92# End Special Build Tool
93
94!ENDIF
95
96# Begin Target
97
98# Name "libnxsrv - Win32 Release"
99# Name "libnxsrv - Win32 Debug"
100# Begin Group "Source Files"
101
102# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
103# Begin Source File
104
105SOURCE=.\agent.cpp
106# End Source File
107# Begin Source File
108
9cc9ea72
VK
109SOURCE=.\db.cpp
110# End Source File
111# Begin Source File
112
113SOURCE=.\log.cpp
114# End Source File
115# Begin Source File
116
f77084bb
VK
117SOURCE=.\main.cpp
118# End Source File
b8191466
VK
119# Begin Source File
120
121SOURCE=.\rwlock.cpp
122# End Source File
f77084bb
VK
123# End Group
124# Begin Group "Header Files"
125
126# PROP Default_Filter "h;hpp;hxx;hm;inl"
127# Begin Source File
128
129SOURCE=.\libnxsrv.h
130# End Source File
131# Begin Source File
132
133SOURCE=..\..\..\include\nms_agent.h
134# End Source File
135# Begin Source File
136
137SOURCE=..\..\..\include\nms_common.h
138# End Source File
139# Begin Source File
140
141SOURCE=..\..\..\include\nms_cscp.h
142# End Source File
143# Begin Source File
144
145SOURCE=..\..\..\include\nms_threads.h
146# End Source File
147# Begin Source File
148
149SOURCE=..\..\..\include\nms_util.h
150# End Source File
151# Begin Source File
152
153SOURCE=..\..\..\include\nxclapi.h
154# End Source File
155# Begin Source File
156
157SOURCE=..\..\..\include\nxcscpapi.h
158# End Source File
159# Begin Source File
160
161SOURCE=..\include\nxsrvapi.h
162# End Source File
b8191466
VK
163# Begin Source File
164
165SOURCE=..\include\rwlock.h
166# End Source File
f77084bb
VK
167# End Group
168# Begin Group "Resource Files"
169
170# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
9cc9ea72
VK
171# Begin Source File
172
173SOURCE=.\libnxsrv.rc
174# End Source File
175# End Group
176# Begin Group "Message Files"
177
178# PROP Default_Filter ".mc"
179# Begin Source File
180
181SOURCE=.\messages.mc
182
183!IF "$(CFG)" == "libnxsrv - Win32 Release"
184
185# Begin Custom Build - Running Message Compiler on $(InputPath)
186ProjDir=.
187InputPath=.\messages.mc
188InputName=messages
189
190BuildCmds= \
191 mc -s -U -h $(ProjDir)\..\include -r $(ProjDir) $(InputName) \
192 del $(ProjDir)\$(InputName).rc \
193
194
195"..\include\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
196 $(BuildCmds)
197
198"Msg00001.bin" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
199 $(BuildCmds)
200# End Custom Build
201
202!ELSEIF "$(CFG)" == "libnxsrv - Win32 Debug"
203
204# Begin Custom Build - Running Message Compiler on $(InputPath)
205ProjDir=.
206InputPath=.\messages.mc
207InputName=messages
208
209BuildCmds= \
210 mc -s -U -h $(ProjDir)\..\include -r $(ProjDir) $(InputName) \
211 del $(ProjDir)\$(InputName).rc \
212
213
214"..\include\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
215 $(BuildCmds)
216
217"Msg00001.bin" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
218 $(BuildCmds)
219# End Custom Build
220
221!ENDIF
222
223# End Source File
f77084bb
VK
224# End Group
225# End Target
226# End Project