Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / xsasl / Makefile.in
blob56dd1d637a96e7f2796a290f6e406521d017123e
1 SHELL = /bin/sh
2 SRCS = xsasl_server.c xsasl_cyrus_server.c xsasl_cyrus_log.c \
3 xsasl_cyrus_security.c xsasl_client.c xsasl_cyrus_client.c \
4 xsasl_dovecot_server.c
5 OBJS = xsasl_server.o xsasl_cyrus_server.o xsasl_cyrus_log.o \
6 xsasl_cyrus_security.o xsasl_client.o xsasl_cyrus_client.o \
7 xsasl_dovecot_server.o
8 HDRS = xsasl.h
9 TESTSRC =
10 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
11 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
12 INCL =
13 LIB = libxsasl.a
14 TESTPROG=
16 LIBS = ../../lib/libglobal.a ../../lib/libutil.a
17 LIB_DIR = ../../lib
18 INC_DIR = ../../include
19 MAKES =
21 .c.o:; $(CC) $(CFLAGS) -c $*.c
23 all: $(LIB)
25 $(OBJS): ../../conf/makedefs.out
27 Makefile: Makefile.in
28 cat ../../conf/makedefs.out $? >$@
30 test: $(TESTPROG)
32 tests:
34 root_tests:
36 $(LIB): $(OBJS)
37 $(AR) $(ARFL) $(LIB) $?
38 $(RANLIB) $(LIB)
40 $(LIB_DIR)/$(LIB): $(LIB)
41 cp $(LIB) $(LIB_DIR)
42 $(RANLIB) $(LIB_DIR)/$(LIB)
44 update: $(LIB_DIR)/$(LIB) $(HDRS)
45 -for i in $(HDRS); \
46 do \
47 cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \
48 done
49 cd $(INC_DIR); chmod 644 $(HDRS)
51 printfck: $(OBJS) $(PROG)
52 rm -rf printfck
53 mkdir printfck
54 cp *.h printfck
55 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
56 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
57 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
59 lint:
60 lint $(DEFS) $(SRCS) $(LINTFIX)
62 clean:
63 rm -f *.o $(LIB) *core $(TESTPROG) junk
64 rm -rf printfck
66 tidy: clean
68 foo: $(LIB) $(LIBS)
69 mv $@.o junk
70 $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS)
71 mv junk $@.o
73 depend: $(MAKES)
74 (sed '1,/^# do not edit/!d' Makefile.in; \
75 set -e; for i in [a-z][a-z0-9]*.c; do \
76 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
77 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
78 -e 's/o: \.\//o: /' -e p -e '}' ; \
79 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
80 @$(EXPORT) make -f Makefile.in Makefile 1>&2
82 # do not edit below this line - it is generated by 'make depend'
83 xsasl_client.o: ../../include/argv.h
84 xsasl_client.o: ../../include/msg.h
85 xsasl_client.o: ../../include/mymalloc.h
86 xsasl_client.o: ../../include/sys_defs.h
87 xsasl_client.o: ../../include/vbuf.h
88 xsasl_client.o: ../../include/vstream.h
89 xsasl_client.o: ../../include/vstring.h
90 xsasl_client.o: xsasl.h
91 xsasl_client.o: xsasl_client.c
92 xsasl_client.o: xsasl_cyrus.h
93 xsasl_cyrus_client.o: ../../include/argv.h
94 xsasl_cyrus_client.o: ../../include/mail_params.h
95 xsasl_cyrus_client.o: ../../include/msg.h
96 xsasl_cyrus_client.o: ../../include/mymalloc.h
97 xsasl_cyrus_client.o: ../../include/stringops.h
98 xsasl_cyrus_client.o: ../../include/sys_defs.h
99 xsasl_cyrus_client.o: ../../include/vbuf.h
100 xsasl_cyrus_client.o: ../../include/vstream.h
101 xsasl_cyrus_client.o: ../../include/vstring.h
102 xsasl_cyrus_client.o: xsasl.h
103 xsasl_cyrus_client.o: xsasl_cyrus.h
104 xsasl_cyrus_client.o: xsasl_cyrus_client.c
105 xsasl_cyrus_client.o: xsasl_cyrus_common.h
106 xsasl_cyrus_log.o: ../../include/msg.h
107 xsasl_cyrus_log.o: ../../include/sys_defs.h
108 xsasl_cyrus_log.o: xsasl_cyrus_common.h
109 xsasl_cyrus_log.o: xsasl_cyrus_log.c
110 xsasl_cyrus_security.o: ../../include/name_mask.h
111 xsasl_cyrus_security.o: ../../include/sys_defs.h
112 xsasl_cyrus_security.o: ../../include/vbuf.h
113 xsasl_cyrus_security.o: ../../include/vstring.h
114 xsasl_cyrus_security.o: xsasl_cyrus_common.h
115 xsasl_cyrus_security.o: xsasl_cyrus_security.c
116 xsasl_cyrus_server.o: ../../include/argv.h
117 xsasl_cyrus_server.o: ../../include/mail_params.h
118 xsasl_cyrus_server.o: ../../include/msg.h
119 xsasl_cyrus_server.o: ../../include/mymalloc.h
120 xsasl_cyrus_server.o: ../../include/name_mask.h
121 xsasl_cyrus_server.o: ../../include/stringops.h
122 xsasl_cyrus_server.o: ../../include/sys_defs.h
123 xsasl_cyrus_server.o: ../../include/vbuf.h
124 xsasl_cyrus_server.o: ../../include/vstream.h
125 xsasl_cyrus_server.o: ../../include/vstring.h
126 xsasl_cyrus_server.o: xsasl.h
127 xsasl_cyrus_server.o: xsasl_cyrus.h
128 xsasl_cyrus_server.o: xsasl_cyrus_common.h
129 xsasl_cyrus_server.o: xsasl_cyrus_server.c
130 xsasl_dovecot_server.o: ../../include/argv.h
131 xsasl_dovecot_server.o: ../../include/connect.h
132 xsasl_dovecot_server.o: ../../include/iostuff.h
133 xsasl_dovecot_server.o: ../../include/mail_params.h
134 xsasl_dovecot_server.o: ../../include/msg.h
135 xsasl_dovecot_server.o: ../../include/mymalloc.h
136 xsasl_dovecot_server.o: ../../include/name_mask.h
137 xsasl_dovecot_server.o: ../../include/split_at.h
138 xsasl_dovecot_server.o: ../../include/stringops.h
139 xsasl_dovecot_server.o: ../../include/sys_defs.h
140 xsasl_dovecot_server.o: ../../include/vbuf.h
141 xsasl_dovecot_server.o: ../../include/vstream.h
142 xsasl_dovecot_server.o: ../../include/vstring.h
143 xsasl_dovecot_server.o: ../../include/vstring_vstream.h
144 xsasl_dovecot_server.o: xsasl.h
145 xsasl_dovecot_server.o: xsasl_dovecot.h
146 xsasl_dovecot_server.o: xsasl_dovecot_server.c
147 xsasl_server.o: ../../include/argv.h
148 xsasl_server.o: ../../include/msg.h
149 xsasl_server.o: ../../include/mymalloc.h
150 xsasl_server.o: ../../include/sys_defs.h
151 xsasl_server.o: ../../include/vbuf.h
152 xsasl_server.o: ../../include/vstream.h
153 xsasl_server.o: ../../include/vstring.h
154 xsasl_server.o: xsasl.h
155 xsasl_server.o: xsasl_cyrus.h
156 xsasl_server.o: xsasl_dovecot.h
157 xsasl_server.o: xsasl_server.c