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