Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
3652a643
Commit
3652a643
authored
16 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
[#1220] Explicitly generate glue files before building the library
parent
ebcc8b27
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-gnome/src/dbus/Makefile.am
+21
-24
21 additions, 24 deletions
sflphone-client-gnome/src/dbus/Makefile.am
src/dbus/Makefile.am
+22
-22
22 additions, 22 deletions
src/dbus/Makefile.am
with
43 additions
and
46 deletions
sflphone-client-gnome/src/dbus/Makefile.am
+
21
−
24
View file @
3652a643
include
../../globals.mak
include
../../globals.mak
GENHEADERS
=
\
noinst_LTLIBRARIES
=
libdbus.la
BUILD_SOURCES
=
\
callmanager-glue.h
\
callmanager-glue.h
\
configurationmanager-glue.h
\
configurationmanager-glue.h
\
instance-glue.h
instance-glue.h
\
MARSHALLER_SOURCES
=
\
marshaller.c
\
marshaller.c
\
marshaller.h
marshaller.h
EXTRA_DIST
=
marshaller.list
CLEANFILES
=
\
$(
GENHEADERS
)
\
$(
MARSHALLER_SOURCES
)
# Rule to generate the binding headers
# Rule to generate the binding headers
%-glue.h
:
../../../src/dbus/%-introspec.xml Makefile.am
%-glue.h
:
../../../src/dbus/%-introspec.xml Makefile.am
dbus-binding-tool
--mode
=
glib-client
$<
>
$@
dbus-binding-tool
--mode
=
glib-client
$<
>
$@
# Create the necessary marshallers for the signals implemented by the
# Create the necessary marshallers for the signals implemented by the library
# library
marshaller.h
:
marshaller.list Makefile.am
glib-genmarshal
--header
--g-fatal-warnings
$<
>
$@
marshaller.c
:
marshaller.list
marshaller.c
:
marshaller.list
glib-genmarshal
--body
--g-fatal-warnings
$<
>
$@
glib-genmarshal
--body
--g-fatal-warnings
$<
>
$@
noinst_LTLIBRARIES
=
libdbus.la
marshaller.h
:
marshaller.list
libdbus_la_SOURCES
=
dbus.c
\
glib-genmarshal
--header
--g-fatal-warnings
$<
>
$@
$(
MARSHALLER_SOURCES
)
\
$(
GENHEADERS
)
libdbus_la_SOURCES
=
\
dbus.c
\
$(
BUILD_SOURCES
)
libdbus_la_LDFLAGS
=
@DEPS_LDFLAGS@
libdbus_la_LDFLAGS
=
@DEPS_LDFLAGS@
libdbus_la_CFLAGS
=
@DEPS_CFLAGS@
libdbus_la_CFLAGS
=
@DEPS_CFLAGS@
EXTRA_DIST
=
\
marshaller.list
CLEANFILES
=
\
$(
BUILD_SOURCES
)
This diff is collapsed.
Click to expand it.
src/dbus/Makefile.am
+
22
−
22
View file @
3652a643
include
$(top_srcdir)/globals.mak
include
$(top_srcdir)/globals.mak
EXTRA_DIST
=
*
.xml README
noinst_LTLIBRARIES
=
libdbus.la
GENHEADERS
=
\
BUILD_SOURCES
=
\
callmanager-glue.h
\
callmanager-glue.h
\
configurationmanager-glue.h
\
configurationmanager-glue.h
\
instance-glue.h
instance-glue.h
CLEANFILES
=
\
$(
GENHEADERS
)
# Rule to generate the binding headers
# Rule to generate the binding headers
%-glue.h
:
%-introspec.xml Makefile.am
%-glue.h
:
%-introspec.xml Makefile.am
dbusxx-xml2cpp
$<
--adaptor
=
$@
dbusxx-xml2cpp
$<
--adaptor
=
$@
noinst_LTLIBRARIES
=
libdbus.la
libdbus_la_SOURCES
=
\
libdbus_la_SOURCES
=
\
callmanager.cpp
\
callmanager.cpp
\
configurationmanager.cpp
\
configurationmanager.cpp
\
...
@@ -27,12 +22,12 @@ libdbus_la_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphon
...
@@ -27,12 +22,12 @@ libdbus_la_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphon
libdbus_la_LIBADD
=
$(
top_srcdir
)
/libs/dbus-c++/src/libdbus-c++-1.la
libdbus_la_LIBADD
=
$(
top_srcdir
)
/libs/dbus-c++/src/libdbus-c++-1.la
noinst_HEADERS
=
\
noinst_HEADERS
=
\
$(
GENHEADERS
)
\
callmanager.h
\
callmanager.h
\
configurationmanager.h
\
configurationmanager.h
\
instance.h
\
instance.h
\
dbusmanager.h
\
dbusmanager.h
\
dbusmanagerimpl.h
dbusmanagerimpl.h
\
$(
BUILD_SOURCES
)
# Dbus service file
# Dbus service file
servicedir
=
$(
DBUS_SERVICES_DIR
)
servicedir
=
$(
DBUS_SERVICES_DIR
)
...
@@ -42,3 +37,8 @@ service_DATA = $(service_in_files:.service.in=.service)
...
@@ -42,3 +37,8 @@ service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
# Rule to make the service file with bindir expanded
$(service_DATA)
:
$(service_in_files) Makefile
$(service_DATA)
:
$(service_in_files) Makefile
sed
-e
"s|bindir|
$(
prefix
)
/bin|"
$<
>
$@
sed
-e
"s|bindir|
$(
prefix
)
/bin|"
$<
>
$@
EXTRA_DIST
=
*
.xml README
CLEANFILES
=
\
$(
BUILD_SOURCES
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment