~xnox/upstart/reload-signal

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Dmitrijs Ledkovs
  • Date: 2013-07-03 13:23:49 UTC
  • mfrom: (1497.2.5 upstart-fix-libupstart)
  • Revision ID: dmitrijs.ledkovs@canonical.com-20130703132349-jmy1dn3810nuxga8
MergeĀ lp:~jamesodhunt/upstart/fix-libupstart

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
# The library is built from the autogenerated code.
25
25
libupstart_la_SOURCES = upstart.h
 
26
include_HEADERS = $(libupstart_la_SOURCES)
 
27
 
 
28
upstartincludedir = $(includedir)/upstart
 
29
 
 
30
upstartinclude_HEADERS = \
 
31
        upstart/com.ubuntu.Upstart.h \
 
32
        upstart/com.ubuntu.Upstart.Instance.h \
 
33
        upstart/com.ubuntu.Upstart.Job.h \
 
34
        upstart/upstart-dbus.h
 
35
 
 
36
 
 
37
upstart/upstart-dbus.h: \
 
38
        $(top_srcdir)/dbus/upstart.h \
 
39
        upstart/com.ubuntu.Upstart.h \
 
40
        upstart/com.ubuntu.Upstart.Instance.h \
 
41
        upstart/com.ubuntu.Upstart.Job.h
 
42
        cp $< $@
 
43
 
26
44
nodist_libupstart_la_SOURCES = \
27
45
        $(com_ubuntu_Upstart_OUTPUTS) \
28
46
        $(com_ubuntu_Upstart_Job_OUTPUTS) \
29
47
        $(com_ubuntu_Upstart_Instance_OUTPUTS)
30
48
 
31
 
libupstart_la_LIBADD = 
 
49
libupstart_la_LIBADD = \
32
50
        $(LTLIBINTL) \
33
51
        $(NIH_LIBS) \
34
52
        $(NIH_DBUS_LIBS) \
86
104
        -lrt
87
105
 
88
106
com_ubuntu_Upstart_OUTPUTS = \
89
 
        com.ubuntu.Upstart.c \
90
 
        com.ubuntu.Upstart.h
 
107
        upstart/com.ubuntu.Upstart.c \
 
108
        upstart/com.ubuntu.Upstart.h
91
109
 
92
110
com_ubuntu_Upstart_XML = \
93
111
        ../dbus/com.ubuntu.Upstart.xml
95
113
# XXX: We have to use proxy mode for clients
96
114
# XXX: (meaning we cannot use the library for init itself)
97
115
$(com_ubuntu_Upstart_OUTPUTS): $(com_ubuntu_Upstart_XML)
 
116
        mkdir -p upstart
98
117
        $(AM_V_GEN)$(NIH_DBUS_TOOL) \
99
118
                --package=$(PACKAGE) \
100
119
                --mode=proxy --prefix=upstart \
102
121
                --output=$@ $<
103
122
 
104
123
com_ubuntu_Upstart_Job_OUTPUTS = \
105
 
        com.ubuntu.Upstart.Job.c \
106
 
        com.ubuntu.Upstart.Job.h
 
124
        upstart/com.ubuntu.Upstart.Job.c \
 
125
        upstart/com.ubuntu.Upstart.Job.h
107
126
 
108
127
com_ubuntu_Upstart_Job_XML = \
109
128
        ../dbus/com.ubuntu.Upstart.Job.xml
110
129
 
111
130
$(com_ubuntu_Upstart_Job_OUTPUTS): $(com_ubuntu_Upstart_Job_XML)
 
131
        mkdir -p upstart
112
132
        $(AM_V_GEN)$(NIH_DBUS_TOOL) \
113
133
                --package=$(PACKAGE) \
114
134
                --mode=proxy --prefix=job_class \
116
136
                --output=$@ $<
117
137
 
118
138
com_ubuntu_Upstart_Instance_OUTPUTS = \
119
 
        com.ubuntu.Upstart.Instance.c \
120
 
        com.ubuntu.Upstart.Instance.h
 
139
        upstart/com.ubuntu.Upstart.Instance.c \
 
140
        upstart/com.ubuntu.Upstart.Instance.h
121
141
 
122
142
com_ubuntu_Upstart_Instance_XML = \
123
143
        ../dbus/com.ubuntu.Upstart.Instance.xml
124
144
 
125
145
$(com_ubuntu_Upstart_Instance_OUTPUTS): $(com_ubuntu_Upstart_Instance_XML)
 
146
        mkdir -p upstart
126
147
        $(AM_V_GEN)$(NIH_DBUS_TOOL) \
127
148
                --package=$(PACKAGE) \
128
149
                --mode=proxy --prefix=job \
134
155
BUILT_SOURCES = \
135
156
        $(com_ubuntu_Upstart_OUTPUTS) \
136
157
        $(com_ubuntu_Upstart_Job_OUTPUTS) \
137
 
        $(com_ubuntu_Upstart_Instance_OUTPUTS)
 
158
        $(com_ubuntu_Upstart_Instance_OUTPUTS) \
 
159
        upstart/upstart-dbus.h
138
160
 
139
161
CLEANFILES = \
140
162
        $(com_ubuntu_Upstart_OUTPUTS) \
149
171
 
150
172
clean-local:
151
173
        rm -f *.gcno *.gcda
 
174
        rm -rf upstart/
152
175
 
153
176
maintainer-clean-local:
154
177
        rm -f *.gcov