~ubuntu-branches/ubuntu/trusty/sysprof/trusty

« back to all changes in this revision

Viewing changes to .pc/Don-t-install-udev-rule.patch/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Ritesh Raj Sarraf
  • Date: 2011-06-13 23:05:39 UTC
  • mfrom: (8.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110613230539-426qhsc3k996edou
Tags: 1.1.6-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#SUBDIRS = $(MODULE_SUBDIR)
 
2
#DIST_SUBDIRS = module
 
3
 
 
4
bin_PROGRAMS = sysprof-cli
 
5
 
 
6
if BUILD_GUI
 
7
bin_PROGRAMS += sysprof 
 
8
endif
 
9
 
 
10
SYSPROF_CORE =                                  \
 
11
        binfile.h                               \
 
12
        binfile.c                               \
 
13
        collector.c                             \
 
14
        collector.h                             \
 
15
        demangle.c                              \
 
16
        elfparser.c                             \
 
17
        elfparser.h                             \
 
18
        profile.h                               \
 
19
        profile.c                               \
 
20
        sfile.h                                 \
 
21
        sfile.c                                 \
 
22
        sformat.h                               \
 
23
        sformat.c                               \
 
24
        stackstash.h                            \
 
25
        stackstash.c                            \
 
26
        tracker.h                               \
 
27
        tracker.c                               \
 
28
        unwind.h                                \
 
29
        unwind.c                                \
 
30
        watch.h                                 \
 
31
        watch.c                                 \
 
32
                                                \
 
33
        perf_counter.h                          \
 
34
        util.h
 
35
 
 
36
#       module/sysprof-module.h                 
 
37
 
 
38
#
 
39
# GUI version
 
40
#
 
41
if BUILD_GUI
 
42
 
 
43
sysprof_SOURCES =                               \
 
44
        $(SYSPROF_CORE)                         \
 
45
        footreestore.c                          \
 
46
        footreestore.h                          \
 
47
        footreedatalist.h                       \
 
48
        footreedatalist.c                       \
 
49
        treeviewutils.h                         \
 
50
        treeviewutils.c                         \
 
51
        sysprof.c
 
52
 
 
53
sysprof_CPPFLAGS =                              \
 
54
        $(GUI_DEP_CFLAGS)                       \
 
55
        -DDATADIR=\"$(pkgdatadir)\"             \
 
56
        -DPIXMAPDIR=\"$(pixmapsdir)\"
 
57
 
 
58
sysprof_LDADD = $(GUI_DEP_LIBS)
 
59
 
 
60
endif
 
61
 
 
62
udevdir = $(sysconfdir)/udev/rules.d
 
63
dist_udev_DATA = 60-sysprof.rules
 
64
 
 
65
pixmapsdir = $(datadir)/pixmaps
 
66
 
 
67
dist_pkgdata_DATA = sysprof.glade
 
68
dist_pixmaps_DATA = sysprof-icon-16.png sysprof-icon-24.png sysprof-icon-32.png sysprof-icon-48.png
 
69
 
 
70
#
 
71
# Command line version
 
72
#
 
73
 
 
74
sysprof_cli_SOURCES =                           \
 
75
        $(SYSPROF_CORE)                         \
 
76
        signal-handler.h                        \
 
77
        signal-handler.c                        \
 
78
        sysprof-cli.c
 
79
 
 
80
sysprof_cli_CPPFLAGS =                          \
 
81
        $(CORE_DEP_CFLAGS)
 
82
 
 
83
sysprof_cli_LDADD = $(CORE_DEP_LIBS)
 
84
 
 
85
#
 
86
# Module stuff
 
87
#  
 
88
 
 
89
#EXTRA_DIST =                                   \
 
90
#       module/sysprof-module.c                 \
 
91
#       module/sysprof-module.h                 \
 
92
#       module/Makefile
 
93
 
 
94
#insert-module:
 
95
#       /sbin/modprobe -r sysprof-module
 
96
#       /sbin/modprobe sysprof-module
 
97
 
 
98
 
99
# Test programs
 
100
#
 
101
noinst_PROGRAMS = testelf testunwind
 
102
 
 
103
# testunwind
 
104
testunwind_SOURCES =    \
 
105
        testunwind.c    \
 
106
        demangle.c      \
 
107
        elfparser.c     \
 
108
        elfparser.h     \
 
109
        unwind.c        \
 
110
        unwind.h
 
111
testunwind_CPPFLAGS = $(CORE_DEP_CFLAGS)
 
112
testunwind_LDADD = $(CORE_DEP_LIBS)
 
113
 
 
114
# testelf
 
115
testelf_SOURCES =       \
 
116
        testelf.c       \
 
117
        demangle.c      \
 
118
        elfparser.c     \
 
119
        elfparser.h
 
120
 
 
121
testelf_CPPFLAGS = $(CORE_DEP_CFLAGS)
 
122
testelf_LDADD = $(CORE_DEP_LIBS)