X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81cf2eb73ad050182b9d22ce0b9b6d9318d50eb..f080251d92086deb8444531148ade820e5749de2:/src/msw/makefile.sc diff --git a/src/msw/makefile.sc b/src/msw/makefile.sc index 4ebcda518a..b69656843c 100644 --- a/src/msw/makefile.sc +++ b/src/msw/makefile.sc @@ -3,7 +3,9 @@ # This file was automatically generated by tmake # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T! -# Symantec C++ makefile for the msw objects +# Digital mars makefile +# was Symantec C++ makefile for the msw objects +# # called from src\makefile.sc # configuration section (see src\makefile.sc) ########################### @@ -322,7 +324,7 @@ MSWOBJS = $(MSWDIR)\accel.obj \ # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) -all: MAKEARCHDIR MAKEWINSOCKLIB $(LIBTARGET) zlib png jpeg tiff regex +all: MAKEARCHDIR MAKELIBS $(LIBTARGET) zlib png jpeg tiff regex MAKEARCHDIR: @if not exist $(MSWINCDIR)\setup.h copy $(MSWINCDIR)\setup0.h $(MSWINCDIR)\setup.h @@ -330,14 +332,10 @@ MAKEARCHDIR: @if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)\wx @if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h -MAKEWINSOCKLIB: - implib /s $(WINSOCKLIB) $(WINDIR)\system32\wsock32.dll -## implib /system /v /suffix /Ic:\wx\dm\include\win32 $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll -## implib /system /v /suffix /Ic:\wx\dm\include\win32 $(WINSOCKLIB) $(WINDIR)\system32\wsock32.dll -## bug here on win98 no system32 ?? -## implib doesn't work anyway -## implib /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll -##@if not exist $(WINSOCKLIB) +#build our own copies of missing libraries +MAKELIBS: + implib /s $(LIBDIR)\$(SHELLLIB) $(LIBDIR)\$(SC_SUFFIX)\$(SHELLLIB).def + implib /s $(LIBDIR)\$(WINSOCKLIB) $(LIBDIR)\$(SC_SUFFIX)\$(WINSOCKLIB).def $(LIBTARGET): $(OBJECTS) -del $(LIBTARGET) @@ -351,7 +349,7 @@ clean_msw: -del $(GENDIR)\*.obj -del $(HTMLDIR)\*.obj -del *.obj - -del *.sym + -del *.sym -del ole\*.obj -del $(LIBTARGET)