This file is indexed.

/usr/share/GNUstep/Documentation/Developer/Make/Manual/gnustep-make/native_002dlibrary_002emake.html is in gnustep-make-doc 2.6.8-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
<head>
<title>GNUstep Makefile Package: native-library.make</title>

<meta name="description" content="GNUstep Makefile Package: native-library.make">
<meta name="keywords" content="GNUstep Makefile Package: native-library.make">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Project-Types.html#Project-Types" rel="up" title="Project Types">
<link href="nsis_002emake.html#nsis_002emake" rel="next" title="nsis.make">
<link href="Example-Library-Makefile.html#Example-Library-Makefile" rel="prev" title="Example Library Makefile">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<a name="native_002dlibrary_002emake"></a>
<div class="header">
<p>
Next: <a href="nsis_002emake.html#nsis_002emake" accesskey="n" rel="next">nsis.make</a>, Previous: <a href="library_002emake.html#library_002emake" accesskey="p" rel="prev">library.make</a>, Up: <a href="Project-Types.html#Project-Types" accesskey="u" rel="up">Project Types</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<a name="Native-Library-_0028native_002dlibrary_002emake_0029"></a>
<h4 class="subsection">1.4.9 Native Library (<samp>native-library.make</samp>)</h4>

<p>A &quot;native library&quot; is a project which is to be built as a shared
library on most targets and as a framework on Darwin.  (Currently
this is only the case for apple-apple-apple.)  In other
words, it is to be built as the most appropriate native equivalent
of a traditional shared library (see <a href="library_002emake.html#library_002emake">library.make</a> and
<a href="framework_002emake.html#framework_002emake">framework.make</a>).
</p>
<dl>
<dt><a name="index-NATIVE_005fLIBRARY_005fNAME"></a>Native Library project: <strong>NATIVE_LIBRARY_NAME</strong></dt>
<dd><p><code>NATIVE_LIBRARY_NAME</code> should be the name of the native library,
without the &rsquo;lib&rsquo;.  All the other variables are the same as
the ones used in libraries and frameworks.
</p></dd></dl>

<p>To compile something against a native library, you can use
<code>ADDITIONAL_NATIVE_LIBS += MyLibrary</code>
This will be converted into -lMyLibrary link flag on for most
targets and into -framework MyLibrary link flag for
apple-apple-apple.
</p>
<p>To add the corresponding flags, you can use
<code>ADDITIONAL_NATIVE_LIB_DIRS += ../MyPath</code>
This will be converted into -L../MyPath/$(GNUSTEP_OBJ_DIR) flag 
on for most targets and into -F../MyPath flag for apple-apple-apple.
</p>



</body>
</html>