
2 Mar
2008
2 Mar
'08
7:03 p.m.
Juergen, Frank,
Below are Libsmi changes I made to be able to build libsmi with cl msdev windows.
Please note that I added a new dir "winmissing" where I put sources for missing functions.
Regards,
--
- Yigal
....................
cd c:/yigal/dmh-libsmi/libsmi-0.4.6/win/
diff -c "c:/yigal/dmh-libsmi/libsmi-0.4.6/win/makefile.~1~" "c:/yigal/dmh-libsmi/libsmi-0.4.6/win/makefile"
*** c:/yigal/dmh-libsmi/libsmi-0.4.6/win/makefile.~1~ Thu Feb 28 21:34:00 2008
--- c:/yigal/dmh-libsmi/libsmi-0.4.6/win/makefile Sat Mar 1 16:57:17 2008
***************
*** 5,11 ****
# Makefile for VC++ (tested with version 6.0) for compiling
# libsmi and associated tools natively under Win32.
#
! # Copyright (c) 2000-2003 Yigal Hochberg, DMH Software.
# Copyright (c) 2000 E. Schoenfelder, Gaertner Datensysteme Braunschweig.
# Copyright (c) 2000 J. Schoenwaelder, Technical University of Braunschweig.
#
--- 5,11 ----
# Makefile for VC++ (tested with version 6.0) for compiling
# libsmi and associated tools natively under Win32.
#
! # Copyright (c) 2000-2008 Yigal Hochberg, DMH Software.
# Copyright (c) 2000 E. Schoenfelder, Gaertner Datensysteme Braunschweig.
# Copyright (c) 2000 J. Schoenwaelder, Technical University of Braunschweig.
#
***************
*** 65,70 ****
--- 65,77 ----
##
## Global makefile settings
##
+ W_MISSING = \
+ $(TMPDIR)\strtof.obj
+
+ # $(TMPDIR)\c-strtold.obj \
+ # $(TMPDIR)\xstrdup.obj
+
+
LIBSMIOBJS = \
$(TMPDIR)\win.obj \
$(TMPDIR)\shhopt.obj \
***************
*** 80,93 ****
$(TMPDIR)\snprintf.obj
SMIQUERYOBJS = \
! $(TMPDIR)\smiquery.obj
SMILINTOBJS = \
! $(TMPDIR)\smilint.obj
SMIXLATEOBJS = \
$(TMPDIR)\smixlate.obj \
! $(TMPDIR)\dstring.obj
SMIDUMPOBJS = \
$(TMPDIR)\smidump.obj \
--- 87,103 ----
$(TMPDIR)\snprintf.obj
SMIQUERYOBJS = \
! $(TMPDIR)\smiquery.obj \
! $(W_MISSING)
SMILINTOBJS = \
! $(TMPDIR)\smilint.obj \
! $(W_MISSING)
SMIXLATEOBJS = \
$(TMPDIR)\smixlate.obj \
! $(TMPDIR)\dstring.obj \
! $(W_MISSING)
SMIDUMPOBJS = \
$(TMPDIR)\smidump.obj \
***************
*** 113,122 ****
$(TMPDIR)\dump-svg.obj \
$(TMPDIR)\dump-compliance.obj \
$(TMPDIR)\fprint.obj \
! $(TMPDIR)\rea.obj
SMIDIFFOBJS = \
! $(TMPDIR)\smidiff.obj
SMILIB = smi.lib
--- 123,135 ----
$(TMPDIR)\dump-svg.obj \
$(TMPDIR)\dump-compliance.obj \
$(TMPDIR)\fprint.obj \
! $(TMPDIR)\rea.obj \
! $(TMPDIR)\dump-yang.obj \
! $(TMPDIR)\fortopat.obj
SMIDIFFOBJS = \
! $(TMPDIR)\smidiff.obj \
! $(W_MISSING)
SMILIB = smi.lib
***************
*** 135,140 ****
--- 148,158 ----
$(cc32) $(cdebug) $(cflags) $(INCLUDES) \
$(DEFINES) -Fo$(TMPDIR)\ $<
+ {$(ROOT)\winmissing}.c.obj:
+ $(cc32) $(cdebug) $(cflags) $(INCLUDES) \
+ $(DEFINES) -Fo$(TMPDIR)\ $<
+
+
##
## Targets
##
***************
*** 167,173 ****
smidump.exe: $(SMIDUMPOBJS) $(SMILIB)
$(cc32) $(DEFINES) \
! /osmidump.exe $(SMIDUMPOBJS) $(SMILIB)
smidiff.exe: $(SMIDIFFOBJS) $(SMILIB)
$(cc32) $(DEFINES) \
--- 185,191 ----
smidump.exe: $(SMIDUMPOBJS) $(SMILIB)
$(cc32) $(DEFINES) \
! /osmidump.exe $(SMIDUMPOBJS) $(SMILIB) strtof.obj
smidiff.exe: $(SMIDIFFOBJS) $(SMILIB)
$(cc32) $(DEFINES) \
***************
*** 226,229 ****
--- 244,257 ----
$(MKDIR) $(PIBDIR)\site
+ #
+ # Local Variables:
+ # mode: makefile
+ # make: "nmake"
+ # eval: (set (make-local-variable 'this-file) (file-name-nondirectory buffer-file-name))
+ # eval: (set (make-local-variable 'compile-command) (concat make " -k -f " this-file))
+ # End:
+ #
+
+
# EOF: makefile
Diff finished at Sun Mar 02 13:01:29
....................
6279
Age (days ago)
6279
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yigal Hochberg