AM_CPPFLAGS = -I$(top_srcdir)/include

LDFLAGS = -L../../lib/cmn -L../../lib/sed
LDADD = -lqsesed -lqsecmn $(LIBM)

bin_PROGRAMS = sed01

sed01_SOURCES = sed01.c
sed01_LDADD = $(LDADD)

if ENABLE_CXX

CXXLIB = -lqsesedxx -lqsecmnxx
bin_PROGRAMS += sed02 sed03 

sed02_SOURCES = sed02.cpp
sed02_LDADD = $(CXXLIB) $(LDADD)

sed03_SOURCES = sed03.cpp
sed03_LDADD = $(CXXLIB) $(LDADD)

endif
