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