1# Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13# Makefile.am for the Java SASL library
14# Rob Earhart
15#
16################################################################
17#        Copyright 1998 by Carnegie Mellon University
18#
19#                      All Rights Reserved
20#
21#Permission to use, copy, modify, and distribute this software and its
22#documentation for any purpose and without fee is hereby granted,
23#provided that the above copyright notice appear in all copies and that
24#both that copyright notice and this permission notice appear in
25#supporting documentation, and that the name of Carnegie Mellon University
26#not be used in advertising or publicity pertaining to distribution of the
27#software without specific, written prior permission.
28#
29#CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
30#SOFTWARE, INCLUDING #ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, 
31#IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY SPECIAL, 
32#INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 
33#LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
34#OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
35#PERFORMANCE OF THIS SOFTWARE.
36################################################################
37
38
39SHELL = /bin/sh
40
41srcdir = .
42top_srcdir = ../..
43
44prefix = /usr
45exec_prefix = ${prefix}
46
47bindir = ${exec_prefix}/bin
48sbindir = ${exec_prefix}/sbin
49libexecdir = ${exec_prefix}/libexec
50datadir = ${prefix}/share
51sysconfdir = ${prefix}/etc
52sharedstatedir = ${prefix}/com
53localstatedir = ${prefix}/var
54libdir = ${exec_prefix}/lib
55infodir = ${prefix}/info
56mandir = ${prefix}/man
57includedir = ${prefix}/include
58oldincludedir = /usr/include
59
60DESTDIR =
61
62pkgdatadir = $(datadir)/cyrus-sasl
63pkglibdir = $(libdir)/cyrus-sasl
64pkgincludedir = $(includedir)/cyrus-sasl
65
66top_builddir = ../..
67
68ACLOCAL = ${SHELL} /Volumes/Forty/svn/passwordserver_sasl/cyrus_sasl/config/missing --run aclocal-1.7 -I $(top_srcdir)/cmulocal -I $(top_srcdir)/config
69AUTOCONF = ${SHELL} /Volumes/Forty/svn/passwordserver_sasl/cyrus_sasl/config/missing --run autoconf
70AUTOMAKE = ${SHELL} /Volumes/Forty/svn/passwordserver_sasl/cyrus_sasl/config/missing --run automake-1.7
71AUTOHEADER = ${SHELL} /Volumes/Forty/svn/passwordserver_sasl/cyrus_sasl/config/missing --run autoheader
72
73INSTALL = /usr/bin/install -c
74INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
75INSTALL_DATA = ${INSTALL} -m 644
76INSTALL_SCRIPT = ${INSTALL}
77transform = s,x,x,
78
79NORMAL_INSTALL = :
80PRE_INSTALL = :
81POST_INSTALL = :
82NORMAL_UNINSTALL = :
83PRE_UNINSTALL = :
84POST_UNINSTALL = :
85host_alias = 
86host_triplet = powerpc-apple-darwin9.0.0d4
87AS = @AS@
88AWK = awk
89CC = gcc
90CPP = gcc -E
91DIRS = 
92DLLTOOL = @DLLTOOL@
93DMALLOC_LIBS = 
94DYNSASLFLAGS = @DYNSASLFLAGS@
95GETADDRINFOOBJS = 
96GETNAMEINFOOBJS = 
97GETSUBOPT = 
98GSSAPIBASE_LIBS =  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
99GSSAPI_LIBS = 
100JAVAC = true
101JAVADOC = true
102JAVAH = true
103JAVAROOT = 
104JAVA_INCLUDES = 
105LIBOBJS = 
106LIBTOOL = $(SHELL) $(top_builddir)/libtool
107LIB_CRYPT = 
108LIB_DES = -lcrypto
109LIB_DYN_SASL = @LIB_DYN_SASL@
110LIB_PAM = @LIB_PAM@
111LIB_SASL = @LIB_SASL@
112LIB_SOCKET = 
113LN_S = ln -s
114LTGETADDRINFOOBJS = 
115LTGETNAMEINFOOBJS = 
116LTLIBOBJS = 
117LTSNPRINTFOBJS = 
118MAKEINFO = ${SHELL} /Volumes/Forty/svn/passwordserver_sasl/cyrus_sasl/config/missing --run makeinfo
119NM = /usr/bin/nm -p
120OBJDUMP = @OBJDUMP@
121OTP_LIBS = -lcrypto 
122PACKAGE = cyrus-sasl
123PLAIN_LIBS = 
124PURECOV = 
125PURIFY = 
126PWCHECKMETH = 
127RANLIB = ranlib
128SASLFLAGS = @SASLFLAGS@
129SASL_DB_BACKEND = db_ndbm.lo
130SASL_DB_BACKEND_STATIC = ../sasldb/db_ndbm.o ../sasldb/allockey.o
131SASL_DB_INC = 
132SASL_DB_LIB = 
133SASL_DB_MANS = saslpasswd2.8 sasldblistusers2.8
134SASL_DB_UTILS = saslpasswd2 sasldblistusers2
135SASL_DL_LIB = -ldl
136SASL_KRB_LIB = 
137SASL_MECHS =  libsasldb.la libcrammd5.la libdigestmd5.la libotp.la libgssapiv2.la libplain.la libanonymous.la
138SASL_STATIC_LIBS = 
139SASL_STATIC_OBJS =  ../plugins/gssapi.o
140SASL_UTIL_HEADERS_EXTRA = 
141SASL_UTIL_LIBS_EXTRA = 
142SFIO_INC_FLAGS = 
143SFIO_LIB_FLAGS = 
144SMTPTEST_PROGRAM = 
145SNPRINTFOBJS = 
146SRP_LIBS = 
147VERSION = 2.1.18
148plugindir = /usr/lib/sasl2
149
150javasasl_version = 1:0:0
151
152javasasldir = $(prefix)/lib/java/classes/sasl/CyrusSasl
153javahtmldir = $(prefix)/html/sasl
154
155INCLUDES = -I$(top_srcdir)/include $(JAVA_INCLUDES)
156
157javasasl_JAVA = Sasl.java GenericClient.java 		ClientFactory.java 	        GenericCommon.java SaslClient.java 	        SaslClientFactory.java SaslException.java 	        SaslInputStream.java SaslOutputStream.java 		SaslUtils.java ServerFactory.java                 SaslServerFactory.java SaslServer.java                 GenericServer.java
158
159
160CLASSES = $(javasasl_JAVA:.java=.class)
161
162lib_LTLIBRARIES = libjavasasl.la
163libjavasasl_la_SOURCES = javasasl.h javasasl.c
164libjavasasl_la_LDFLAGS = -export_dynamic -L../../lib -lsasl2 -version-info $(javasasl_version) $(wildcard ../lib/*.lo)
165BUILT_SOURCES = javasasl.h $(CLASSES)
166mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
167CONFIG_HEADER = ../../config.h
168CONFIG_CLEAN_FILES = 
169LTLIBRARIES =  $(lib_LTLIBRARIES)
170
171
172DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../..
173CPPFLAGS = 
174LDFLAGS = 
175LIBS = -lresolv -lresolv 
176libjavasasl_la_LIBADD = 
177libjavasasl_la_OBJECTS =  javasasl.lo
178CFLAGS = -Wall -W -g -O2
179COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
180LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
181CCLD = $(CC)
182LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
183JAVACFLAGS = 
184CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
185DIST_COMMON =  $(javasasl_JAVA) Makefile.am Makefile.in
186
187
188DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
189
190TAR = gtar
191GZIP_ENV = --best
192SOURCES = $(libjavasasl_la_SOURCES)
193OBJECTS = $(libjavasasl_la_OBJECTS)
194
195all: all-redirect
196.SUFFIXES:
197.SUFFIXES: .S .c .lo .o .s
198$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
199	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps java/CyrusSasl/Makefile
200
201Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
202	cd $(top_builddir) \
203	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
204
205
206mostlyclean-libLTLIBRARIES:
207
208clean-libLTLIBRARIES:
209	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
210
211distclean-libLTLIBRARIES:
212
213maintainer-clean-libLTLIBRARIES:
214
215install-libLTLIBRARIES: $(lib_LTLIBRARIES)
216	@$(NORMAL_INSTALL)
217	$(mkinstalldirs) $(DESTDIR)$(libdir)
218	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
219	  if test -f $$p; then \
220	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
221	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
222	  else :; fi; \
223	done
224
225uninstall-libLTLIBRARIES:
226	@$(NORMAL_UNINSTALL)
227	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
228	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
229	done
230
231.c.o:
232	$(COMPILE) -c $<
233
234.s.o:
235	$(COMPILE) -c $<
236
237.S.o:
238	$(COMPILE) -c $<
239
240mostlyclean-compile:
241	-rm -f *.o core *.core
242
243clean-compile:
244
245distclean-compile:
246	-rm -f *.tab.c
247
248maintainer-clean-compile:
249
250.c.lo:
251	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
252
253.s.lo:
254	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
255
256.S.lo:
257	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
258
259mostlyclean-libtool:
260	-rm -f *.lo
261
262clean-libtool:
263	-rm -rf .libs _libs
264
265distclean-libtool:
266
267maintainer-clean-libtool:
268
269libjavasasl.la: $(libjavasasl_la_OBJECTS) $(libjavasasl_la_DEPENDENCIES)
270	$(LINK) -rpath $(libdir) $(libjavasasl_la_LDFLAGS) $(libjavasasl_la_OBJECTS) $(libjavasasl_la_LIBADD) $(LIBS)
271
272mostlyclean-javasaslJAVA:
273
274clean-javasaslJAVA:
275	-rm *.class classjavasasl.stamp
276
277distclean-javasaslJAVA:
278
279maintainer-clean-javasaslJAVA:
280
281install-javasaslJAVA: classjavasasl.stamp
282	@$(NORMAL_INSTALL)
283	$(mkinstalldirs) $(DESTDIR)$(javasasldir)
284	for p in *.class; do \
285	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(javasasldir)/$$p"; \
286	  $(INSTALL_DATA) $$p $(DESTDIR)$(javasasldir)/$$p; \
287	done
288
289uninstall-javasaslJAVA:
290	@$(NORMAL_UNINSTALL)
291	for p in *.class; do \
292	  rm -f $(DESTDIR)$(javasasldir)/$$p; \
293	done
294classjavasasl.stamp: $(javasasl_JAVA)
295	$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(JAVACFLAGS) $?
296	echo timestamp > classjavasasl.stamp
297
298tags: TAGS
299
300ID: $(HEADERS) $(SOURCES) $(LISP)
301	list='$(SOURCES) $(HEADERS)'; \
302	unique=`for i in $$list; do echo $$i; done | \
303	  awk '    { files[$$0] = 1; } \
304	       END { for (i in files) print i; }'`; \
305	here=`pwd` && cd $(srcdir) \
306	  && mkid -f$$here/ID $$unique $(LISP)
307
308TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
309	tags=; \
310	here=`pwd`; \
311	list='$(SOURCES) $(HEADERS)'; \
312	unique=`for i in $$list; do echo $$i; done | \
313	  awk '    { files[$$0] = 1; } \
314	       END { for (i in files) print i; }'`; \
315	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
316	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
317
318mostlyclean-tags:
319
320clean-tags:
321
322distclean-tags:
323	-rm -f TAGS ID
324
325maintainer-clean-tags:
326
327distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
328
329subdir = java/CyrusSasl
330
331distdir: $(DISTFILES)
332	@for file in $(DISTFILES); do \
333	  d=$(srcdir); \
334	  if test -d $$d/$$file; then \
335	    cp -pr $$d/$$file $(distdir)/$$file; \
336	  else \
337	    test -f $(distdir)/$$file \
338	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
339	    || cp -p $$d/$$file $(distdir)/$$file || :; \
340	  fi; \
341	done
342info-am:
343info: info-am
344dvi-am:
345dvi: dvi-am
346check-am: all-am
347check: check-am
348installcheck-am:
349installcheck: installcheck-am
350install-exec-am: install-libLTLIBRARIES
351install-exec: install-exec-am
352
353install-data-am: install-javasaslJAVA
354install-data: install-data-am
355
356install-am: all-am
357	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
358install: install-am
359uninstall-am: uninstall-libLTLIBRARIES uninstall-javasaslJAVA
360uninstall: uninstall-am
361all-am: Makefile $(LTLIBRARIES) classjavasasl.stamp
362all-redirect: all-am
363install-strip:
364	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
365installdirs:
366	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(javasasldir)
367
368
369mostlyclean-generic:
370
371clean-generic:
372
373distclean-generic:
374	-rm -f Makefile $(CONFIG_CLEAN_FILES)
375	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
376
377maintainer-clean-generic:
378	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
379mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
380		mostlyclean-libtool mostlyclean-javasaslJAVA \
381		mostlyclean-tags mostlyclean-generic
382
383mostlyclean: mostlyclean-am
384
385clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
386		clean-javasaslJAVA clean-tags clean-generic \
387		mostlyclean-am
388
389clean: clean-am
390
391distclean-am:  distclean-libLTLIBRARIES distclean-compile \
392		distclean-libtool distclean-javasaslJAVA distclean-tags \
393		distclean-generic clean-am
394	-rm -f libtool
395
396distclean: distclean-am
397
398maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
399		maintainer-clean-compile maintainer-clean-libtool \
400		maintainer-clean-javasaslJAVA maintainer-clean-tags \
401		maintainer-clean-generic distclean-am
402	@echo "This command is intended for maintainers to use;"
403	@echo "it deletes files that may require special tools to rebuild."
404
405maintainer-clean: maintainer-clean-am
406
407.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
408clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
409uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
410distclean-compile clean-compile maintainer-clean-compile \
411mostlyclean-libtool distclean-libtool clean-libtool \
412maintainer-clean-libtool mostlyclean-javasaslJAVA \
413distclean-javasaslJAVA clean-javasaslJAVA maintainer-clean-javasaslJAVA \
414uninstall-javasaslJAVA install-javasaslJAVA tags mostlyclean-tags \
415distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
416dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
417install-exec install-data-am install-data install-am install \
418uninstall-am uninstall all-redirect all-am all installdirs \
419mostlyclean-generic distclean-generic clean-generic \
420maintainer-clean-generic clean mostlyclean distclean maintainer-clean
421
422
423$(srcdir)/javasasl.c: javasasl.h
424
425javasasl.h: $(CLASSES)
426	$(CLASSPATH_ENV) $(JAVAH) -o $@ -jni $(patsubst %.class,CyrusSasl.%,$^)
427
428# force build of class files
429$(CLASSES): classjavasasl.stamp
430
431#install-data-local:
432# xxx broken
433#	$(mkinstalldirs) $(javahtmldir)
434#	$(CLASSPATH_ENV) $(JAVADOC) -d $(javahtmldir) sasl
435#	-if test ! -h $(javahtmldir)/images; \
436#	then \
437#	  $(LN_S) $(JAVA_BASE)/docs/api/images $(javahtmldir)/images; \
438#	fi
439
440# Tell versions [3.59,3.63) of GNU make to not export all variables.
441# Otherwise a system limit (for SysV at least) may be exceeded.
442.NOEXPORT:
443