2 # Helper makefile to link shared libraries in a portable way.
3 # This is much simpler than libtool, and hopefully not too error-prone.
5 # The following variables need to be set on the command line to build
8 # CC contains the current compiler. This one MUST be defined
11 # LDFLAGS contains flags to be used when temporary object files (when building
12 # shared libraries) are created, or when an application is linked.
13 # SHARED_LDFLAGS contains flags to be used when the shared library is created.
19 # LIBNAME contains just the name of the library, without prefix ("lib"
20 # on Unix, "cyg" for certain forms under Cygwin...) or suffix (.a, .so,
21 # .dll, ...). This one MUST have a value when using this makefile to
22 # build shared libraries.
23 # For example, to build libfoo.so, you need to do the following:
27 # APPNAME contains just the name of the application, without suffix (""
28 # on Unix, ".exe" on Windows, ...). This one MUST have a value when using
29 # this makefile to build applications.
30 # For example, to build foo, you need to do the following:
34 # OBJECTS contains all the object files to link together into the application.
35 # This must contain at least one object file.
39 # LIBEXTRAS contains extra modules to link together with the library.
40 # For example, if a second library, say libbar.a needs to be linked into
41 # libfoo.so, you need to do the following:
43 # Note that this MUST be used when using the link_o targets, to hold the
44 # names of all object files that go into the target library.
47 # LIBVERSION contains the current version of the library.
48 # For example, to build libfoo.so.1.2, you need to do the following:
52 # LIBCOMPATVERSIONS contains the compatibility versions (a list) of
53 # the library. They MUST be in decreasing order.
54 # For example, if libfoo.so.1.2.1 is backward compatible with libfoo.so.1.2
55 # and libfoo.so.1, you need to do the following:
56 #LIBCOMPATVERSIONS=1.2 1
57 # Note that on systems that use sonames, the last number will appear as
59 # It's also possible, for systems that support it (Tru64, for example),
60 # to add extra compatibility info with more precision, by adding a second
61 # list of versions, separated from the first with a semicolon, like this:
62 #LIBCOMPATVERSIONS=1.2 1;1.2.0 1.1.2 1.1.1 1.1.0 1.0.0
65 # LIBDEPS contains all the flags necessary to cover all necessary
66 # dependencies to other libraries.
69 #------------------------------------------------------------------------------
70 # The rest is private to this makefile.
76 echo "Trying to use this makefile interactively? Don't."
79 SHLIB_COMPAT=; SHLIB_SOVER=; \
80 if [ -n "$(LIBVERSION)$(LIBCOMPATVERSIONS)" ]; then \
82 for v in `echo "$(LIBVERSION) $(LIBCOMPATVERSIONS)" | cut -d';' -f1`; do \
83 SHLIB_SOVER_NODOT=$$v; \
85 if [ -n "$$prev" ]; then \
86 SHLIB_COMPAT="$$SHLIB_COMPAT .$$prev"; \
94 LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
95 LDCMD="$${LDCMD:-$(CC)}"; LDFLAGS="$${LDFLAGS:-$(CFLAGS)}"; \
96 LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
97 LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
98 LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
99 $${LDCMD} $${LDFLAGS} -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $${LIBDEPS} )
103 LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
104 SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \
105 SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
106 $(NM) -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
107 LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
108 LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
109 LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
110 $${SHAREDCMD} $${SHAREDFLAGS} \
111 -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
112 $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \
113 ) && $(SYMLINK_SO); \
114 ( $(SET_X); rm -f lib$(LIBNAME).exp )
117 if [ -n "$$INHIBIT_SYMLINKS" ]; then :; else \
118 prev=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
119 if [ -n "$$SHLIB_COMPAT" ]; then \
120 for x in $$SHLIB_COMPAT; do \
121 ( $(SET_X); rm -f $$SHLIB$$x$$SHLIB_SUFFIX; \
122 ln -s $$prev $$SHLIB$$x$$SHLIB_SUFFIX ); \
123 prev=$$SHLIB$$x$$SHLIB_SUFFIX; \
126 if [ -n "$$SHLIB_SOVER" ]; then \
127 ( $(SET_X); rm -f $$SHLIB$$SHLIB_SUFFIX; \
128 ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \
132 LINK_SO_A= SHOBJECTS="lib$(LIBNAME).a $(LIBEXTRAS)"; $(LINK_SO)
133 LINK_SO_O= SHOBJECTS="$(LIBEXTRAS)"; $(LINK_SO)
136 SHOBJECTS=lib$(LIBNAME).o; \
137 ALL=$$ALLSYMSFLAGS; ALLSYMSFLAGS=; NOALLSYMSFLAGS=; \
139 ld $(LDFLAGS) -r -o lib$(LIBNAME).o $$ALL lib$(LIBNAME).a $(LIBEXTRAS) ); \
140 $(LINK_SO) && rm -f $(LIBNAME).o
142 LINK_SO_A_UNPACKED= \
143 UNPACKDIR=link_tmp.$$$$; rm -rf $$UNPACKDIR; mkdir $$UNPACKDIR; \
144 (cd $$UNPACKDIR; ar x ../lib$(LIBNAME).a) && \
145 ([ -z "$(LIBEXTRAS)" ] || cp $(LIBEXTRAS) $$UNPACKDIR) && \
146 SHOBJECTS=$$UNPACKDIR/*.o; \
147 $(LINK_SO) && rm -rf $$UNPACKDIR
149 DETECT_GNU_LD=(${CC} -Wl,-V /dev/null 2>&1 | grep '^GNU ld' )>/dev/null
151 DO_GNU_SO=$(CALC_VERSIONS); \
152 SHLIB=lib$(LIBNAME).so; \
154 ALLSYMSFLAGS='-Wl,--whole-archive'; \
155 NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
156 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
158 DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
160 #This is rather special. It's a special target with which one can link
161 #applications without bothering with any features that have anything to
162 #do with shared libraries, for example when linking against static
163 #libraries. It's mostly here to avoid a lot of conditionals everywhere
169 @ $(DO_GNU_SO); $(LINK_SO_O)
171 @ $(DO_GNU_SO); $(LINK_SO_A)
173 @ $(DO_GNU_APP); $(LINK_APP)
175 DO_BEOS_SO= SHLIB=lib$(LIBNAME).so; \
177 ALLSYMSFLAGS='-Wl,--whole-archive'; \
178 NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
179 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SUFFIX"
182 @ $(DO_BEOS_SO); $(LINK_SO_O)
184 @ $(DO_BEOS_SO); $(LINK_SO_A)
187 @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \
189 SHLIB=lib$(LIBNAME).so; \
192 ALLSYMSFLAGS="-Wl,-Bforcearchive"; \
194 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -nostdlib"; \
197 @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \
199 SHLIB=lib$(LIBNAME).so; \
202 ALLSYMSFLAGS="-Wl,-Bforcearchive"; \
204 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -nostdlib"; \
207 @if ${DETECT_GNU_LD}; then $(DO_GNU_APP); else \
208 LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBPATH)"; \
211 # For Darwin AKA Mac OS/X (dyld)
212 # link_o.darwin produces .so, because we let it use dso_dlfcn module,
213 # which has .so extension hard-coded. One can argue that one should
214 # develop special dso module for MacOS X. At least manual encourages
215 # to use native NSModule(3) API and refers to dlfcn as termporary hack.
217 @ $(CALC_VERSIONS); \
218 SHLIB=lib$(LIBNAME); \
220 ALLSYMSFLAGS='-all_load'; \
222 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \
223 if [ -n "$(LIBVERSION)" ]; then \
224 SHAREDFLAGS="$$SHAREDFLAGS -current_version $(LIBVERSION)"; \
226 if [ -n "$$SHLIB_SOVER_NODOT" ]; then \
227 SHAREDFLAGS="$$SHAREDFLAGS -compatibility_version $$SHLIB_SOVER_NODOT"; \
231 @ $(CALC_VERSIONS); \
232 SHLIB=lib$(LIBNAME); \
233 SHLIB_SUFFIX=.dylib; \
234 ALLSYMSFLAGS='-all_load'; \
236 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \
237 if [ -n "$(LIBVERSION)" ]; then \
238 SHAREDFLAGS="$$SHAREDFLAGS -current_version $(LIBVERSION)"; \
240 if [ -n "$$SHLIB_SOVER_NODOT" ]; then \
241 SHAREDFLAGS="$$SHAREDFLAGS -compatibility_version $$SHLIB_SOVER_NODOT"; \
243 SHAREDFLAGS="$$SHAREDFLAGS -install_name ${INSTALLTOP}/lib/$$SHLIB${SHLIB_EXT}"; \
245 link_app.darwin: # is there run-path on darwin?
249 @ $(CALC_VERSIONS); \
250 INHIBIT_SYMLINKS=yes; \
251 SHLIB=cyg$(LIBNAME); \
252 expr $(PLATFORM) : 'mingw' > /dev/null && SHLIB=$(LIBNAME); \
254 LIBVERSION="$(LIBVERSION)"; \
255 SHLIB_SOVER=${LIBVERSION:+"-$(LIBVERSION)"}; \
256 ALLSYMSFLAGS='-Wl,--whole-archive'; \
257 NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
258 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,--out-implib,lib$(LIBNAME).dll.a"; \
261 @ $(CALC_VERSIONS); \
262 INHIBIT_SYMLINKS=yes; \
263 SHLIB=cyg$(LIBNAME); SHLIB_SOVER=-$(LIBVERSION); def=; \
264 if expr $(PLATFORM) : 'mingw' > /dev/null; then \
265 SHLIB=$(LIBNAME); SHLIB_SOVER=32; \
266 def="$(LIBNAME).def"; \
267 $(PERL) util/mkdef.pl 32 $(LIBNAME) > $$def; \
270 ALLSYMSFLAGS='-Wl,--whole-archive'; \
271 NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
272 base=; [ $(LIBNAME) = "crypto" ] && base=-Wl,--image-base,0x63000000; \
273 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base -Wl,-Bsymbolic -Wl,--out-implib,lib$(LIBNAME).dll.a $$def"; \
274 [ -f apps/$$SHLIB$$SHLIB_SUFFIX ] && rm apps/$$SHLIB$$SHLIB_SUFFIX; \
275 [ -f test/$$SHLIB$$SHLIB_SUFFIX ] && rm test/$$SHLIB$$SHLIB_SUFFIX; \
276 $(LINK_SO_A) || exit 1; \
277 cp -p $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX apps/; \
278 cp -p $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX test/
283 @ if ${DETECT_GNU_LD}; then \
286 SHLIB=lib$(LIBNAME).so; \
288 SHLIB_HIST=`echo "$(LIBCOMPATVERSIONS)" | cut -d';' -f2 | sed -e 's/ */:/'`; \
289 if [ -n "$$SHLIB_HIST" ]; then \
290 SHLIB_HIST="$${SHLIB_HIST}:$(LIBVERSION)"; \
292 SHLIB_HIST="$(LIBVERSION)"; \
295 ALLSYMSFLAGS='-all'; \
296 NOALLSYMSFLAGS='-none'; \
297 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
298 if [ -n "$$SHLIB_HIST" ]; then \
299 SHAREDFLAGS="$$SHAREDFLAGS -set_version $$SHLIB_HIST"; \
304 @ if ${DETECT_GNU_LD}; then \
307 SHLIB=lib$(LIBNAME).so; \
309 SHLIB_HIST=`echo "$(LIBCOMPATVERSIONS)" | cut -d';' -f2 | sed -e 's/ */:/'`; \
310 if [ -n "$$SHLIB_HIST" ]; then \
311 SHLIB_HIST="$${SHLIB_HIST}:$(LIBVERSION)"; \
313 SHLIB_HIST="$(LIBVERSION)"; \
316 ALLSYMSFLAGS='-all'; \
317 NOALLSYMSFLAGS='-none'; \
318 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared"; \
319 if [ -n "$$SHLIB_HIST" ]; then \
320 SHAREDFLAGS="$$SHAREDFLAGS -set_version $$SHLIB_HIST"; \
325 @if ${DETECT_GNU_LD}; then \
328 LDFLAGS="$(CFLAGS) -rpath $(LIBRPATH)"; \
333 @ if ${DETECT_GNU_LD}; then \
338 ($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSZ='-Wl,-z,'; \
339 SHLIB=lib$(LIBNAME).so; \
341 ALLSYMSFLAGS="$${MINUSZ}allextract"; \
342 NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
343 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
347 @ if ${DETECT_GNU_LD}; then \
352 (${CC} -v 2>&1 | grep gcc) > /dev/null && MINUSZ='-Wl,-z,'; \
353 SHLIB=lib$(LIBNAME).so; \
355 ALLSYMSFLAGS="$${MINUSZ}allextract"; \
356 NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
357 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
361 @ if ${DETECT_GNU_LD}; then \
364 LDFLAGS="$(CFLAGS) -R $(LIBRPATH)"; \
368 # OpenServer 5 native compilers used
370 @ if ${DETECT_GNU_LD}; then \
374 SHLIB=lib$(LIBNAME).so; \
378 SHAREDFLAGS="$(CFLAGS) -G -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
382 @ if ${DETECT_GNU_LD}; then \
386 SHLIB=lib$(LIBNAME).so; \
390 SHAREDFLAGS="$(CFLAGS) -G -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
392 $(LINK_SO_A_UNPACKED)
394 @${DETECT_GNU_LD} && $(DO_GNU_APP); \
397 # UnixWare 7 and OpenUNIX 8 native compilers used
399 @ if ${DETECT_GNU_LD}; then \
404 ($(CC) -v 2>&1 | grep gcc) > /dev/null && SHARE_FLAG='-shared'; \
405 SHLIB=lib$(LIBNAME).so; \
409 SHAREDFLAGS="$(CFLAGS) $${SHARE_FLAG} -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
413 @ if ${DETECT_GNU_LD}; then \
418 (${CC} -v 2>&1 | grep gcc) > /dev/null && SHARE_FLAG='-shared'; \
419 SHLIB=lib$(LIBNAME).so; \
423 SHAREDFLAGS="$(CFLAGS) $${SHARE_FLAG} -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
425 $(LINK_SO_A_UNPACKED)
427 @${DETECT_GNU_LD} && $(DO_GNU_APP); \
431 @ if ${DETECT_GNU_LD}; then \
435 SHLIB=lib$(LIBNAME).so; \
438 ($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSWL="-Wl,"; \
439 ALLSYMSFLAGS="$${MINUSWL}-all"; \
440 NOALLSYMSFLAGS="$${MINUSWL}-none"; \
441 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
445 @ if ${DETECT_GNU_LD}; then \
449 SHLIB=lib$(LIBNAME).so; \
452 ($(CC) -v 2>&1 | grep gcc) > /dev/null && MINUSWL="-Wl,"; \
453 ALLSYMSFLAGS="$${MINUSWL}-all"; \
454 NOALLSYMSFLAGS="$${MINUSWL}-none"; \
455 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
459 @LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"; \
462 # 32-bit PA-RISC HP-UX embeds the -L pathname of libs we link with, so
463 # we compensate for it with +cdp ../: and +cdp ./:. Yes, these rewrite
464 # rules imply that we can only link one level down in catalog structure,
465 # but that's what takes place for the moment of this writing. +cdp option
466 # was introduced in HP-UX 11.x and applies in 32-bit PA-RISC link
467 # editor context only [it's simply ignored in other cases, which are all
471 @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \
473 SHLIB=lib$(LIBNAME).sl; \
474 expr "$(CFLAGS)" : '.*DSO_DLFCN' > /dev/null && SHLIB=lib$(LIBNAME).so; \
476 ALLSYMSFLAGS='-Wl,-Fl'; \
478 expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \
479 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
481 rm -f $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX || :; \
482 $(LINK_SO_O) && chmod a=rx $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX
484 @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \
486 SHLIB=lib$(LIBNAME).sl; \
487 expr $(PLATFORM) : '.*ia64' > /dev/null && SHLIB=lib$(LIBNAME).so; \
489 ALLSYMSFLAGS='-Wl,-Fl'; \
491 expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \
492 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"; \
494 rm -f $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX || :; \
495 $(LINK_SO_A) && chmod a=rx $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX
497 @if ${DETECT_GNU_LD}; then $(DO_GNU_APP); else \
498 LDFLAGS="$(CFLAGS) -Wl,+s,+cdp,../:,+cdp,./:,+b,$(LIBRPATH)"; \
503 @ $(CALC_VERSIONS); \
504 OBJECT_MODE=`expr x$(SHARED_LDFLAGS) : 'x\-[a-z]\([0-9]*\)'`; \
505 OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \
506 SHLIB=lib$(LIBNAME).so; \
508 ALLSYMSFLAGS='-bnogc'; \
510 SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -G -bE:lib$(LIBNAME).exp -bM:SRE'; \
511 $(LINK_SO_O); rm -rf lib$(LIBNAME).exp
513 @ $(CALC_VERSIONS); \
514 OBJECT_MODE=`expr x$(SHARED_LDFLAGS) : 'x\-[a-z]\([0-9]*\)'`; \
515 OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \
516 SHLIB=lib$(LIBNAME).so; \
518 ALLSYMSFLAGS='-bnogc'; \
520 SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -G -bE:lib$(LIBNAME).exp -bM:SRE'; \
523 LDFLAGS="$(CFLAGS) -blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib}"; \
527 @ $(CALC_VERSIONS); \
528 SHLIB=lib$(LIBNAME).so; \
532 SHAREDFLAGS='$(CFLAGS) -G'; \
535 @ $(CALC_VERSIONS); \
536 SHLIB=lib$(LIBNAME).so; \
540 SHAREDFLAGS='$(CFLAGS) -G'; \
541 $(LINK_SO_A_UNPACKED)
542 link_app.reliantunix:
545 # Targets to build symbolic links when needed
546 symlink.gnu symlink.solaris symlink.svr3 symlink.svr5 symlink.irix \
547 symlink.aix symlink.reliantunix:
548 @ $(CALC_VERSIONS); \
549 SHLIB=lib$(LIBNAME).so; \
552 @ $(CALC_VERSIONS); \
553 SHLIB=lib$(LIBNAME); \
554 SHLIB_SUFFIX=.dylib; \
557 @ $(CALC_VERSIONS); \
558 SHLIB=lib$(LIBNAME).sl; \
559 expr $(PLATFORM) : '.*ia64' > /dev/null && SHLIB=lib$(LIBNAME).so; \
561 # The following lines means those specific architectures do no symlinks
562 symlink.cygwin symlink.alpha-osf1 symlink.tru64 symlink.tru64-rpath symlink.beos:
564 # Compatibility targets
565 link_o.bsd-gcc-shared link_o.linux-shared link_o.gnu-shared: link_o.gnu
566 link_a.bsd-gcc-shared link_a.linux-shared link_a.gnu-shared: link_a.gnu
567 link_app.bsd-gcc-shared link_app.linux-shared link_app.gnu-shared: link_app.gnu
568 symlink.bsd-gcc-shared symlink.bsd-shared symlink.linux-shared symlink.gnu-shared: symlink.gnu
569 link_o.bsd-shared: link_o.bsd
570 link_a.bsd-shared: link_a.bsd
571 link_app.bsd-shared: link_app.bsd
572 link_o.darwin-shared: link_o.darwin
573 link_a.darwin-shared: link_a.darwin
574 link_app.darwin-shared: link_app.darwin
575 symlink.darwin-shared: symlink.darwin
576 link_o.cygwin-shared: link_o.cygwin
577 link_a.cygwin-shared: link_a.cygwin
578 link_app.cygwin-shared: link_app.cygwin
579 symlink.cygwin-shared: symlink.cygwin
580 link_o.alpha-osf1-shared: link_o.alpha-osf1
581 link_a.alpha-osf1-shared: link_a.alpha-osf1
582 link_app.alpha-osf1-shared: link_app.alpha-osf1
583 symlink.alpha-osf1-shared: symlink.alpha-osf1
584 link_o.tru64-shared: link_o.tru64
585 link_a.tru64-shared: link_a.tru64
586 link_app.tru64-shared: link_app.tru64
587 symlink.tru64-shared: symlink.tru64
588 link_o.tru64-shared-rpath: link_o.tru64-rpath
589 link_a.tru64-shared-rpath: link_a.tru64-rpath
590 link_app.tru64-shared-rpath: link_app.tru64-rpath
591 symlink.tru64-shared-rpath: symlink.tru64-rpath
592 link_o.solaris-shared: link_o.solaris
593 link_a.solaris-shared: link_a.solaris
594 link_app.solaris-shared: link_app.solaris
595 symlink.solaris-shared: symlink.solaris
596 link_o.svr3-shared: link_o.svr3
597 link_a.svr3-shared: link_a.svr3
598 link_app.svr3-shared: link_app.svr3
599 symlink.svr3-shared: symlink.svr3
600 link_o.svr5-shared: link_o.svr5
601 link_a.svr5-shared: link_a.svr5
602 link_app.svr5-shared: link_app.svr5
603 symlink.svr5-shared: symlink.svr5
604 link_o.irix-shared: link_o.irix
605 link_a.irix-shared: link_a.irix
606 link_app.irix-shared: link_app.irix
607 symlink.irix-shared: symlink.irix
608 link_o.hpux-shared: link_o.hpux
609 link_a.hpux-shared: link_a.hpux
610 link_app.hpux-shared: link_app.hpux
611 symlink.hpux-shared: symlink.hpux
612 link_o.aix-shared: link_o.aix
613 link_a.aix-shared: link_a.aix
614 link_app.aix-shared: link_app.aix
615 symlink.aix-shared: symlink.aix
616 link_o.reliantunix-shared: link_o.reliantunix
617 link_a.reliantunix-shared: link_a.reliantunix
618 link_app.reliantunix-shared: link_app.reliantunix
619 symlink.reliantunix-shared: symlink.reliantunix
620 link_o.beos-shared: link_o.beos
621 link_a.beos-shared: link_a.beos
622 link_app.beos-shared: link_app.gnu
623 symlink.beos-shared: symlink.beos