source: trunk/athena/bin/xdsc/Makefile.in @ 14582

Revision 14582, 1.3 KB checked in by ghudson, 24 years ago (diff)
Keep app-defaults in /usr/athena/lib/X11/app-defaults for now.
Line 
1# $Id: Makefile.in,v 1.3 2000-04-10 02:02:32 ghudson Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11bindir=@bindir@
12sbindir=@sbindir@
13libdir=@libdir@
14mandir=@mandir@
15datadir=@datadir@
16appdefsdir=${libdir}/X11/app-defaults
17
18CC=@CC@
19DEFS=@DEFS@ -DEDSC_PATH=\"$(sbindir)/edsc\"
20CPPFLAGS=@CPPFLAGS@
21CFLAGS=@CFLAGS@
22X_CFLAGS=@X_CFLAGS@
23LDFLAGS=@LDFLAGS@
24X_LIBS=@X_LIBS@
25X_PRE_LIBS=@X_PRE_LIBS@
26X_EXTRA_LIBS=@X_EXTRA_LIBS@
27LIBS=@LIBS@
28ALL_LDFLAGS=${LDFLAGS} ${X_LIBS}
29ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS}
30ALL_LIBS=-lXaw -lXt -lXmu -lXext ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} ${LIBS}
31
32OBJS=xdsc.o reply.o headers.o cache.o
33
34all: xdsc
35
36xdsc: ${OBJS}
37        ${CC} ${ALL_LDFLAGS} -o $@ ${OBJS} ${ALL_LIBS}
38
39.c.o:
40        ${CC} -c ${ALL_CFLAGS} $<
41
42check:
43
44install:
45        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
46        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
47        ${top_srcdir}/mkinstalldirs ${DESTDIR}${appdefsdir}
48        ${INSTALL_PROGRAM} xdsc ${DESTDIR}${bindir}
49        ${INSTALL} -m 444 ${srcdir}/Xdsc ${DESTDIR}${appdefsdir}
50        ${INSTALL} -m 444 ${srcdir}/xdsc.1 ${DESTDIR}${mandir}/man1
51
52clean:
53        rm -f ${OBJS} xdsc
54
55distclean: clean
56        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.