mconnect - KDE Connect protocol implementation in Vala/C
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.

47 lines
1.1 KiB

  1. bin_PROGRAMS = mconnect
  2. noinst_PROGRAMS = test-mconn-crypt \
  3. test-mconn-crypt-vala
  4. mconnect_SOURCES = src/main.vala \
  5. src/discovery.vala \
  6. src/packet.vala \
  7. src/device.vala \
  8. src/core.vala \
  9. src/mconn-crypt.c \
  10. src/mconn-crypt.h
  11. mconnect_LDADD = $(MCONNECT_LIBS)
  12. mconnect_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  13. test_mconn_crypt_SOURCES = test/mconn-crypt-test.c \
  14. src/mconn-crypt.c \
  15. src/mconn-crypt.h
  16. test_mconn_crypt_LDADD = $(MCONNECT_LIBS)
  17. test_mconn_crypt_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  18. test_mconn_crypt_vala_SOURCES = test/mconn-crypt-vala-test.vala \
  19. src/mconn-crypt.c \
  20. src/mconn-crypt.h
  21. test_mconn_crypt_vala_LDADD = $(MCONNECT_LIBS)
  22. test_mconn_crypt_vala_CFLAGS = $(MCONNECT_CFLAGS) -Isrc -I.
  23. VALAFLAGS = $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt
  24. mconn-crypt.gir: src/mconn-crypt.h
  25. rm -f $@
  26. g-ir-scanner --header-only -n MConn --symbol-prefix mconn \
  27. $< $(filter -I%,$(MCONNECT_CFLAGS)) | \
  28. grep -v warning: > $@
  29. mconn-crypt.vapi: mconn-crypt.gir
  30. rm -f $@
  31. vapigen --library mconn-crypt $<
  32. BUILT_SOURCES = mconn-crypt.vapi mconn-crypt.gir
  33. CLEANFILES = $(BUILT_SOURCES)