]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - Makefile.in
86fd3beadcaa5555f1fa1e461b8176b0a0f5039d
[1ts-debian.git] / 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 datarootdir=@datarootdir@
10
11 includedir=@includedir@
12 mandir=@mandir@
13 libdir=@libdir@
14 bindir=@bindir@
15 top_builddir=..
16
17 srcdir=@srcdir@
18 top_srcdir=@top_srcdir@
19 BUILDTOP=..
20 VPATH=@srcdir@
21 LIBTOOL=@LIBTOOL@
22 CC=@CC@
23 YACC=@YACC@
24 INSTALL=@INSTALL@
25 INSTANTIATE=${srcdir}/instantiate
26
27 LIBZEPHYR=${BUILDTOP}/lib/libzephyr.la
28 CPPFLAGS=@CPPFLAGS@
29 CFLAGS=@CFLAGS@
30 ALL_CFLAGS=${CFLAGS} -DDATADIR=\"${datadir}\" -I${top_srcdir}/h \
31         -I${BUILDTOP}/h -I${srcdir} -I. @X_CFLAGS@ ${CPPFLAGS}
32 YFLAGS=-d
33 LDFLAGS=@X_LIBS@ @LDFLAGS@
34 LIBS=${LIBZEPHYR} @LIBS@ -lcom_err @ZWGC_LIBX11@ @X_EXTRA_LIBS@ \
35      @TLIB@ @REGEX_LIBS@ @ARES_LIBS@
36
37 OBJS=   port_dictionary.o pointer_dictionary.o unsigned_long_dictionary.o \
38         string_dictionary.o int_dictionary.o string_dictionary_aux.o \
39         parser.o lexer.o node.o exec.o buffer.o main.o zephyr.o X_driver.o \
40         substitute.o port.o xshow.o mux.o eval.o subscriptions.o notice.o \
41         xcut.o regexp.o character_class.o text_operations.o file.o error.o \
42         variables.o formatter.o X_fonts.o X_gram.o tty_filter.o \
43         standard_ports.o xselect.o xmark.o xrevstack.o xerror.o \
44         new_string.o new_memory.o plus.o
45
46 all: zwgc
47
48 zwgc: ${OBJS} ${LIBZEPHYR}
49         ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
50
51 port_dictionary.c port_dictionary.h: dictionary.c dictionary.h
52         ${INSTANTIATE} ${srcdir} dictionary port port.h
53
54 pointer_dictionary.c pointer_dictionary.h: dictionary.c dictionary.h
55         ${INSTANTIATE} ${srcdir} dictionary pointer pointer.h
56
57 unsigned_long_dictionary.c unsigned_long_dictionary.h: dictionary.c \
58                                                         dictionary.h
59         ${INSTANTIATE} ${srcdir} dictionary unsigned_long unsigned_long.h
60
61 string_dictionary.c string_dictionary.h: dictionary.c dictionary.h
62         ${INSTANTIATE} ${srcdir} dictionary string new_string.h
63
64 int_dictionary.c int_dictionary.h: dictionary.c dictionary.h
65         ${INSTANTIATE} ${srcdir} dictionary int
66
67 char_stack.h: stack.h
68         ${INSTANTIATE} ${srcdir} stack char
69
70 string_stack.h: stack.h
71         ${INSTANTIATE} ${srcdir} stack string
72
73 xmode_stack.h: stack.h
74         ${INSTANTIATE} ${srcdir} stack xmode
75
76 lexer.o: y.tab.h
77
78 parser.o: y.tab.c y.tab.h
79         ${CC} -c ${ALL_CFLAGS} -o $@ y.tab.c
80
81 y.tab.c y.tab.h: ${srcdir}/parser.y
82         ${YACC} ${YFLAGS} ${srcdir}/parser.y
83
84 .c.o:
85         ${CC} -c ${ALL_CFLAGS} $<
86
87 check:
88
89 install: zwgc
90         ${LIBTOOL} --mode=install ${INSTALL} -m 755 zwgc ${DESTDIR}${bindir}
91         ${INSTALL} -m 644 ${srcdir}/zwgc.1 ${DESTDIR}${mandir}/man1
92         ${INSTALL} -m 644 ${srcdir}/zwgc.desc ${DESTDIR}${datadir}/zephyr
93         ${INSTALL} -m 644 ${srcdir}/zwgc_resources ${DESTDIR}${datadir}/zephyr
94
95 clean:
96         ${LIBTOOL} --mode=clean rm -f zwgc
97         rm -f ${OBJS} port_dictionary.[ch] pointer_dictionary.[ch]
98         rm -f unsigned_long_dictionary.[ch] string_dictionary.[ch]
99         rm -f int_dictionary.[ch] char_stack.h string_stack.h xmode_stack.h
100         rm -f y.tab.[ch]
101
102 ${OBJS}: ${top_srcdir}/h/sysdep.h ${BUILDTOP}/h/config.h
103 zephyr.o: ${BUILDTOP}/h/zephyr/zephyr.h ${BUILDTOP}/h/zephyr/zephyr_err.h
104
105 port_dictionary.o: port.h string_stack.h new_string.h new_memory.h
106 pointer_dictionary.o: pointer.h new_string.h new_memory.h
107 unsigned_long_dictionary.o: new_string.h new_memory.h
108 string_dictionary.o: new_string.h new_memory.h
109 int_dictionary.o: new_string.h new_memory.h
110 X_driver.o: X_driver.h new_memory.h formatter.h mux.h variables.h error.h
111 X_driver.o: X_gram.h xselect.h unsigned_long_dictionary.h
112 X_fonts.o: X_fonts.h new_memory.h new_string.h error.h pointer_dictionary.h
113 X_fonts.o: zwgc.h
114 X_gram.o: X_gram.h xmark.h zwgc.h X_driver.h X_fonts.h error.h new_string.h
115 X_gram.o: xrevstack.h xerror.h xselect.h
116 browser.o: zwgc.h
117 buffer.o: new_memory.h buffer.h
118 character_class.o: character_class.h
119 eval.o: new_memory.h node.h eval.h substitute.h port.h buffer.h regexp.h
120 eval.o: text_operations.h zwgc.h variables.h
121 exec.o: new_memory.h exec.h eval.h node.h buffer.h port.h variables.h notice.h
122 file.o: new_memory.h new_string.h error.h
123 formatter.o: new_memory.h char_stack.h string_dictionary.h formatter.h
124 formatter.o: text_operations.h
125 lexer.o: new_memory.h new_string.h int_dictionary.h lexer.h parser.h
126 main.o: new_memory.h zwgc.h parser.h node.h exec.h zephyr.h notice.h
127 main.o: subscriptions.h file.h mux.h port.h variables.h main.h
128 mux.o: mux.h error.h zwgc.h pointer.h
129 new_memory.o: new_memory.h int_dictionary.h
130 new_string.o: new_memory.h
131 node.o: new_memory.h node.h
132 notice.o: new_memory.h error.h variables.h notice.h
133 port.o: new_string.h port_dictionary.h port.h notice.h variables.h
134 regexp.o: regexp.h
135 standard_ports.o: new_memory.h port.h variables.h error.h main.h
136 string_dictionary_aux.o: new_memory.h string_dictionary.h
137 subscriptions.o: new_memory.h new_string.h int_dictionary.h zwgc.h
138 subscriptions.o: subscriptions.h error.h file.h main.h
139 substitute.o: new_memory.h lexer.h substitute.h
140 text_operations.o: new_memory.h text_operations.h char_stack.h
141 tty_filter.o: new_memory.h new_string.h string_dictionary_aux.h formatter.h
142 tty_filter.o: zwgc.h error.h
143 variables.o: new_memory.h notice.h string_dictionary_aux.h variables.h
144 xcut.o: new_memory.h new_string.h X_gram.h zwgc.h xselect.h xmark.h error.h
145 xcut.o: xrevstack.h
146 xerror.o: mux.h
147 xmark.o: X_gram.h X_fonts.h xmark.h new_string.h
148 xrevstack.o: X_gram.h zwgc.h
149 xselect.o: new_string.h xselect.h
150 xshow.o: pointer_dictionary.h new_memory.h formatter.h variables.h zwgc.h
151 xshow.o: X_fonts.h X_gram.h xmode_stack.h
152 zephyr.o: new_string.h zephyr.h error.h mux.h subscriptions.h variables.h
153 zephyr.o: pointer.h X_driver.h
154
155 .PHONY: all check install clean
156