diff options
Diffstat (limited to 'ldap/servers/plugins/shared/Makefile')
| -rw-r--r-- | ldap/servers/plugins/shared/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ldap/servers/plugins/shared/Makefile b/ldap/servers/plugins/shared/Makefile new file mode 100644 index 00000000..847735ee --- /dev/null +++ b/ldap/servers/plugins/shared/Makefile @@ -0,0 +1,56 @@ +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +# +# GNU Makefile for shared components for Directory Server plugins +# +# + +LDAP_SRC = ../../.. +MCOM_ROOT = ../../../../.. + +SHARED=shared + +NOSTDCLEAN=true # don't let nsconfig.mk define target clean +NOSTDSTRIP=true # don't let nsconfig.mk define target strip +#NSPR20=true # probably should be defined somewhere else (not sure where) + +OBJDEST = $(OBJDIR)/lib/$(SHARED) +LIBDIR = $(LDAP_LIBDIR) + +include $(MCOM_ROOT)/ldapserver/nsdefs.mk +include $(MCOM_ROOT)/ldapserver/nsconfig.mk +include $(LDAP_SRC)/nsldap.mk + +CFLAGS+=$(SLCFLAGS) + +INCLUDES += -I$(LDAP_SRC)/servers/slapd + +LOCAL_OBJS= utils.o + +OBJS = $(addprefix $(OBJDEST)/, $(LOCAL_OBJS)) + +ifeq ($(ARCH), WINNT) +EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) +EXTRA_LIBS += $(LIBSLAPD) +endif + +all: $(OBJDEST) $(OBJS) + +veryclean: clean + +clean: + $(RM) $(OBJS) + +$(OBJDEST): + $(MKDIR) $(OBJDEST) + +# +# header file dependencies (incomplete) +# +$(OBJS): plugin-utils.h + |
