blob: 31719c9aa76c417d4170e18c85c61def401cbaf8 (
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
57
|
#
# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
#
# The admin libraries
BUILD_ROOT=../..
MODULE=LibAdmin
MODULE_CFLAGS=-DENCRYPT_PASSWORDS -DUSE_ADMSERV
include $(BUILD_ROOT)/nsdefs.mk
OBJDEST=$(OBJDIR)/lib/libadmin
ifeq ($(ARCH), WINNT)
LIBS=$(OBJDIR)/lib/libadmin.lib
else
LIBS=$(OBJDIR)/lib/libadmin.a
endif
OBJS=$(addprefix $(OBJDEST)/, error.o \
template.o util.o \
authdb.o \
strlist.o $(OSOBJS))
# moved files [to libadminutil] : form_post.o strlist.o distadm.o cron_conf.o
# candidate for moing: admlog.o error.o admserv.o
# replaced files: error.o [by libadminutil/errRpt.c]
# removed for lack of ndbm support from binary release of libdbm.... userdb.o
#!! nsnews.o does not work anymore.
all: $(OBJDEST) $(LIBS)
#$(LIBS): $(addprefix $(BUILD_ROOT)/include/libadmin/, \
# hadm_msgs.i la_msgs.i)
include $(BUILD_ROOT)/nsconfig.mk
MCC_INCLUDE += $(ADMINUTIL_INCLUDE)
ifeq ($(ARCH), HPUX)
CC=$(CCC)
endif
$(OBJDEST):
mkdir -p $(OBJDEST)
$(LIBS): $(OBJS)
rm -f $@
$(AR) $(OBJS)
$(RANLIB) $@
include $(INCLUDE_DEPENDS)
|