Fix to overwrite libcurl name.

This commit is contained in:
Guenter Knauf 2010-08-07 18:32:39 +02:00
Родитель af4eae77ac
Коммит 6ea043a504
2 изменённых файлов: 13 добавлений и 6 удалений

Просмотреть файл

@ -10,15 +10,17 @@ SYS_INCL = -I$(%watcom)\h\nt -I$(%watcom)\h
SYS_LIBS = $(%watcom)\lib386\nt;$(%watcom)\lib386
!endif
!ifndef %libname
!ifdef %libname
LIBNAME = $(%libname)
!else
LIBNAME = libcurl
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib
CC = wcc386
LD = wlink
RC = wrc
AR = wlib
RC = wrc
!ifdef __LOADDLL__
! loaddll wcc386 wccd386

Просмотреть файл

@ -10,12 +10,17 @@ SYS_INCL = -I$(%watcom)\h\nt -I$(%watcom)\h
SYS_LIBS = $(%watcom)\lib386\nt;$(%watcom)\lib386
!endif
TARGETS = libcurl_wc.dll libcurl_wc_imp.lib libcurl_wc.lib
!ifdef %libname
LIBNAME = $(%libname)
!else
LIBNAME = libcurl
!endif
TARGETS = $(LIBNAME).dll $(LIBNAME)_imp.lib $(LIBNAME).lib
CC = wcc386
LD = wlink
RC = wrc
AR = wlib
RC = wrc
!ifdef __LOADDLL__
! loaddll wcc386 wccd386
@ -123,7 +128,7 @@ $(LINK_ARG): $(__MAKEFILES__)
# @%append $^@ library clib3r.lib
!ifdef %curl_static
@%append $^@ library wldap32.lib
@%append $^@ library ..\lib\libcurl.lib
@%append $^@ library ..\lib\$(LIBNAME).lib
!ifdef %use_zlib
@%append $^@ library $(ZLIB_ROOT)\zlib.lib
!endif
@ -131,7 +136,7 @@ $(LINK_ARG): $(__MAKEFILES__)
@%append $^@ library $(ARES_ROOT)\cares.lib
!endif
!else
@%append $^@ library ..\lib\libcurl_imp.lib
@%append $^@ library ..\lib\$(LIBNAME)_imp.lib
!endif
!ifeq USE_WATT32 1
@%append $^@ library $(%watt_root)\lib\wattcpw_imp.lib