source: trunk/athena/lib/larv/Makefile.in @ 13787

Revision 13787, 1.2 KB checked in by danw, 25 years ago (diff)
compile with warnings enabled
Line 
1# $Id: Makefile.in,v 1.2 1999-10-23 19:29:04 danw Exp $
2
3SHELL=/bin/sh
4INSTALL=@INSTALL@
5RANLIB=@RANLIB@
6VPATH=@srcdir@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11libdir=@libdir@
12includedir=@includedir@
13mandir=@mandir@
14
15CC=@CC@
16CPPFLAGS=@CPPFLAGS@
17CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
18DEFS=@DEFS@
19ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
20OBJS=larv__compose_packet.o larv_send_status.o larv_set_busy.o
21
22all: liblarv.a
23
24liblarv.a: ${OBJS}
25        ar cru $@ ${OBJS}
26        ${RANLIB} $@
27
28${OBJS}: larvnet.h larv.h larv_private.h
29
30.c.o:
31        ${CC} -c ${ALL_CFLAGS} $<
32
33check:
34
35install:
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
37        ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}
38        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man3
39        ${INSTALL} -m 644 liblarv.a ${DESTDIR}${libdir}
40        ${RANLIB} ${DESTDIR}${libdir}/liblarv.a
41        chmod u-w ${DESTDIR}${libdir}/liblarv.a
42        ${INSTALL} -m 444 ${srcdir}/larvnet.h ${DESTDIR}${includedir}
43        ${INSTALL} -m 444 ${srcdir}/larv.h ${DESTDIR}${includedir}
44        ${INSTALL} -m 444 ${srcdir}/larv_send_status.3 ${DESTDIR}${mandir}/man3
45        ${INSTALL} -m 444 ${srcdir}/larv_set_busy.3 ${DESTDIR}${mandir}/man3
46
47clean:
48        rm -f ${OBJS} liblarv.a
49
50distclean: clean
51        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.