1 | # $Id: Makefile.in,v 1.4 1999-04-01 20:09:35 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | SHELL=/bin/sh |
---|
6 | VPATH=@srcdir@ |
---|
7 | INSTALL=@INSTALL@ |
---|
8 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
9 | RANLIB=@RANLIB@ |
---|
10 | srcdir=@srcdir@ |
---|
11 | top_srcdir=@top_srcdir@ |
---|
12 | prefix=@prefix@ |
---|
13 | exec_prefix=@exec_prefix@ |
---|
14 | datadir=@datadir@ |
---|
15 | libdir=@libdir@ |
---|
16 | includedir=@includedir@ |
---|
17 | appdefdir=${datadir}/X11/app-defaults |
---|
18 | bitmapdir=${includedir}/X11/bitmaps |
---|
19 | |
---|
20 | CC=@CC@ |
---|
21 | DEFS=@DEFS@ |
---|
22 | CPPFLAGS=@CPPFLAGS@ |
---|
23 | CFLAGS=@CFLAGS@ |
---|
24 | X_CFLAGS=@X_CFLAGS@ |
---|
25 | LDFLAGS=@LDFLAGS@ |
---|
26 | LIBS=@LIBS@ |
---|
27 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS} -DSHAPE \ |
---|
28 | -DHOSTTYPE=\"${HOSTTYPE}\" -DAPPDEFDIR=\"${appdefdir}\" \ |
---|
29 | -DBITMAPDIR=\"${bitmapdir}\" |
---|
30 | |
---|
31 | OBJS= AClock.o Arrow.o Button.o DClock.o Drawing.o Form.o Jets.o \ |
---|
32 | Label.o Menu.o ScrollBar.o StrToBool.o StrToDirect.o \ |
---|
33 | StrToJust.o StrToOrient.o StrToPixmap.o StrToXColor.o \ |
---|
34 | StrToXFont.o TextDisplay.o Tree.o VaCreateJet.o Window.o \ |
---|
35 | hash.o registerCB.o warn.o xselect.o |
---|
36 | |
---|
37 | all: libXj.a |
---|
38 | |
---|
39 | libXj.a: ${OBJS} |
---|
40 | ar cru $@ ${OBJS} |
---|
41 | ${RANLIB} $@ |
---|
42 | |
---|
43 | .c.o: |
---|
44 | ${CC} -c ${ALL_CFLAGS} $< |
---|
45 | |
---|
46 | sintable.h: sintable |
---|
47 | rm -f $@ |
---|
48 | ./sintable > $@ |
---|
49 | |
---|
50 | sintable: sintable.o |
---|
51 | ${CC} ${LDFLAGS} -o $@ sintable.o ${LIBS} -lm |
---|
52 | |
---|
53 | check: |
---|
54 | |
---|
55 | install: |
---|
56 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} |
---|
57 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/Jets |
---|
58 | ${INSTALL} -m 644 libXj.a ${DESTDIR}${libdir} |
---|
59 | ${RANLIB} ${DESTDIR}${libdir}/libXj.a |
---|
60 | chmod u-w ${DESTDIR}${libdir}/libXj.a |
---|
61 | ${INSTALL} -m 444 AClock.h ${DESTDIR}${includedir}/Jets |
---|
62 | ${INSTALL} -m 444 Arrow.h ${DESTDIR}${includedir}/Jets |
---|
63 | ${INSTALL} -m 444 Button.h ${DESTDIR}${includedir}/Jets |
---|
64 | ${INSTALL} -m 444 DClock.h ${DESTDIR}${includedir}/Jets |
---|
65 | ${INSTALL} -m 444 Drawing.h ${DESTDIR}${includedir}/Jets |
---|
66 | ${INSTALL} -m 444 Form.h ${DESTDIR}${includedir}/Jets |
---|
67 | ${INSTALL} -m 444 Jets.h ${DESTDIR}${includedir}/Jets |
---|
68 | ${INSTALL} -m 444 Label.h ${DESTDIR}${includedir}/Jets |
---|
69 | ${INSTALL} -m 444 Menu.h ${DESTDIR}${includedir}/Jets |
---|
70 | ${INSTALL} -m 444 ScrollBar.h ${DESTDIR}${includedir}/Jets |
---|
71 | ${INSTALL} -m 444 TextDisplay.h ${DESTDIR}${includedir}/Jets |
---|
72 | ${INSTALL} -m 444 Tree.h ${DESTDIR}${includedir}/Jets |
---|
73 | ${INSTALL} -m 444 Window.h ${DESTDIR}${includedir}/Jets |
---|
74 | ${INSTALL} -m 444 hash.h ${DESTDIR}${includedir}/Jets |
---|
75 | ${INSTALL} -m 444 warn.h ${DESTDIR}${includedir}/Jets |
---|
76 | |
---|
77 | clean: |
---|
78 | rm -f ${OBJS} sintable.o sintable libXj.a |
---|
79 | |
---|
80 | ${OBJS} sintable.o: mit-copyright.h Jets.h |
---|
81 | AClock.o: AClock.h sintable.h |
---|
82 | Button.o: Button.h |
---|
83 | DClock.o: DClock.h |
---|
84 | Drawing.o: Drawing.h |
---|
85 | Form.o: Form.h |
---|
86 | Jets.o: hash.h |
---|
87 | Label.o: Label.h |
---|
88 | Menu.o: Window.h Menu.h hash.h Button.h warn.h |
---|
89 | ScrollBar.o: ScrollBar.h |
---|
90 | StrToXFont.o: hash.h |
---|
91 | TextDisplay.o: TextDisplay.h xselect.h |
---|
92 | Tree.o: Tree.h |
---|
93 | VaCreateJet.o: VaCreateJet.c |
---|
94 | Window.o: Window.h |
---|
95 | hash.o: hash.h |
---|
96 | registerCB.o: hash.h |
---|
97 | sintable.o: AClock.h |
---|
98 | warn.o: Window.h Button.h Label.h Form.h warn.h |
---|
99 | xselect.o: xselect.h |
---|