Makefile.am 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. bin_PROGRAMS = $(top_builddir)/bin/xml2ns0
  2. __top_builddir__bin_xml2ns0_SOURCES = xml2ns0.c
  3. __top_builddir__bin_xml2ns0_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  4. __top_builddir__bin_xml2ns0_LDADD = $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  5. __top_builddir__bin_xml2ns0_LDFLAGS = -lexpat
  6. bin_PROGRAMS += $(top_builddir)/bin/generateSam
  7. __top_builddir__bin_generateSam_SOURCES = generateSam.c
  8. __top_builddir__bin_generateSam_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  9. __top_builddir__bin_generateSam_LDADD = $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  10. __top_builddir__bin_generateSam_LDFLAGS = -lexpat
  11. if MULTITHREADING
  12. bin_PROGRAMS += $(top_builddir)/bin/exampleServerMT
  13. __top_builddir__bin_exampleServerMT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  14. __top_builddir__bin_exampleServerMT_SOURCES = opcuaServerMT.c networklayer.c
  15. __top_builddir__bin_exampleServerMT_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  16. else
  17. bin_PROGRAMS += $(top_builddir)/bin/exampleServer $(top_builddir)/bin/exampleServerACPLT $(top_builddir)/bin/exampleServerMini
  18. __top_builddir__bin_exampleServer_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  19. __top_builddir__bin_exampleServer_SOURCES = opcuaServer.c networklayer.c
  20. __top_builddir__bin_exampleServer_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  21. if RASPI
  22. __top_builddir__bin_exampleServer_LDFLAGS = -lwiringPi
  23. __top_builddir__bin_exampleServer_SOURCES += raspberrypi_io.c
  24. endif
  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