blob: 0370f8e4b3b2e18b5ccce3c79b21317855278b31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 = ../../..
BUILD_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 $(BUILD_ROOT)/nsdefs.mk
include $(BUILD_ROOT)/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
|