[pisa-src] r1492 - trunk/Makefile.am

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 02 Nov 2009 17:46:01 +0100

Author: tjansen
Date: Mon Nov  2 17:46:00 2009
New Revision: 1492

Log:
Do not build libperformance unless we specify --enable-performance.

Modified:
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am   Mon Nov  2 17:33:07 2009        (r1491)
+++ trunk/Makefile.am   Mon Nov  2 17:46:00 2009        (r1492)
@@ -22,7 +22,7 @@
 sbin_PROGRAMS = pisabeacon/pisabeacon tools/iwlist_parser tools/msleep
 sbin_PROGRAMS += pisacd/pisacd pisasd/pisasd
 
-lib_LTLIBRARIES = libpisa/libpisa.la performance/libperformance.la
+lib_LTLIBRARIES = libpisa/libpisa.la
 
 libpisa_libpisa_la_SOURCES  = libpisa/arp.c libpisa/cfg.c libpisa/conmgr.c \
                               libpisa/ctrlhandler.c \
@@ -59,6 +59,7 @@
 endif
 
 if PISA_PERFORMANCE
+  lib_LTLIBRARIES += performance/libperformance.la
   pisacd_pisacd_LDFLAGS += @PISA_PERFORMANCE_LIB_STATIC@
   pisasd_pisasd_LDFLAGS += @PISA_PERFORMANCE_LIB_STATIC@
 endif

Other related posts: