diff --git a/README.md b/README.md index 6b8f9a6..308b499 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Cross-compiling on SuSE Linux (Native or WSL) * 32 bits: https://build.opensuse.org/project/show/windows:mingw:win32 * 64 bits: https://build.opensuse.org/project/show/windows:mingw:win64 -2. Get pw3270 sources from git +2. Get lib3270 sources from git * git clone http://softwarepublico.gov.br/gitlab/pw3270/lib3270.git ./lib3270 diff --git a/src/lib3270++/Makefile.in b/src/lib3270++/Makefile.in index 33e451c..5e059e1 100644 --- a/src/lib3270++/Makefile.in +++ b/src/lib3270++/Makefile.in @@ -221,8 +221,12 @@ $(BINRLS)/static/$(LIBNAME).a: \ #---[ Install Targets ]------------------------------------------------------------------ install: \ - $(BINRLS)/$(LIBNAME)@DLLEXT@ \ - $(BINRLS)/static/$(LIBNAME).a + install-shared \ + install-static \ + install-dev + +install-shared: \ + $(BINRLS)/$(LIBNAME)@DLLEXT@ # Install library @mkdir -p $(DESTDIR)$(libdir) @@ -240,11 +244,16 @@ install: \ $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ +install-static: \ + $(BINRLS)/static/$(LIBNAME).a + # Install static library @$(INSTALL_DATA) \ $(BINRLS)/static/$(LIBNAME).a \ $(DESTDIR)$(libdir) +install-dev: + # Install SDK @$(INSTALL_DATA) \ ../include/$(LIBNAME).h \ diff --git a/src/lib3270/Makefile.in b/src/lib3270/Makefile.in index 5585792..e9376d2 100644 --- a/src/lib3270/Makefile.in +++ b/src/lib3270/Makefile.in @@ -216,10 +216,11 @@ $(BINRLS)/static/$(LIBNAME).a: \ #---[ Install Targets ]------------------------------------------------------------------ install: \ - install-library \ + install-shared \ + install-static \ install-dev -install-library: \ +install-shared: \ $(BINRLS)/$(LIBNAME)@DLLEXT@ \ # Install library @@ -238,8 +239,7 @@ install-library: \ $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ - -install-dev: \ +install-static: \ $(BINRLS)/static/$(LIBNAME).a # Install static library @@ -247,8 +247,10 @@ install-dev: \ $(BINRLS)/static/$(LIBNAME).a \ $(DESTDIR)$(libdir) - # Install SDK +install-dev: + + # Install SDK @mkdir -p $(DESTDIR)$(includedir)/$(LIBNAME) @$(INSTALL_DATA) \ -- libgit2 0.21.2