From 11fb070964adf57eea4191d315a752c96f80a426 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 17 May 2010 07:09:13 +0000 Subject: OS X: adjustments, minor fixes to eliminate warnings Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361 --- glusterfsd/src/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'glusterfsd/src/Makefile.am') diff --git a/glusterfsd/src/Makefile.am b/glusterfsd/src/Makefile.am index 060917930..38151fd5c 100644 --- a/glusterfsd/src/Makefile.am +++ b/glusterfsd/src/Makefile.am @@ -1,6 +1,9 @@ sbin_PROGRAMS = glusterfsd glusterfsd_SOURCES = glusterfsd.c fetch-spec.c +if GF_DARWIN_HOST_OS +glusterfsd_SOURCES += $(CONTRIBDIR)/apple/daemon.c +endif glusterfsd_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GF_LDADD) glusterfsd_LDFLAGS = $(GF_LDFLAGS) $(GF_GLUSTERFS_LDFLAGS) noinst_HEADERS = glusterfsd.h @@ -8,6 +11,9 @@ noinst_HEADERS = glusterfsd.h AM_CFLAGS = -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS)\ -I$(top_srcdir)/libglusterfs/src -DDATADIR=\"$(localstatedir)\" \ -DCONFDIR=\"$(sysconfdir)/glusterfs\" $(GF_GLUSTERFS_CFLAGS) +if GF_DARWIN_HOST_OS +AM_CFLAGS += -I$(CONTRIBDIR)/apple +endif CLEANFILES = -- cgit