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

Revision 14542, 1.2 KB checked in by ghudson, 25 years ago (diff)
Create app-defaults directory before installing a file there.
Line 
1# $Id: Makefile.in,v 1.2 2000-04-05 19:21:04 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@
13mandir=@mandir@
14datadir=@datadir@
15
16CC=@CC@
17DEFS=@DEFS@ -DEDSC_PATH=\"$(sbindir)/edsc\"
18CPPFLAGS=@CPPFLAGS@
19CFLAGS=@CFLAGS@
20X_CFLAGS=@X_CFLAGS@
21LDFLAGS=@LDFLAGS@
22X_LIBS=@X_LIBS@
23X_PRE_LIBS=@X_PRE_LIBS@
24X_EXTRA_LIBS=@X_EXTRA_LIBS@
25LIBS=@LIBS@
26ALL_LDFLAGS=${LDFLAGS} ${X_LIBS}
27ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS}
28ALL_LIBS=-lXaw -lXt -lXmu -lXext ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} ${LIBS}
29
30OBJS=xdsc.o reply.o headers.o cache.o
31
32all: xdsc
33
34xdsc: ${OBJS}
35        ${CC} ${ALL_LDFLAGS} -o $@ ${OBJS} ${ALL_LIBS}
36
37.c.o:
38        ${CC} -c ${ALL_CFLAGS} $<
39
40check:
41
42install:
43        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
44        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
45        ${top_srcdir}/mkinstalldirs ${DESTDIR}${datadir}/X11/app-defaults
46        ${INSTALL_PROGRAM} xdsc ${DESTDIR}${bindir}
47        ${INSTALL} -m 444 ${srcdir}/Xdsc ${DESTDIR}${datadir}/X11/app-defaults
48        ${INSTALL} -m 444 ${srcdir}/xdsc.1 ${DESTDIR}${mandir}/man1
49
50clean:
51        rm -f ${OBJS} xdsc
52
53distclean: clean
54        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.