[xiph-commits] r12836 - in trunk/theora-exp: . lib

j at svn.xiph.org j at svn.xiph.org
Mon Apr 9 09:19:07 PDT 2007


Author: j
Date: 2007-04-09 09:19:03 -0700 (Mon, 09 Apr 2007)
New Revision: 12836

Modified:
   trunk/theora-exp/Makefile.am
   trunk/theora-exp/configure.ac
   trunk/theora-exp/lib/Makefile.am
Log:
add profile hooks to theora-exp, make profile currently fails though

Modified: trunk/theora-exp/Makefile.am
===================================================================
--- trunk/theora-exp/Makefile.am	2007-04-08 13:04:56 UTC (rev 12835)
+++ trunk/theora-exp/Makefile.am	2007-04-09 16:19:03 UTC (rev 12836)
@@ -16,3 +16,10 @@
 
 dist-hook:
 	rm -rf `find $(distdir)/doc -name .svn`
+
+
+debug:
+	$(MAKE) all CFLAGS="@DEBUG@"
+
+profile:
+	$(MAKE) all CFLAGS="@PROFILE@"

Modified: trunk/theora-exp/configure.ac
===================================================================
--- trunk/theora-exp/configure.ac	2007-04-08 13:04:56 UTC (rev 12835)
+++ trunk/theora-exp/configure.ac	2007-04-09 16:19:03 UTC (rev 12836)
@@ -152,6 +152,11 @@
     ac_enable_x86asm=no
 fi
 
+DEBUG="-g -Wall -DDEBUG -D__NO_MATH_INLINES"
+PROFILE="-g -p -O3 -DDEBUG";
+AC_SUBST(DEBUG)
+AC_SUBST(PROFILE)
+
 dnl enable experimental encoder
 ac_enable_encode=no
 AC_ARG_ENABLE(encode,

Modified: trunk/theora-exp/lib/Makefile.am
===================================================================
--- trunk/theora-exp/lib/Makefile.am	2007-04-08 13:04:56 UTC (rev 12835)
+++ trunk/theora-exp/lib/Makefile.am	2007-04-09 16:19:03 UTC (rev 12836)
@@ -78,3 +78,9 @@
 
 libtheoraenc_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@ @OGG_LIBS@
 
+debug:
+	$(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence"
+
+profile:
+	$(MAKE) all CFLAGS="@PROFILE@"
+



More information about the commits mailing list