]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/clients/xzwrite/Makefile.in
finalize -3
[1ts-debian.git] / zephyr / clients / xzwrite / Makefile.in
1 SHELL = /bin/sh
2
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5 datadir=@datadir@
6 sysconfdir=@sysconfdir@
7 sbindir=@sbindir@
8 lsbindir=@lsbindir@
9 top_builddir=../..
10
11 includedir=${prefix}/include
12 mandir=@mandir@
13 libdir=${exec_prefix}/lib
14 bindir=${exec_prefix}/bin
15
16 srcdir=@srcdir@
17 top_srcdir=@top_srcdir@
18 BUILDTOP=../..
19 VPATH=@srcdir@
20 LIBTOOL=@LIBTOOL@
21 CC=@CC@
22 INSTALL=@INSTALL@
23 at=@
24
25 LIBZEPHYR=${BUILDTOP}/lib/libzephyr.la
26 LIBDYN=${BUILDTOP}/libdyn/libdyn.a
27 CPPFLAGS=@CPPFLAGS@
28 CFLAGS=@CFLAGS@
29 ALL_CFLAGS=${CFLAGS} -DDATADIR=\"${datadir}\" -I${top_srcdir}/h \
30         -I${BUILDTOP}/h @X_CFLAGS@ ${CPPFLAGS}
31 LDFLAGS=@X_LIBS@ @LDFLAGS@
32 LIBS=${LIBZEPHYR} ${LIBDYN} -lXaw -lXmu -lXt @X_PRE_LIBS@ -lX11 -lXext \
33         @X_EXTRA_LIBS@ @LIBS@ -lcom_err
34
35 OBJS=   interface.o resource.o destlist.o util.o bfgets.o gethomedir.o \
36         dest_window.o xzwrite.o edit_window.o zephyr.o GetString.o Popup.o \
37         yank.o menu_window.o logins.o
38
39 all: xzwrite XZwrite
40
41 xzwrite: ${OBJS} ${LIBZEPHYR} ${LIBDYN}
42         ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
43
44 .c.o:
45         ${CC} -c ${ALL_CFLAGS} $<
46
47 XZwrite: XZwrite.in
48         rm -f XZwrite
49         sed -e 's,$(at)datadir$(at),$(datadir),' < ${srcdir}/XZwrite.in \
50                 > XZwrite
51
52 check:
53
54 install: xzwrite XZwrite
55         ${LIBTOOL} --mode=install ${INSTALL} -m 755 xzwrite ${DESTDIR}${bindir}
56         ${INSTALL} -m 644 ${srcdir}/xzwrite.1 ${DESTDIR}${mandir}/man1
57         ${INSTALL} -m 644 XZwrite ${DESTDIR}${datadir}/zephyr
58         ${INSTALL} -m 644 ${srcdir}/xzwrite.bitmap ${DESTDIR}${datadir}/zephyr
59
60 clean:
61         ${LIBTOOL} --mode=clean rm -f xzwrite
62         rm -f ${OBJS}
63
64 ${OBJS}: xzwrite.h xzwrite-proto.h ${top_srcdir}/h/sysdep.h
65 ${OBJS}: ${BUILDTOP}/h/config.h ${BUILDTOP}/h/zephyr/zephyr.h
66 ${OBJS}: ${BUILDTOP}/h/zephyr/zephyr_err.h
67 destlist.o logins.o xzwrite.o zephyr.o: ${top_srcdir}/h/dyn.h
68
69 .PHONY: all check install clean
70