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.

53 lines
1.3 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/devicemanager.vala \
  9. src/devicechannel.vala \
  10. src/core.vala \
  11. src/packethandlerinterface.vala \
  12. src/packethandlers.vala \
  13. src/notification.vala \
  14. src/battery.vala \
  15. src/telephony.vala \
  16. src/mconn-crypt.c \
  17. src/mconn-crypt.h
  18. mconnect_LDADD = $(MCONNECT_LIBS)
  19. mconnect_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  20. test_mconn_crypt_SOURCES = test/mconn-crypt-test.c \
  21. src/mconn-crypt.c \
  22. src/mconn-crypt.h
  23. test_mconn_crypt_LDADD = $(MCONNECT_LIBS)
  24. test_mconn_crypt_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  25. test_mconn_crypt_vala_SOURCES = test/mconn-crypt-vala-test.vala \
  26. src/mconn-crypt.c \
  27. src/mconn-crypt.h
  28. test_mconn_crypt_vala_LDADD = $(MCONNECT_LIBS)
  29. test_mconn_crypt_vala_CFLAGS = $(MCONNECT_CFLAGS) -Isrc -I.
  30. VALAFLAGS = $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt
  31. mconn-crypt.gi: src/mconn-crypt.h
  32. rm -f $@
  33. $(GEN_INTROSPECT) -n MConn \
  34. $< $(filter -I%,$(MCONNECT_CFLAGS)) > $@
  35. mconn-crypt.vapi: mconn-crypt.gi
  36. rm -f $@
  37. vapigen --library mconn-crypt $<
  38. BUILT_SOURCES = mconn-crypt.vapi mconn-crypt.gi
  39. CLEANFILES = $(BUILT_SOURCES)