/usr/share/GNUstep/Documentation/Developer/Make/Manual/Internals/node3.html is in gnustep-make-doc 2.6.1-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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>2 From `make' to the internal-all rule</TITLE>
<META NAME="description" CONTENT="2 From `make' to the internal-all rule">
<META NAME="keywords" CONTENT="internals">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="internals.css">
<LINK REL="next" HREF="node4.html">
<LINK REL="previous" HREF="node2.html">
<LINK REL="up" HREF="internals.html">
<LINK REL="next" HREF="node4.html">
</HEAD>
<BODY BGCOLOR="#FFFFFF" text="#000000" link="#0000FF" vlink="#4444FF" alink="#3388FF">
<B> Next: <A NAME="tex2html40"
HREF="node4.html">3 From the internal-all</A> </B>
<B>Up: <A NAME="tex2html38"
HREF="internals.html">GNUstep Makefile Package Internals</A> </B>
<B> Previous: <A NAME="tex2html32"
HREF="node2.html">1 Introduction</A> </B>
<BR> <P>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00030000000000000000">
2 From `make' to the internal-all rule</A>
</H1>
Imagine for example that in your <TT> GNUmakefile</TT> you include both
<TT>tool.make</TT> and <TT>library.make</TT>, as in the following example:
<PRE>
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = decrypt
decrypt_OBJC_FILES = decrypt.m
LIBRARY_NAME = libDvd
libDvd_OBJC_FILES = decss.m
include $(GNUSTEP_MAKEFILES)/tool.make
include $(GNUSTEP_MAKEFILES)/library.make
</PRE> Then you type `make' on the command line. We want to understand what
happens.
<P>
Make will process your <TT>GNUmakefile</TT>, which includes
<TT>tool.make</TT>, and that will include <TT>rules.make</TT>. In
<TT>rules.make</TT> make finds the first rule (the one which is
executed), which is
<PRE>
all:: before-all internal-all after-all
</PRE>
This means that make will build by default that target <TT> all</TT>,
and that building that target requires building the
<TT>before-all</TT>, <TT>internal-all</TT> and <TT>after-all</TT>
targets. We ignore the <TT>before-all</TT> and <TT>after-all</TT>
targets for now, and only concentrate on the core target, which is
<TT>internal-all</TT>.
<P>
<BR><HR>
<ADDRESS>
root
2003-12-10
</ADDRESS>
</BODY>
</HTML>
|