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

# Content
1 # Makefile for libstatgrab/src/libstatgrab
2 # http://www.i-scream.org/libstatgrab/
3 # $Id: Makefile.am,v 1.22 2004/04/04 21:17:58 ats Exp $
4
5 if DEPRECATED
6 include_DEPRECATEDHEADERS = statgrab_deprecated.h
7 endif
8 include_HEADERS = statgrab.h $(include_DEPRECATEDHEADERS)
9 lib_LTLIBRARIES = libstatgrab.la
10
11 libstatgrab_la_LDFLAGS = -version-info 4:0:3
12
13 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
18 noinst_HEADERS = tools.h vector.h