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.

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