## Process this file with automake to produce Makefile.in

if WITH_MDNS
  MDNS_SUBDIR = mdns
  mdns_client_lib = ../mdnsclient/libmdnsclient.la
else
  MDNS_SUBDIR =
  mdns_client_lib = 
endif

SUBDIRS=db $(MDNS_SUBDIR)

if WITH_PCRE
  pcre_inc =
  pcre_lib = @PCRE_LIBS@
else
  pcre_inc = -I$(top_srcdir)/pcre
endif

if WITH_EXPAT
  expat_inc =
  expat_lib = @EXPAT_LIBS@
else
  expat_inc = -I$(top_srcdir)/expat -I$(top_srcdir)/expat/lib
  expat_lib = ../expat/libexpat.la
endif

AM_CPPFLAGS = -I$(top_srcdir)/lib $(pcre_inc) $(expat_inc) $(includeopt) $(INCLTDL) -D_CVSAPI

libcvsapi_la_SOURCES = \
	Codepage.cpp \
	Codepage.h \
	cvsapi.h \
	cvs_smartptr.h \
	cvs_string.cpp \
	cvs_string.h \
	diff/DiffBase.cpp \
	diff/DiffBase.h \
	diff/StringDiff.cpp \
	diff/StringDiff.h \
	DirectoryAccess.h \
	DnsApi.h \
	FileAccess.h \
	FileEntry.h \
	GetOptions.cpp \
	GetOptions.h \
	HttpSocket.h \
	LibraryAccess.h \
	md5calc.cpp \
	md5calc.h \
	mdns.cpp \
	mdns.h \
	rpcBase.cpp \
	rpcBase.h \
	RunFile.h \
	ServerIO.cpp \
	ServerIO.h \
	SocketIO.h \
	SqlConnection.h \
	SqlConnection.cpp \
	SqlRecordset.cpp \
	SqlRecordset.h \
	SqlVariant.cpp \
	SqlVariant.h \
	SSPIHandler.h \
	TagDate.cpp \
	TagDate.h \
	TokenLine.cpp \
	TokenLine.h \
	XmlApi.cpp \
	Xmlapi.h \
	Zeroconf.cpp \
	Zeroconf.h \
	lib/api_system.h \
	lib/fncmp.c \
	lib/fncmp.h \
	lib/fnmatch.c \
	lib/fnmatch.h \
	lib/getdate.c \
	lib/getdate.h \
	lib/getmode.c \
	lib/getmode.h \
	lib/md5.c \
	lib/md5.h \
	lib/timegm.c \
	lib/timegm.h \
	unix/DirectoryAccess.cpp \
	unix/DnsApi.cpp \
	unix/FileAccess.cpp \
	unix/HttpSocket.cpp \
	unix/LibraryAccess.cpp \
	unix/RunFile.cpp \
	unix/SocketIO.cpp \
	unix/SSPIHandler.cpp 

libcvsapi_la_LDFLAGS = -release $(VERSION) -L$(DESTDIR)/$(libdir)
libcvsapi_la_LIBADD = $(expat_lib) $(pcre_lib) $(mdns_client_lib) $(LIBLTDL) 

lib_LTLIBRARIES = libcvsapi.la


syntax highlighted by Code2HTML, v. 0.9.1