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 | |
---|
3 | SHELL=/bin/sh |
---|
4 | INSTALL=@INSTALL@ |
---|
5 | RANLIB=@RANLIB@ |
---|
6 | VPATH=@srcdir@ |
---|
7 | srcdir=@srcdir@ |
---|
8 | top_srcdir=@top_srcdir@ |
---|
9 | prefix=@prefix@ |
---|
10 | exec_prefix=@exec_prefix@ |
---|
11 | libdir=@libdir@ |
---|
12 | includedir=@includedir@ |
---|
13 | |
---|
14 | CC=@CC@ |
---|
15 | CPPFLAGS=@CPPFLAGS@ |
---|
16 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
17 | DEFS=@DEFS@ |
---|
18 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
19 | OBJS=globalmessage_err.o |
---|
20 | |
---|
21 | all: libgms.a |
---|
22 | |
---|
23 | libgms.a: ${OBJS} |
---|
24 | ar cru $@ ${OBJS} |
---|
25 | ${RANLIB} $@ |
---|
26 | |
---|
27 | .c.o: |
---|
28 | ${CC} -c ${ALL_CFLAGS} $< |
---|
29 | |
---|
30 | globalmessage_err.c globalmessage_err.h: globalmessage_err.et |
---|
31 | compile_et ${srcdir}/globalmessage_err.et |
---|
32 | |
---|
33 | check: |
---|
34 | |
---|
35 | install: |
---|
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 | |
---|
44 | clean: |
---|
45 | rm -f ${OBJS} globalmessage_err.c globalmessage_err.h libgms.a |
---|
46 | |
---|
47 | distclean: clean |
---|
48 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.