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.

52 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/mconn-crypt.c \
  16. src/mconn-crypt.h
  17. mconnect_LDADD = $(MCONNECT_LIBS)
  18. mconnect_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  19. test_mconn_crypt_SOURCES = test/mconn-crypt-test.c \
  20. src/mconn-crypt.c \
  21. src/mconn-crypt.h
  22. test_mconn_crypt_LDADD = $(MCONNECT_LIBS)
  23. test_mconn_crypt_CFLAGS = $(MCONNECT_CFLAGS) -Isrc
  24. test_mconn_crypt_vala_SOURCES = test/mconn-crypt-vala-test.vala \
  25. src/mconn-crypt.c \
  26. src/mconn-crypt.h
  27. test_mconn_crypt_vala_LDADD = $(MCONNECT_LIBS)
  28. test_mconn_crypt_vala_CFLAGS = $(MCONNECT_CFLAGS) -Isrc -I.
  29. VALAFLAGS = $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt
  30. mconn-crypt.gi: src/mconn-crypt.h
  31. rm -f $@
  32. $(GEN_INTROSPECT) -n MConn \
  33. $< $(filter -I%,$(MCONNECT_CFLAGS)) > $@
  34. mconn-crypt.vapi: mconn-crypt.gi
  35. rm -f $@
  36. vapigen --library mconn-crypt $<
  37. BUILT_SOURCES = mconn-crypt.vapi mconn-crypt.gi
  38. CLEANFILES = $(BUILT_SOURCES)