Makefile.am 526 B

123456789101112
  1. # We expand open62541.h with the preprocessor. SWIG can't handle all our macros.
  2. # The standard libs are not included into the expanded header file.
  3. # the lib is stated as a dependency to refresh if a header changes in ../src
  4. open62541_expanded.h: open62541.h open62541.i $(top_builddir)/lib/libopen62541.a
  5. gcc -E open62541.h > open62541_expanded.h -I../src -D_STDIO_H=1 -D_STDDEF_H=1 -D_STDLIB_H=1 -D_STRING_H=1 -D_CTYPE_H=1 -D_UNISTD_H=1 -D_STDINT_H=1
  6. all: open62541_expanded.h
  7. clean-local:
  8. rm -rf open62541_expanded.h