You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
1.7 KiB

  1. CLEANFILES =
  2. noinst_LTLIBRARIES =
  3. lib_LTLIBRARIES = libxapp.la
  4. AM_CPPFLAGS = \
  5. -I$(top_srcdir) \
  6. $(XAPP_CFLAGS) \
  7. $(XLIB_CFLAGS) \
  8. -DG_LOG_DOMAIN=\"XApp\" \
  9. -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale\"" \
  10. $(DISABLE_DEPRECATED_CFLAGS)
  11. AM_CFLAGS = $(WARN_CFLAGS)
  12. introspection_sources = \
  13. xapp-monitor-blanker.c \
  14. xapp-kbd-layout-controller.c
  15. libxapp_la_SOURCES = \
  16. $(introspection_sources)
  17. libxapp_la_LIBADD = \
  18. $(XLIB_LIBS) \
  19. $(XAPP_LIBS) \
  20. -lrt
  21. libxapp_la_LDFLAGS = \
  22. -version-info $(LT_VERSION) \
  23. -export-symbols-regex "^xapp_.*" \
  24. -no-undefined
  25. pkgconfigdir = $(libdir)/pkgconfig
  26. pkgconfig_DATA = xapp.pc
  27. libxappdir = $(includedir)/xapp/libxapp
  28. libxapp_HEADERS = \
  29. xapp-monitor-blanker.h \
  30. xapp-kbd-layout-controller.h
  31. -include $(INTROSPECTION_MAKEFILE)
  32. INTROSPECTION_GIRS =
  33. INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
  34. INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
  35. if HAVE_INTROSPECTION
  36. XApp-1.0.gir: libxapp.la
  37. XApp_1_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
  38. XApp_1_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0
  39. XApp_1_0_gir_EXPORT_PACKAGES = xapp
  40. XApp_1_0_gir_CFLAGS = -I$(top_srcdir) -DWITH_INTROSPECTION
  41. XApp_1_0_gir_LIBS = libxapp.la
  42. XApp_1_0_gir_FILES = $(introspection_sources) $(libxapp_HEADERS)
  43. XApp_1_0_gir_SCANNERFLAGS = --identifier-prefix=XApp --symbol-prefix=xapp_
  44. INTROSPECTION_GIRS += XApp-1.0.gir
  45. girdir = $(datadir)/gir-1.0
  46. gir_DATA = $(INTROSPECTION_GIRS)
  47. typelibdir = $(libdir)/girepository-1.0
  48. typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
  49. CLEANFILES += $(gir_DATA) $(typelib_DATA)
  50. endif
  51. EXTRA_DIST = \
  52. xapp.pc.in \
  53. xapp-uninstalled.pc.in \
  54. $(pnpdata_DATA_dist)
  55. -include $(top_srcdir)/git.mk