patch-libsecret_Makefile_am 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. --- libsecret-0.16.orig/libsecret/Makefile.am 2013-08-26 17:42:16.000000000 +0200
  2. +++ libsecret-0.16/libsecret/Makefile.am 2013-11-21 12:06:37.000000000 +0100
  3. @@ -1,6 +1,6 @@
  4. include $(top_srcdir)/Makefile.decl
  5. -SUBDIRS = . tests
  6. +SUBDIRS = .
  7. AM_CPPFLAGS = \
  8. -I$(top_srcdir) \
  9. @@ -107,84 +107,6 @@ secret-enum-types.c: secret-enum-types.c
  10. CLEANFILES =
  11. -# ------------------------------------------------------------------
  12. -# INTROSPECTION
  13. -
  14. -if HAVE_INTROSPECTION
  15. -
  16. -include $(INTROSPECTION_MAKEFILE)
  17. -
  18. -INTROSPECTION_GIRS = Secret-@SECRET_MAJOR@.gir SecretUnstable-0.gir
  19. -INTROSPECTION_SCANNER_ARGS = $(INTROSPECTION_FLAGS) --warn-all --add-include-path=$(srcdir) --add-include-path=.
  20. -INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=.
  21. -
  22. -Secret-@SECRET_MAJOR@.gir: libsecret-@SECRET_MAJOR@.la
  23. -
  24. -Secret_@SECRET_MAJOR@_gir_NAMESPACE = Secret
  25. -Secret_@SECRET_MAJOR@_gir_EXPORT_PACKAGES = libsecret-@SECRET_MAJOR@
  26. -Secret_@SECRET_MAJOR@_gir_INCLUDES = GObject-2.0 Gio-2.0
  27. -Secret_@SECRET_MAJOR@_gir_LIBS = libsecret-@SECRET_MAJOR@.la
  28. -Secret_@SECRET_MAJOR@_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DSECRET_COMPILATION
  29. -Secret_@SECRET_MAJOR@_gir_FILES = $(STABLE_FILES)
  30. -Secret_@SECRET_MAJOR@_gir_SCANNERFLAGS = --c-include "libsecret/secret.h"
  31. -
  32. -SecretUnstable-0.gir: Secret-@SECRET_MAJOR@.gir
  33. -
  34. -SecretUnstable_0_gir_NAMESPACE = SecretUnstable
  35. -SecretUnstable_0_gir_EXPORT_PACKAGES = libsecret-unstable
  36. -SecretUnstable_0_gir_INCLUDES = GObject-2.0 Gio-2.0
  37. -SecretUnstable_0_gir_LIBS = libsecret-@SECRET_MAJOR@.la
  38. -SecretUnstable_0_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -DSECRET_COMPILATION -DSECRET_API_SUBJECT_TO_CHANGE
  39. -SecretUnstable_0_gir_FILES = $(UNSTABLE_FILES)
  40. -SecretUnstable_0_gir_SCANNERFLAGS = --c-include "libsecret/secret.h" --identifier-prefix=Secret --symbol-prefix=secret --include-uninstalled=$(builddir)/Secret-@SECRET_MAJOR@.gir
  41. -
  42. -girdir = $(datadir)/gir-1.0
  43. -gir_DATA = $(INTROSPECTION_GIRS)
  44. -
  45. -typelibsdir = $(libdir)/girepository-1.0
  46. -typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
  47. -
  48. -if ENABLE_VAPIGEN
  49. -include $(VAPIGEN_MAKEFILE)
  50. -
  51. -libsecret-@SECRET_MAJOR@.vapi: Secret-@SECRET_MAJOR@.gir Secret-@SECRET_MAJOR@.metadata libsecret-@SECRET_MAJOR@.deps
  52. -
  53. -libsecret-unstable.vapi: SecretUnstable-0.gir SecretUnstable-0.metadata libsecret-unstable.deps
  54. -
  55. -VAPIGEN_VAPIS = \
  56. - libsecret-@SECRET_MAJOR@.vapi \
  57. - libsecret-unstable.vapi
  58. -
  59. -libsecret_@SECRET_MAJOR@_vapi_DEPS = glib-2.0 gio-2.0
  60. -libsecret_@SECRET_MAJOR@_vapi_METADATADIRS = $(srcdir)
  61. -libsecret_@SECRET_MAJOR@_vapi_FILES = Secret-@SECRET_MAJOR@.gir
  62. -
  63. -libsecret_unstable_vapi_DEPS = gio-2.0 libsecret-@SECRET_MAJOR@
  64. -libsecret_unstable_vapi_METADATADIRS = $(srcdir)
  65. -libsecret_unstable_vapi_VAPIDIRS = $(builddir)
  66. -libsecret_unstable_vapi_GIRDIRS = $(builddir)
  67. -# ... because _GIRDIRS above is broken, yes, this is ugly
  68. -libsecret_unstable_vapi_FILES = --girdir=$(builddir)
  69. -libsecret_unstable_vapi_FILES += SecretUnstable-0.gir
  70. -
  71. -VAPI_DEPS = $(VAPIGEN_VAPIS:.vapi=.deps)
  72. -
  73. -libsecret-$(SECRET_MAJOR).deps: Makefile.am
  74. - $(AM_V_GEN) echo $(libsecret_@SECRET_MAJOR@_vapi_DEPS) | tr ' ' '\n' > $@
  75. -libsecret-unstable.deps: Makefile.am
  76. - $(AM_V_GEN) echo $(libsecret_unstable_vapi_DEPS) | tr ' ' '\n' > $@
  77. -
  78. -vapidir = $(datadir)/vala/vapi
  79. -vapi_DATA = \
  80. - $(VAPIGEN_VAPIS) \
  81. - $(VAPI_DEPS)
  82. -
  83. -CLEANFILES += \
  84. - $(VAPIGEN_VAPIS) \
  85. - $(VAPI_DEPS)
  86. -
  87. -endif # ENABLE_VAPIGEN
  88. -endif # HAVE_INTROSPECTION
  89. # ------------------------------------------------------------------
  90. # PKG CONFIG