45 OBJS= cachemgr.o cachemgr_getldap.o cachemgr_parse.o cachemgr_change.o
46
47 SRCS= ${OBJS:%.o=%.c}
48
49 CPPFLAGS += -D_REENTRANT -DSUN_THREADS \
50 -I$(SRC)/lib/libsldap/common \
51 -I$(SRC)/lib/libldap5/include/ldap \
52 -I$(SRC)/lib/libc/port/gen
53
54 CERRWARN += -_gcc=-Wno-parentheses
55 CERRWARN += -_gcc=-Wno-switch
56 CERRWARN += -_gcc=-Wno-uninitialized
57
58 # Message files
59 POFILE= ldap_cachemgr.po
60 POFILES= ${OBJS:%.o=%.po}
61
62 LINTOUT= lint.out
63
64 # TCOV_FLAG= -ql
65 # GPROF_FLAG= -xpg
66 # DEBUG_FLAG= -g
67
68 LDLIBS += -lumem -lsldap
69
70 # install macros and rule
71 #
72
73 .KEEP_STATE:
74
75 clean := TARGET= clean
76 clobber := TARGET= clobber
77
78 $(ROOTSVCMETHOD) := FILEMODE = 0555
79
80 all: $(PROG)
81
82 ${PROG}: ${OBJS}
83 ${LINK.c} ${OPT} -o $@ ${OBJS} ${LDLIBS}
84 ${POST_PROCESS}
85
86 $(ROOTLDAPLIB):
|
45 OBJS= cachemgr.o cachemgr_getldap.o cachemgr_parse.o cachemgr_change.o
46
47 SRCS= ${OBJS:%.o=%.c}
48
49 CPPFLAGS += -D_REENTRANT -DSUN_THREADS \
50 -I$(SRC)/lib/libsldap/common \
51 -I$(SRC)/lib/libldap5/include/ldap \
52 -I$(SRC)/lib/libc/port/gen
53
54 CERRWARN += -_gcc=-Wno-parentheses
55 CERRWARN += -_gcc=-Wno-switch
56 CERRWARN += -_gcc=-Wno-uninitialized
57
58 # Message files
59 POFILE= ldap_cachemgr.po
60 POFILES= ${OBJS:%.o=%.po}
61
62 LINTOUT= lint.out
63
64 # TCOV_FLAG= -ql
65
66 LDLIBS += -lumem -lsldap
67
68 # install macros and rule
69 #
70
71 .KEEP_STATE:
72
73 clean := TARGET= clean
74 clobber := TARGET= clobber
75
76 $(ROOTSVCMETHOD) := FILEMODE = 0555
77
78 all: $(PROG)
79
80 ${PROG}: ${OBJS}
81 ${LINK.c} ${OPT} -o $@ ${OBJS} ${LDLIBS}
82 ${POST_PROCESS}
83
84 $(ROOTLDAPLIB):
|