From 9e3fe90d27add4dbca66c534e3a557502192d9bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Feb 2019 13:53:20 +0300 Subject: libssh2 added to Miranda to support SFTP transfers in libcurl --- libs/libssh2/src/NMakefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libs/libssh2/src/NMakefile (limited to 'libs/libssh2/src/NMakefile') diff --git a/libs/libssh2/src/NMakefile b/libs/libssh2/src/NMakefile new file mode 100644 index 0000000000..0c4853f1df --- /dev/null +++ b/libs/libssh2/src/NMakefile @@ -0,0 +1,30 @@ +!include "win32/config.mk" + +!include "win32/objects.mk" + +CFLAGS=$(CFLAGS) + +AR = lib +ARFLAGS = -nologo /LTCG + +RESOURCE=$(INTDIR)\libssh2.res +DLL=libssh2$(SUFFIX).dll +STATICLIB=$(INTDIR)\libssh2.lib + +!if "$(BUILD_STATIC_LIB)" == "" +all: $(DLL) +!else +all: $(STATICLIB) +!endif + +$(DLL): $(OBJECTS) $(RESOURCE) + $(CC) -o $(DLL) $(DLLFLAGS) $(OBJECTS) $(RESOURCE) $(LIBS) + +$(STATICLIB): $(OBJECTS) + $(AR) $(ARFLAGS) -out:$@ $(OBJECTS) + +$(RESOURCE): win32\libssh2.rc + $(RC) $(RCFLAGS) /Fo"$@" $? + +!include "win32/rules.mk" + -- cgit v1.2.3