initial load of upstream version 1.06.32
[xmlrpc-c] / lib / abyss / src / Makefile
diff --git a/lib/abyss/src/Makefile b/lib/abyss/src/Makefile
new file mode 100644 (file)
index 0000000..b8b4db3
--- /dev/null
@@ -0,0 +1,73 @@
+ifeq ($(SRCDIR)x,x)
+SRCDIR = $(CURDIR)/../../..
+endif
+SUBDIR = lib/abyss/src
+
+include $(SRCDIR)/Makefile.config
+
+CFLAGS = $(CFLAGS_COMMON)
+CFLAGS += -D_UNIX
+ifeq ($(ENABLE_ABYSS_THREADS),yes)
+  THREAD_MODULE = thread_pthread
+else
+  THREAD_MODULE = thread_fork
+endif
+CFLAGS += $(CFLAGS_PERSONAL) $(CADD)
+LIBLDFLAGS = $(LDFLAGS_VERSINFO) -rpath $(LIBINST_DIR)
+LIBLDFLAGS += $(LADD)
+
+INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
+
+LTLIBRARIES_TO_INSTALL = libxmlrpc_abyss.la
+
+default: all
+
+.PHONY: all
+all: libxmlrpc_abyss.la
+
+
+ABYSS_OBJS = \
+  conf.lo \
+  conn.lo \
+  data.lo \
+  date.lo \
+  file.lo \
+  http.lo \
+  response.lo \
+  server.lo \
+  session.lo \
+  socket.lo \
+  socket_unix.lo \
+  token.lo \
+  $(THREAD_MODULE).lo \
+  trace.lo \
+
+
+libxmlrpc_abyss.la: $(ABYSS_OBJS)
+       $(LIBTOOL) --mode=link $(CCLD) -o $@ $(LIBLDFLAGS) $^
+
+$(ABYSS_OBJS):%.lo:%.c
+       $(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) \
+         $(CFLAGS) $<
+
+.PHONY: clean
+clean: clean-common
+
+.PHONY: distclean
+distclean: clean distclean-common
+
+.PHONY: tags
+tags: TAGS
+
+.PHONY: distdir
+distdir:
+
+.PHONY: install
+install: install-common
+
+.PHONY: dep
+dep: dep-common
+
+include $(SRCDIR)/Makefile.common
+
+include Makefile.depend