AUTOMAKE_OPTIONS = nostdinc

AM_CPPFLAGS = \
	-I$(top_builddir)/include \
	-I$(top_srcdir)/include 


qsecfgdir = $(sysconfdir)/qse
qsecfg_DATA = httpd.conf httpd-mime.conf

bin_PROGRAMS = qsehttpd qseursd

qsehttpd_SOURCES = httpd.c
qsehttpd_LDFLAGS = -L../../lib/xli -L../../lib/http -L../../lib/si -L../../lib/cmn  
qsehttpd_LDADD = -lqsexli -lqsehttp -lqsesi -lqsecmn 

if WIN32 
if WCHAR
qsehttpd_LDADD += $(UNICOWS_LIBS)
endif
endif

qseursd_SOURCES = ursd.c
qseursd_LDFLAGS = -L../../lib/si -L../../lib/cmn
qseursd_LDADD = -lqsesi -lqsecmn 

EXTRA_DIST = $(qsecfg_DATA)
