source: trunk/athena/lib/al/Makefile.in @ 11485

Revision 11485, 1.8 KB checked in by ghudson, 26 years ago (diff)
Add new object file access.o and install man pages for al_get_access() and al_is_local_acct().
Line 
1# $Id: Makefile.in,v 1.3 1998-05-07 17:13:36 ghudson Exp $
2
3SHELL=/bin/sh
4INSTALL=@INSTALL@
5INSTALL_PROGRAM=@INSTALL_PROGRAM@
6RANLIB=@RANLIB@
7VPATH=@srcdir@
8srcdir=@srcdir@
9top_srcdir=@top_srcdir@
10prefix=@prefix@
11exec_prefix=@exec_prefix@
12libdir=@libdir@
13includedir=@includedir@
14mandir=@mandir@
15
16CC=@CC@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@
19DEFS=@DEFS@
20LDFLAGS=@LDFLAGS@
21LIBS=@LIBS@
22ALL_CFLAGS=-I. ${CPPFLAGS} ${CFLAGS} ${DEFS}
23OBJS=access.o acct.o allowed.o group.o homedir.o passwd.o session.o util.o
24
25all: libal.a
26
27libal.a: ${OBJS}
28        ar cru $@ ${OBJS}
29        ${RANLIB} $@
30
31${OBJS}: al.h al_private.h
32
33.c.o:
34        ${CC} -c ${ALL_CFLAGS} $<
35
36check:
37
38install:
39        ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
40        ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}
41        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man3
42        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
43        ${INSTALL} -m 644 libal.a ${DESTDIR}${libdir}
44        ${RANLIB} ${DESTDIR}${libdir}/libal.a
45        chmod u-w ${DESTDIR}${libdir}/libal.a
46        ${INSTALL} -m 444 ${srcdir}/al.h ${DESTDIR}${includedir}
47        ${INSTALL} -m 444 ${srcdir}/access.5 ${DESTDIR}${mandir}/man5
48        ${INSTALL} -m 444 ${srcdir}/al_acct_cleanup.3 ${DESTDIR}${mandir}/man3
49        ${INSTALL} -m 444 ${srcdir}/al_acct_create.3 ${DESTDIR}${mandir}/man3
50        ${INSTALL} -m 444 ${srcdir}/al_acct_revert.3 ${DESTDIR}${mandir}/man3
51        ${INSTALL} -m 444 ${srcdir}/al_free_errmem.3 ${DESTDIR}${mandir}/man3
52        ${INSTALL} -m 444 ${srcdir}/al_get_access.3 ${DESTDIR}${mandir}/man3
53        ${INSTALL} -m 444 ${srcdir}/al_is_local_acct.3 ${DESTDIR}${mandir}/man3
54        ${INSTALL} -m 444 ${srcdir}/al_login_allowed.3 ${DESTDIR}${mandir}/man3
55        ${INSTALL} -m 444 ${srcdir}/al_strerror.3 ${DESTDIR}${mandir}/man3
56        ${INSTALL} -m 444 ${srcdir}/sessions.5 ${DESTDIR}${mandir}/man5
57
58clean:
59        rm -f ${OBJS} libal.a
60
61distclean: clean
62        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.