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.

48 lines
1.2 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/devicechannel.vala \
  9. src/core.vala \
  10. src/mconn-crypt.c \
  11. src/mconn-crypt.h
  12. mconnect_LDADD = $(MCONNECT_LIBS)
  13. mconnect_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  14. test_mconn_crypt_SOURCES = test/mconn-crypt-test.c \
  15. src/mconn-crypt.c \
  16. src/mconn-crypt.h
  17. test_mconn_crypt_LDADD = $(MCONNECT_LIBS)
  18. test_mconn_crypt_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  19. test_mconn_crypt_vala_SOURCES = test/mconn-crypt-vala-test.vala \
  20. src/mconn-crypt.c \
  21. src/mconn-crypt.h
  22. test_mconn_crypt_vala_LDADD = $(MCONNECT_LIBS)
  23. test_mconn_crypt_vala_CFLAGS = $(MCONNECT_CFLAGS) -Isrc -I.
  24. VALAFLAGS = $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt
  25. mconn-crypt.gir: src/mconn-crypt.h
  26. rm -f $@
  27. g-ir-scanner --header-only -n MConn --symbol-prefix mconn \
  28. $< $(filter -I%,$(MCONNECT_CFLAGS)) | \
  29. grep -v warning: > $@
  30. mconn-crypt.vapi: mconn-crypt.gir
  31. rm -f $@
  32. vapigen --library mconn-crypt $<
  33. BUILT_SOURCES = mconn-crypt.vapi mconn-crypt.gir
  34. CLEANFILES = $(BUILT_SOURCES)