10 INSTALL_PROGRAM
= $(top_builddir
)/libtool
--mode
=install @INSTALL_PROGRAM@
11 INSTALL_DATA
= @INSTALL_DATA@
12 MKINSTALLDIRS
= @top_srcdir@
/mkinstalldirs
15 exec_prefix = @
exec_prefix@
17 libexecdir
= @libexecdir@
20 sysconfdir
= @sysconfdir@
22 transform
= @program_transform_name@
23 ARLACACHEDIR
= @ARLACACHEDIR@
24 ARLACONFFILE
= @ARLACONFFILE@
28 #NOINST_BIN = afsdir_check dump_state play_disco
41 DEFS
= @DEFS@
-DSYSCONFDIR
=\"$(sysconfdir
)\" \
42 -DARLACACHEDIR
=\"$(ARLACACHEDIR
)\" \
43 -DARLACONFFILE
=\"$(ARLACONFFILE
)\"
52 MAKEDEPEND
= makedepend
53 AFSWSROOT
= /usr
/afsws
54 RXKADINC
= -I
$(srcdir)/..
/rxkad
55 INCLUDES
= -I
$(srcdir)/.. \
59 -I
$(srcdir)/..
/include \
60 -I
$(srcdir)/..
/nnpfs
/include \
63 -I
$(srcdir)/..
/appl
/lib \
67 KRB_CFLAGS
= @KRB5_INC_FLAGS@ @KAFS_CPPFLAGS@
68 REALCFLAGS
= $(INCLUDES
) $(KRB_CFLAGS
) $(DEFINES
) $(CFLAGS
) \
70 RXKADLIB
= @RXKAD_LIBS@
71 KAFS_LIBS
= @AIX_EXTRA_KAFS@ @KAFS_LIBS@
72 LIB_tgetent
= @LIB_tgetent@
75 DEPEND_sl
= @DEPEND_sl@
77 LIBS_common
= ..
/lib
/bufdir
/libbufdir.la \
78 -L..
/rxdef
-lrxdefclient
-lrxcbserver \
79 -L..
/rx
-lrx
-L..
/lwp \
80 -llwp @PLWP_LIB_FLAGS@
82 LIBS_common_post
= ..
/lib
/ko
/libko.la ..
/util
/libarlautil.la \
83 ..
/lib
/vers
/libvers.la \
84 ..
/rxgk
/librxgkcm.la ..
/rxdef
/libtoken.la \
85 @LIB_roken@
$(RXKADLIB
) $(KAFS_LIBS
) @LIBS@
87 LIBS_arla-cli
= $(LIBS_common
) \
88 $(LIB_sl
) @LIB_readline@
-L..
/appl
/lib
-larlalib \
91 LIBS_arlad
= $(LIBS_common
) \
94 LIBS_afsdir_check
= $(LIBS_common
) \
97 LIBS_dump_state
= $(LIBS_common_post
)
99 LIBS_play_disco
= $(LIBS_common_post
)
101 LIBS_ptest
= $(LIBS_common_post
) -L..
/lwp
-llwp @PLWP_LIB_FLAGS@
104 LIBDEPENDS
= ..
/rxdef
/librxdefclient.la ..
/rxdef
/librxcbserver.la \
105 ..
/rx
/librx.la ..
/lwp
/liblwp.a \
106 ..
/util
/libarlautil.la
$(DEPEND_sl
) \
107 ..
/lib
/ko
/libko.la ..
/lib
/bufdir
/libbufdir.la
109 KERNEL_SRCS
= @KERNEL_SRCS@
110 PROGS
= $(ARLA_SBIN
) $(ARLA_LIBEXEC
) $(NOINST_BIN
)
191 arlad_OBJS
= $(common_OBJS
) \
194 arla-cli_OBJS
= $(common_OBJS
) \
198 arla-fuse_OBJS
= $(common_OBJS
) \
201 afsdir_check_OBJS
= afsdir_check.o
203 dump_state_OBJS
= dump_state.o state.o
205 play_disco_OBJS
= play_disco.o disco.o
207 ptest_OBJS
= ptest.o poller.o arladeb.o arladebu.o
210 .PHONY
: all install uninstall depend
tags clean
215 $(CC
) -c
$(CPPFLAGS
) $(DEFS
) -I
$(srcdir) -I.
$(REALCFLAGS
) $<
218 $(MKINSTALLDIRS
) $(DESTDIR
)$(sbindir
)
219 PROG_SBIN
='$(ARLA_SBIN)'; for x in
$$PROG_SBIN; do \
220 f
=`echo $$x | sed '$(transform)'`; \
221 $(INSTALL_PROGRAM
) $$x $(DESTDIR
)$(sbindir
)/$$f; \
223 $(MKINSTALLDIRS
) $(DESTDIR
)$(libexecdir
) ; \
224 PROG_LIBEXEC
='$(ARLA_LIBEXEC)'; for x in
$$PROG_LIBEXEC; do \
225 f
=`echo $$x | sed '$(transform)'`; \
226 $(INSTALL_PROGRAM
) $$x $(DESTDIR
)$(libexecdir
)/$$f; \
228 $(MKINSTALLDIRS
) $(DESTDIR
)$(mandir) ; \
229 MANPAGES
='$(MANPAGES)'; for x in
$$MANPAGES; do \
230 n
=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
231 e
=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
232 f
=`echo $$n | sed '$(transform)'`; \
233 $(MKINSTALLDIRS
) $(DESTDIR
)$(mandir)/man
$$e ; \
234 $(INSTALL_DATA
) $(srcdir)/$$x \
235 $(DESTDIR
)$(mandir)/man
$$e/$$f.
$$e; \
239 PROG_BIN
='$(ARLA_BIN)'; for x in
$$PROG_BIN; do \
240 f
=`echo $$x | sed '$(transform)'`; \
241 rm -f
$(DESTDIR
)$(bindir)/$$f; \
243 PROG_LIBEXEC
='$(ARLA_LIBEXEC)'; for x in
$$PROG_LIBEXEC; do \
244 f
=`echo $$x | sed '$(transform)'`; \
245 rm -f
$(DESTDIR
)$(libexecdir
)/$$f; \
247 MANPAGES
='$(MANPAGES)'; for x in
$$MANPAGES; do \
248 n
=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
249 e
=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
250 f
=`echo $$n | sed '$(transform)'`; \
251 rm -rf
$(DESTDIR
)$(mandir)/$$f.
$$e; \
254 arlad
: $(arlad_OBJS
) $(LIBDEPENDS
)
255 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(arlad_OBJS
) $(LIBS_arlad
)
257 arla-cli
: $(arla-cli_OBJS
) $(LIBDEPENDS
)
258 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(arla-cli_OBJS
) $(LIBS_arla-cli
)
260 arla-fuse
: $(arla-fuse_OBJS
) $(LIBDEPENDS
)
261 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(arla-fuse_OBJS
) $(LIBS_arla-cli
) -lfuse
263 afsdir_check
: $(afsdir_check_OBJS
)
264 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(afsdir_check_OBJS
) $(LIBS_afsdir_check
)
266 dump_state
: $(dump_state_OBJS
)
267 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(dump_state_OBJS
) $(LIBS_dump_state
)
269 play_disco
: $(play_disco_OBJS
)
270 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(play_disco_OBJS
) $(LIBS_play_disco
)
273 $(top_builddir
)/libtool
--mode
=link
$(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$(ptest_OBJS
) $(LIBS_ptest
)
276 Makefile
: Makefile.in ..
/config.status
277 cd ..
; CONFIG_FILES
=arlad
/Makefile CONFIG_HEADERS
= $(SHELL
) config.status
280 $(MAKEDEPEND
) -- $(REALCFLAGS
) -- $^
284 TAGS
: $(SRCS
) $(HDRS
)
285 $(ETAGS
) -t
$(SRCS
) $(HDRS
)
288 rm -f
$(PROGS
) $(OBJS
) *~
*.o core
*.core
293 rm -f Makefile config.status