~ubuntu-branches/ubuntu/maverick/xosview/maverick

« back to all changes in this revision

Viewing changes to .pc/07_snprintf_portablecheck_364629.diff/config/Makefile.linux.in

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2010-06-01 20:02:57 UTC
  • mfrom: (6.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100601200257-orz2mey0oilujocu
Tags: 1.8.3+debian-21
* debian/source/format:
  + Added to use source format 3.0 (quilt)
* debian/watch:
  + Fixed dversionmangle format
* Update debian/compat to 7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Linux Makefile template
 
3
#
 
4
#
 
5
# $Id$
 
6
#
 
7
include ../Makefile.config
 
8
@AUTODEPRULE_SUBDIR@
 
9
 
 
10
CXXFLAGS += -I@top_srcdir@
 
11
 
 
12
OBJS = \
 
13
cpumeter.o \
 
14
memmeter.o \
 
15
swapmeter.o \
 
16
pagemeter.o \
 
17
netmeter.o \
 
18
nfsmeter.o \
 
19
intmeter.o \
 
20
loadmeter.o \
 
21
btrymeter.o \
 
22
diskmeter.o \
 
23
raidmeter.o \
 
24
lmstemp.o \
 
25
MeterMaker.o
 
26
 
 
27
FAIL_ARCHS = arm m68k powerpc s390 sparc 3D s390x powerpc64
 
28
 
 
29
# Test for arm specifically, because arm can show up as a number of
 
30
# things prefixed by "arm"
 
31
# This means that no return value for host_cpu that contains a
 
32
# substring of "arm" will ever have a serialmeter.  Oh well.
 
33
#
 
34
# With the ioperm checks in serialmeter.cc, this should no longer be
 
35
# necessary.  In fact, it may no longer be necessary to perform this
 
36
# check at all, but it is left here just in case until this can be
 
37
# tested.
 
38
#
 
39
# ifneq (,$(findstring arm, @host_cpu@))
 
40
# ARCH = arm
 
41
# else
 
42
# ARCH = @host_cpu@
 
43
# endif
 
44
 
 
45
ARCH = @host_cpu@
 
46
 
 
47
ifneq (,$(findstring $(ARCH), $(FAIL_ARCHS)))
 
48
# Don't include serialmeter for above architectures
 
49
else
 
50
OBJS += serialmeter.o
 
51
endif
 
52
 
 
53
CFILES := $(OBJS:.o=.cc)
 
54
DEPFILES := $(OBJS:%=.%.d)
 
55
 
 
56
vpath %.h $(TOP)
 
57
vpath %.cc $(TOP)
 
58
 
 
59
#-----------------------------------------------------------------------
 
60
 
 
61
all : libmeter.a @MEMSTAT@
 
62
 
 
63
MemStat:
 
64
        $(MAKE) -C memstat
 
65
 
 
66
clean :
 
67
        rm -f $(OBJS) $(DEPFILES) libmeter.a *~
 
68
        if test "@MEMSTAT@" = "MemStat"; then $(MAKE) -C memstat clean; fi
 
69
 
 
70
libmeter.a : $(OBJS)
 
71
        ar cvr libmeter.a $(OBJS)
 
72
        @RANLIB@ $@
 
73
 
 
74
@AUTODEPEND@