prefix=@prefix@
exec_prefix=@exec_prefix@
etcdir=@sysconfdir@
bindir=@bindir@
sbindir=@sbindir@
libdir=@libdir@
libexecdir=@libexecdir@
moddir=${libexecdir}/cdebconf
datarootdir=@datarootdir@
sharedir=${datarootdir}/debconf
mandir=@mandir@
incdir=${prefix}/include/cdebconf

srcdir=@TOPDIR@
builddir=@BUILDDIR@

TARGET=@TARGET@

DB_MODULES=@DB_MODULES@
FRONTEND_MODULES=@FRONTEND_MODULES@

CC=@CC@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@ -I. -I$(builddir)/src -I$(srcdir)/src
LDFLAGS=@LDFLAGS@
POD2MAN=@POD2MAN@

VPATH=$(srcdir)/$(SUBDIR)

%.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -I$(builddir) -o $@ -c $<

%.opic: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -I$(builddir) -fPIC -o $@ -c $<
