$(INCLUDE_PTHREADS) \
$(INCLUDE_BACULA) \
$(INCLUDE_ZLIB) \
- $(INCLUDE_OPENSSL) \
- $(INCLUDE_MYSQL)
+ $(INCLUDE_OPENSSL)
DEFINES = \
$(HAVES)
-VPATH = ../../cats ../compat ../../findlib ../../lib
+vpath %.c ../compat ../../findlib ../../lib
+vpath %.cpp ../compat ../../findlib ../../lib
######################################################################
# Files files in src/lib
-CATS_OBJS = \
- $(OBJDIR)/bdb.o \
- $(OBJDIR)/bdb_create.o \
- $(OBJDIR)/bdb_delete.o \
- $(OBJDIR)/bdb_find.o \
- $(OBJDIR)/bdb_get.o \
- $(OBJDIR)/bdb_list.o \
- $(OBJDIR)/bdb_update.o \
- $(OBJDIR)/mysql.o \
- $(OBJDIR)/postgresql.o \
- $(OBJDIR)/sql.o \
- $(OBJDIR)/sql_create.o \
- $(OBJDIR)/sql_delete.o \
- $(OBJDIR)/sql_find.o \
- $(OBJDIR)/sql_get.o \
- $(OBJDIR)/sql_list.o \
- $(OBJDIR)/sql_update.o \
- $(OBJDIR)/sqlite.o
-
COMPAT_OBJS = \
$(OBJDIR)/compat.o \
$(OBJDIR)/print.o \
LIB_OBJS = \
$(OBJDIR)/address_conf.o \
$(OBJDIR)/alist.o \
- $(OBJDIR)/alloc.o \
$(OBJDIR)/attr.o \
$(OBJDIR)/base64.o \
$(OBJDIR)/berrno.o \
$(OBJDIR)/bnet_server.o \
$(OBJDIR)/bpipe.o \
$(OBJDIR)/bregex.o \
+ $(OBJDIR)/bsock.o \
$(OBJDIR)/bsnprintf.o \
$(OBJDIR)/bsys.o \
$(OBJDIR)/btime.o \
$(OBJDIR)/btimers.o \
- $(OBJDIR)/btree.o \
$(OBJDIR)/cram-md5.o \
$(OBJDIR)/crc32.o \
$(OBJDIR)/crypto.o \
$(OBJDIR)/openssl.o \
$(OBJDIR)/pythonlib.o \
$(OBJDIR)/queue.o \
+ $(OBJDIR)/rblist.o \
$(OBJDIR)/runscript.o \
$(OBJDIR)/rwlock.o \
$(OBJDIR)/scan.o \
- $(OBJDIR)/semlock.o \
$(OBJDIR)/serial.o \
$(OBJDIR)/sha1.o \
$(OBJDIR)/signal.o \
$(OBJDIR)/workq.o
DLL_OBJS = \
- $(CATS_OBJS) $(COMPAT_OBJS) $(FIND_OBJS) $(LIB_OBJS)
+ $(COMPAT_OBJS) $(FIND_OBJS) $(LIB_OBJS)
STATIC_OBJS = \
$(OBJDIR)/parse_conf.o \
LIBS_DLL = \
$(LIBS_SSL) \
$(LIBS_CRYPTO) \
- $(LIBS_SQL) \
$(LIBS_PTHREADS) \
$(LIBS_ZLIB) \
-lwsock32 \
$(BINDIR)/bacula.dll: DLL_DEFINE=BUILDING_DLL
-$(BINDIR)/bacula.dll: $(COMPAT_OBJS) $(DLL_OBJS) bacula.def
+$(BINDIR)/bacula.dll: $(DLL_OBJS) bacula.def
@echo "Linking $@"
$(call checkdir,$@)
$(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/bacula.a $^ $(LIBS_DLL) -o $@
- $(makedbg)
include ../Makefile.rules