* Added --enable-profile to configure (for profiling)
[vde.git] / vde-2 / src / vdetaplib / Makefile.am
blobe3fb1689376694b81ceaec99d4b9d14f5242c8eb
1 pkglib_LTLIBRARIES = libvdetap.la
2 libexec_PROGRAMS = vdetap
4 if ENABLE_PROFILE
5   AM_CFLAGS = -pg --coverage
6   AM_LDFLAGS = -pg --coverage
7 endif
9 libvdetap_la_SOURCES = libvdetap.c
10 libvdetap_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version -export-dynamic -module -Wl,-init -Wl,libvdetap_init -Wl,-fini -Wl,libvdetap_fini
11 # vdetaplib/libvdetap.c|85| warning: dereferencing type-punned pointer will break strict-aliasing rules
12 libvdetap_la_CFLAGS = $(AM_CFLAGS) -fno-strict-aliasing 
14 AM_CPPFLAGS = -I$(top_srcdir)/include -DLIBEXECDIR=\"$(libexecdir)\"
16 vdetap_SOURCES = vdetap.c
17 vdetap_LDADD = $(top_srcdir)/src/common/libvdecommon.la $(top_srcdir)/src/lib/libvdeplug.la
19 EXTRA_DIST = test.c