~ubuntu-branches/ubuntu/utopic/numactl/utopic-proposed

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Ian Wienand
  • Date: 2012-11-15 12:20:29 UTC
  • mfrom: (1.3.9)
  • Revision ID: package-import@ubuntu.com-20121115122029-df53pmew2v1ydcsg
Tags: 2.0.8-1
New upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
              test/mbind_mig_pages test/migrate_pages \
33
33
              migratepages migspeed migspeed.o libnuma.a \
34
34
              test/move_pages test/realloc_test sysfs.o affinity.o \
35
 
              test/node-parse rtnetlink.o test/A
 
35
              test/node-parse rtnetlink.o test/A numastat
36
36
SOURCES := bitops.c libnuma.c distance.c memhog.c numactl.c numademo.c \
37
37
        numamon.c shm.c stream_lib.c stream_main.c syscall.c util.c mt.c \
38
38
        clearcache.c test/*.c affinity.c sysfs.c rtnetlink.c
39
39
 
 
40
ifeq ($(strip $(PREFIX)),)
40
41
prefix := /usr
 
42
else
 
43
prefix := $(PREFIX)
 
44
endif
41
45
libdir := ${prefix}/$(shell ./getlibdir)
42
46
docdir := ${prefix}/share/doc
43
47
 
45
49
     test/tshared stream test/mynode test/pagesize test/ftok test/prefered \
46
50
     test/randmap test/nodemap test/distance test/tbitmap test/move_pages \
47
51
     test/mbind_mig_pages test/migrate_pages test/realloc_test libnuma.a \
48
 
     test/node-parse
 
52
     test/node-parse numastat
49
53
 
50
54
numactl: numactl.o util.o shm.o bitops.o libnuma.so
51
55
 
 
56
numastat: CFLAGS += -std=gnu99
 
57
 
52
58
migratepages: migratepages.c util.o bitops.o libnuma.so
53
59
 
54
60
migspeed: LDLIBS += -lrt