Makefile.am 1.3 KB

1234567891011121314151617181920212223242526
  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. if MULTITHREADING
  7. bin_PROGRAMS += $(top_builddir)/bin/exampleServerMT
  8. __top_builddir__bin_exampleServerMT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  9. __top_builddir__bin_exampleServerMT_SOURCES = opcuaServerMT.c networklayer.c
  10. __top_builddir__bin_exampleServerMT_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  11. else
  12. bin_PROGRAMS += $(top_builddir)/bin/exampleServer $(top_builddir)/bin/exampleServerACPLT
  13. __top_builddir__bin_exampleServer_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  14. __top_builddir__bin_exampleServer_SOURCES = opcuaServer.c networklayer.c
  15. __top_builddir__bin_exampleServer_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  16. __top_builddir__bin_exampleServerACPLT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include $(GLOBAL_AM_CFLAGS)
  17. __top_builddir__bin_exampleServerACPLT_SOURCES = opcuaServerACPLT.c networklayer.c
  18. __top_builddir__bin_exampleServerACPLT_LDADD= $(top_builddir)/lib/libopen62541.a $(GLOBAL_AM_LDADD)
  19. endif