Commit ed2da7b9 authored by jayesh's avatar jayesh
Browse files

Adding the generic path --using JAVA_HOME env variable-- for the java include files

parent 7e461a47
......@@ -5509,10 +5509,10 @@ Function GenBuild()
mfile.WriteLine
mfile.WriteLine("# create special rules for the TraceInput.dll source files since they need to include Java paths")
mfile.WriteLine("$(RLOG_OUTDIR)\logformat_trace_InputLog.obj: ..\src\util\logging\rlog\logformat_trace_InputLog.c")
mfile.WriteLine(" $(cc) $(cflags) /I..\src\mpe2\src\slog2sdk\src\logformat\trace /Ic:\progra~1\Java\jdk1.5.0_08\include /Ic:\progra~1\Java\jdk1.5.0_08\include\win32 /Fo""$(RLOG_OUTDIR)\\"" /Fd""$(RLOG_OUTDIR)\\"" ..\src\util\logging\rlog\logformat_trace_InputLog.c")
mfile.WriteLine(" $(cc) $(cflags) /I..\src\mpe2\src\slog2sdk\src\logformat\trace /I$(JAVA_HOME)\include /I$(JAVA_HOME)\include\win32 /Fo""$(RLOG_OUTDIR)\\"" /Fd""$(RLOG_OUTDIR)\\"" ..\src\util\logging\rlog\logformat_trace_InputLog.c")
mfile.WriteLine
mfile.WriteLine("$(RLOG_OUTDIR)\trace_input.obj: ..\src\util\logging\rlog\trace_input.c")
mfile.WriteLine(" $(cc) $(cflags) /I..\src\mpe2\src\slog2sdk\src\logformat\trace /Ic:\progra~1\Java\jdk1.5.0_08\include /Ic:\progra~1\Java\jdk1.5.0_08\include\win32 /Fo""$(RLOG_OUTDIR)\\"" /Fd""$(RLOG_OUTDIR)\\"" ..\src\util\logging\rlog\trace_input.c")
mfile.WriteLine(" $(cc) $(cflags) /I..\src\mpe2\src\slog2sdk\src\logformat\trace /I$(JAVA_HOME)\include /I$(JAVA_HOME)\include\win32 /Fo""$(RLOG_OUTDIR)\\"" /Fd""$(RLOG_OUTDIR)\\"" ..\src\util\logging\rlog\trace_input.c")
mfile.WriteLine
mfile.WriteLine("trace_input_objs = \")
mfile.WriteLine(" $(RLOG_OUTDIR)\logformat_trace_InputLog.obj \")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment