[theora-dev] Building in a separate build tree

Rodolphe ORTALO rortalo at axians.com
Mon Apr 7 00:40:05 PDT 2003



Hello,

apparently, the following one-liner patch
to automake file "lib/Makefile.am" is needed
to build theora in a separate build directory.
 This may be convenient to build several versions
of the library based on the same source tree, or
just to keep the source tree clean.

Note too that -I. is not needed, automake does
an implicit -I$(srcdir) IIRC.

<p>Rodolphe

<p>ortalo at olrik:~/theora/lib$ cvs diff -u Makefile.am 
Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/theora/lib/Makefile.am,v
retrieving revision 1.1
diff -u -r1.1 Makefile.am
--- Makefile.am 23 Sep 2002 03:02:08 -0000      1.1
+++ Makefile.am 3 Apr 2003 10:40:14 -0000
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = foreign
 
-INCLUDES = -I./ -I../include
+INCLUDES = -I$(top_srcdir)/include
 
 lib_LTLIBRARIES = libtheora.la
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Theora-dev mailing list