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

Revision 22838, 2.8 KB checked in by tabbott, 17 years ago (diff)
In Xj: * Merged quilt patches into mainline Athena tree
Line 
1# $Id: Makefile.in,v 1.5 2000-04-26 15:12:42 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@
17sysconfdir=@sysconfdir@
18appdefdir=${sysconfdir}/X11/app-defaults
19bitmapdir=${includedir}/X11/bitmaps
20
21CC=@CC@
22DEFS=@DEFS@
23CPPFLAGS=@CPPFLAGS@
24CFLAGS=@CFLAGS@
25X_CFLAGS=@X_CFLAGS@
26LDFLAGS=@LDFLAGS@
27LIBS=@LIBS@
28ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS} -DSHAPE \
29        -DHOSTTYPE=\"${HOSTTYPE}\" -DAPPDEFDIR=\"${appdefdir}\" \
30        -DBITMAPDIR=\"${bitmapdir}\"
31
32OBJS=   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
38all: libXj.a
39
40libXj.a: ${OBJS}
41        ar cru $@ ${OBJS}
42        ${RANLIB} $@
43
44.c.o:
45        ${CC} -c ${ALL_CFLAGS} $<
46
47sintable.h: sintable
48        rm -f $@
49        ./sintable > $@
50
51sintable: sintable.o
52        ${CC} ${LDFLAGS} -o $@ sintable.o ${LIBS} -lm
53
54check:
55
56install:
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
78clean:
79        rm -f ${OBJS} sintable.o sintable libXj.a
80
81${OBJS} sintable.o: mit-copyright.h Jets.h
82AClock.o: AClock.h sintable.h
83Button.o: Button.h
84DClock.o: DClock.h
85Drawing.o: Drawing.h
86Form.o: Form.h
87Jets.o: hash.h
88Label.o: Label.h
89Menu.o: Window.h Menu.h hash.h Button.h warn.h
90ScrollBar.o: ScrollBar.h
91StrToXFont.o: hash.h
92TextDisplay.o: TextDisplay.h xselect.h
93Tree.o: Tree.h
94VaCreateJet.o: VaCreateJet.c
95Window.o: Window.h
96hash.o: hash.h
97registerCB.o: hash.h
98sintable.o: AClock.h
99warn.o: Window.h Button.h Label.h Form.h warn.h
100xselect.o: xselect.h
Note: See TracBrowser for help on using the repository browser.