ioutil: make the file compile on MacOS
[fw/openocd] / src / svf / Makefile.am
index 73edd43f33f5821a374ec95619da4df6ec8b9ed2..3a14d2087ad47525cb9c07529cfaac6f2c5bfc28 100644 (file)
@@ -1,11 +1,8 @@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/server \
-       -I$(top_srcdir)/src/helper \
-       -I$(top_srcdir)/src/jtag
+include $(top_srcdir)/common.mk
 
 METASOURCES = AUTO
-noinst_LIBRARIES = libsvf.a
+noinst_LTLIBRARIES = libsvf.la
 noinst_HEADERS = svf.h
-libsvf_a_SOURCES = svf.c
+libsvf_la_SOURCES = svf.c
 
-MAINTAINERCLEANFILES = Makefile.in
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in