ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/Makefile.am
Revision: 1.23
Committed: Tue Apr 6 16:37:34 2004 UTC (20 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.22: +9 -3 lines
Log Message:
Add compatibility code. This provides a working pre-0.10 API for old
applications. To use simply change the #include line to:

#define SG_ENABLE_DEPRECATED
#include <statgrab.h>

This can be disabled at build time completely using --disable-deprecated.

File Contents

# User Rev Content
1 tdb 1.12 # Makefile for libstatgrab/src/libstatgrab
2 tdb 1.19 # http://www.i-scream.org/libstatgrab/
3 tdb 1.23 # $Id: Makefile.am,v 1.22 2004/04/04 21:17:58 ats Exp $
4 tdb 1.1
5 tdb 1.23 if DEPRECATED
6     include_DEPRECATEDHEADERS = statgrab_deprecated.h
7     endif
8     include_HEADERS = statgrab.h $(include_DEPRECATEDHEADERS)
9 tdb 1.1 lib_LTLIBRARIES = libstatgrab.la
10    
11 tdb 1.21 libstatgrab_la_LDFLAGS = -version-info 4:0:3
12 tdb 1.1
13 tdb 1.23 if DEPRECATED
14     libstatgrab_la_DEPRECATEDSOURCES = statgrab_deprecated.c
15     endif
16     libstatgrab_la_SOURCES = cpu_stats.c disk_stats.c load_stats.c memory_stats.c network_stats.c os_info.c page_stats.c process_stats.c swap_stats.c user_stats.c tools.c vector.c $(libstatgrab_la_DEPRECATEDSOURCES)
17 tdb 1.3
18 ats 1.22 noinst_HEADERS = tools.h vector.h