mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Move to object oriented model
There is now a single Manager class shared between all apps. Apps then share a collection of Device objects.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
BUILT_SOURCES = server-bindings.h
|
||||
BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h
|
||||
noinst_HEADERS = $(BUILT_SOURCES)
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
@ -6,10 +6,13 @@ EXTRA_DIST = fprintd.xml
|
||||
|
||||
bin_PROGRAMS = fprintd
|
||||
|
||||
fprintd_SOURCES = main.c
|
||||
fprintd_SOURCES = main.c manager.c device.c
|
||||
fprintd_LDADD = $(GLIB_LIBS) $(DBUS_GLIB_LIBS) $(FPRINT_LIBS)
|
||||
fprintd_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) $(DBUS_GLIB_CFLAGS) $(FPRINT_CFLAGS)
|
||||
|
||||
server-bindings.h: fprintd.xml
|
||||
dbus-binding-tool --prefix=fprint --mode=glib-server $< --output=$@
|
||||
manager-dbus-glue.h: manager.xml
|
||||
dbus-binding-tool --prefix=fprint_manager --mode=glib-server $< --output=$@
|
||||
|
||||
device-dbus-glue.h: device.xml
|
||||
dbus-binding-tool --prefix=fprint_device --mode=glib-server $< --output=$@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user