Makefile.am 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. bin_PROGRAMS =
  2. if UA_ENCODING_XML
  3. bin_PROGRAMS += $(top_builddir)/bin/xml2ns0
  4. __top_builddir__bin_xml2ns0_SOURCES = xml2ns0.c
  5. __top_builddir__bin_xml2ns0_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  6. __top_builddir__bin_xml2ns0_LDADD = $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  7. __top_builddir__bin_xml2ns0_LDFLAGS = -lexpat
  8. bin_PROGRAMS += $(top_builddir)/bin/generateSam
  9. __top_builddir__bin_generateSam_SOURCES = generateSam.c
  10. __top_builddir__bin_generateSam_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  11. __top_builddir__bin_generateSam_LDADD = $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  12. __top_builddir__bin_generateSam_LDFLAGS = -lexpat
  13. endif
  14. if MULTITHREADING
  15. bin_PROGRAMS += $(top_builddir)/bin/exampleServerMT
  16. __top_builddir__bin_exampleServerMT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  17. __top_builddir__bin_exampleServerMT_SOURCES = opcuaServerMT.c networklayer.c
  18. __top_builddir__bin_exampleServerMT_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  19. else
  20. #bin_PROGRAMS += $(top_builddir)/bin/exampleServer $(top_builddir)/bin/exampleServerACPLT $(top_builddir)/bin/exampleServerMini
  21. bin_PROGRAMS += $(top_builddir)/bin/exampleServer $(top_builddir)/bin/exampleServerACPLT
  22. __top_builddir__bin_exampleServer_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  23. __top_builddir__bin_exampleServer_SOURCES = opcuaServer.c networklayer.c
  24. __top_builddir__bin_exampleServer_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  25. __top_builddir__bin_exampleServerACPLT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  26. __top_builddir__bin_exampleServerACPLT_SOURCES = opcuaServerACPLT.c networklayer.c
  27. __top_builddir__bin_exampleServerACPLT_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  28. #__top_builddir__bin_exampleServerMini_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  29. #__top_builddir__bin_exampleServerMini_SOURCES = opcuaServerMini.c
  30. #__top_builddir__bin_exampleServerMini_LDADD= $(GLOBAL_AM_LDADD)
  31. endif