Commit 04a09f5cd793637285b2735210f319e537a0c73b

Authored by Perry Werneck
1 parent c9d59970
Exists in master and in 1 other branch develop

Update for "deb" packaging.

Showing 1 changed file with 17 additions and 6 deletions   Show diff stats
@@ -286,9 +286,13 @@ $(BINRLS)/static/$(LIBNAME).a: \ @@ -286,9 +286,13 @@ $(BINRLS)/static/$(LIBNAME).a: \
286 #---[ Install Targets ]------------------------------------------------------------------ 286 #---[ Install Targets ]------------------------------------------------------------------
287 287
288 install: \ 288 install: \
289 - $(BINRLS)/$(LIBNAME)@DLLEXT@ \  
290 - $(BINRLS)/static/$(LIBNAME).a \  
291 - install-glade 289 + install-shared \
  290 + install-static \
  291 + install-glade \
  292 + install-dev
  293 +
  294 +install-shared: \
  295 + $(BINRLS)/$(LIBNAME)@DLLEXT@
292 296
293 # Install library 297 # Install library
294 @mkdir -p $(DESTDIR)$(libdir) 298 @mkdir -p $(DESTDIR)$(libdir)
@@ -302,15 +306,22 @@ install: \ @@ -302,15 +306,22 @@ install: \
302 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \ 306 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \
303 $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ 307 $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@
304 308
305 - @$(LN_S) \  
306 - $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \  
307 - $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ 309 +
  310 +install-static: \
  311 + $(BINRLS)/static/$(LIBNAME).a
308 312
309 # Install static library 313 # Install static library
310 @$(INSTALL_DATA) \ 314 @$(INSTALL_DATA) \
311 $(BINRLS)/static/$(LIBNAME).a \ 315 $(BINRLS)/static/$(LIBNAME).a \
312 $(DESTDIR)$(libdir) 316 $(DESTDIR)$(libdir)
313 317
  318 +install-dev: \
  319 + install-shared
  320 +
  321 + @$(LN_S) \
  322 + $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \
  323 + $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@
  324 +
314 # Install SDK 325 # Install SDK
315 326
316 @mkdir -p $(DESTDIR)$(includedir)/v3270 327 @mkdir -p $(DESTDIR)$(includedir)/v3270