source: trunk/athena/lib/gms/Makefile.in @ 14062

Revision 14062, 1.1 KB checked in by danw, 25 years ago (diff)
code shared between athena/bin/get_message and athena/etc/messaged, formerly in athena/bin/gms
Line 
1# $Id: Makefile.in,v 1.1 1999-12-08 22:05:02 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@
13
14CC=@CC@
15CPPFLAGS=@CPPFLAGS@
16CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
17DEFS=@DEFS@
18ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
19OBJS=globalmessage_err.o
20
21all: libgms.a
22
23libgms.a: ${OBJS}
24        ar cru $@ ${OBJS}
25        ${RANLIB} $@
26
27.c.o:
28        ${CC} -c ${ALL_CFLAGS} $<
29
30globalmessage_err.c globalmessage_err.h: globalmessage_err.et
31        compile_et ${srcdir}/globalmessage_err.et
32
33check:
34
35install:
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
37        ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}
38        ${INSTALL} -m 644 libgms.a ${DESTDIR}${libdir}
39        ${RANLIB} ${DESTDIR}${libdir}/libgms.a
40        chmod u-w ${DESTDIR}${libdir}/libgms.a
41        ${INSTALL} -m 444 ${srcdir}/globalmessage.h ${DESTDIR}/${includedir}
42        ${INSTALL} -m 444 globalmessage_err.h ${DESTDIR}/${includedir}
43
44clean:
45        rm -f ${OBJS} globalmessage_err.c globalmessage_err.h libgms.a
46
47distclean: clean
48        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.