Makefile.am 1023 B

12345678910111213141516171819202122
  1. bin_PROGRAMS= $(top_builddir)/bin/exampleServer $(top_builddir)/bin/exampleServerMT $(top_builddir)/bin/exampleServerACPLT
  2. #__top_builddir__bin_exampleServer_LDFLAGS = -all-static
  3. __top_builddir__bin_exampleServer_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include
  4. __top_builddir__bin_exampleServer_SOURCES = opcuaServer.c networklayer.c
  5. __top_builddir__bin_exampleServer_LDADD= $(top_builddir)/lib/libopen62541.a
  6. __top_builddir__bin_exampleServerMT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include
  7. __top_builddir__bin_exampleServerMT_SOURCES = opcuaServerMT.c networklayer.c
  8. if MULTITHREADING
  9. MT_LDADD = -lpthread
  10. else
  11. MT_LDADD =
  12. endif
  13. __top_builddir__bin_exampleServerMT_LDADD= $(top_builddir)/lib/libopen62541.a $(MT_LDADD)
  14. __top_builddir__bin_exampleServerACPLT_CFLAGS = -I$(top_builddir)/src -I$(top_builddir)/include
  15. __top_builddir__bin_exampleServerACPLT_SOURCES = opcuaServerACPLT.c
  16. __top_builddir__bin_exampleServerACPLT_LDADD= $(top_builddir)/lib/libopen62541.a
  17. AM_CFLAGS = $(GLOBAL_AM_CFLAGS)