X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile.shared;h=e33c10b5aeba11518448fcb7977776c62fd1a42f;hb=cd6ab56da0213d2a241e07fa67b07f257322d2e0;hp=9178b829a26a7f51d02b424b1ca21fbf3435e654;hpb=2d3de726c5cc64d419dcdebf427b0cb58c608b36;p=openssl.git diff --git a/Makefile.shared b/Makefile.shared index 9178b829a2..e33c10b5ae 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -141,6 +141,18 @@ DO_GNU_APP=LDCMD=$(CC);\ LIBDEPS="$(LIBDEPS) -lc"; \ APPNAME=$(APPNAME) +#This is rather special. It's a special target with which one can link +#applications without bothering with any features that have anything to +#do with shared libraries, for example when linking against static +#libraries. It's mostly here to avoid a lot of conditionals everywhere +#else... +link_app.: + LDCMD=$(CC); \ + LDFLAGS=""; \ + LIBDEPS="$(LIBDEPS)"; \ + APPNAME="$(APPNAME)"; \ + $(LINK_APP) + link_o.gnu: @ $(DO_GNU_SO); $(LINK_SO_O) link_a.gnu: