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