source: trunk/athena/lib/Xj/Makefile.in @ 12814

Revision 12814, 2.7 KB checked in by ghudson, 26 years ago (diff)
Bitmaps! Bitmaps bitmaps bitmaps! Er, sorry. Make the jets library find the bitmaps directory.
Line 
1# $Id: Makefile.in,v 1.4 1999-04-01 20:09:35 ghudson Exp $
2
3SHELL=/bin/sh
4
5SHELL=/bin/sh
6VPATH=@srcdir@
7INSTALL=@INSTALL@
8INSTALL_PROGRAM=@INSTALL_PROGRAM@
9RANLIB=@RANLIB@
10srcdir=@srcdir@
11top_srcdir=@top_srcdir@
12prefix=@prefix@
13exec_prefix=@exec_prefix@
14datadir=@datadir@
15libdir=@libdir@
16includedir=@includedir@
17appdefdir=${datadir}/X11/app-defaults
18bitmapdir=${includedir}/X11/bitmaps
19
20CC=@CC@
21DEFS=@DEFS@
22CPPFLAGS=@CPPFLAGS@
23CFLAGS=@CFLAGS@
24X_CFLAGS=@X_CFLAGS@
25LDFLAGS=@LDFLAGS@
26LIBS=@LIBS@
27ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS} -DSHAPE \
28        -DHOSTTYPE=\"${HOSTTYPE}\" -DAPPDEFDIR=\"${appdefdir}\" \
29        -DBITMAPDIR=\"${bitmapdir}\"
30
31OBJS=   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
37all: libXj.a
38
39libXj.a: ${OBJS}
40        ar cru $@ ${OBJS}
41        ${RANLIB} $@
42
43.c.o:
44        ${CC} -c ${ALL_CFLAGS} $<
45
46sintable.h: sintable
47        rm -f $@
48        ./sintable > $@
49
50sintable: sintable.o
51        ${CC} ${LDFLAGS} -o $@ sintable.o ${LIBS} -lm
52
53check:
54
55install:
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
77clean:
78        rm -f ${OBJS} sintable.o sintable libXj.a
79
80${OBJS} sintable.o: mit-copyright.h Jets.h
81AClock.o: AClock.h sintable.h
82Button.o: Button.h
83DClock.o: DClock.h
84Drawing.o: Drawing.h
85Form.o: Form.h
86Jets.o: hash.h
87Label.o: Label.h
88Menu.o: Window.h Menu.h hash.h Button.h warn.h
89ScrollBar.o: ScrollBar.h
90StrToXFont.o: hash.h
91TextDisplay.o: TextDisplay.h xselect.h
92Tree.o: Tree.h
93VaCreateJet.o: VaCreateJet.c
94Window.o: Window.h
95hash.o: hash.h
96registerCB.o: hash.h
97sintable.o: AClock.h
98warn.o: Window.h Button.h Label.h Form.h warn.h
99xselect.o: xselect.h
Note: See TracBrowser for help on using the repository browser.