|
|
1.1 root 1: #
2: # $Header: Makefile,v 10.4 86/11/19 16:44:22 jg Rel $
3: #
4:
5: #/*
6: # * COPYRIGHT 1985, 1986
7: # * DIGITAL EQUIPMENT CORPORATION
8: # * MAYNARD, MASSACHUSETTS
9: # * ALL RIGHTS RESERVED.
10: # *
11: # * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
12: # * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
13: # * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITIBILITY OF THIS SOFTWARE FOR
14: # * ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
15: # *
16: # * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS,
17: # * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT
18: # * SET FORTH ABOVE.
19: # *
20: # *
21: # * Permission to use, copy, modify, and distribute this software and its
22: # * documentation for any purpose and without fee is hereby granted, provided
23: # * that the above copyright notice appear in all copies and that both that
24: # * copyright notice and this permission notice appear in supporting documentation,
25: # * and that the name of Digital Equipment Corporation not be used in advertising
26: # * or publicity pertaining to distribution of the software without specific,
27: # * written prior permission.
28: # *
29: # */
30:
31: #/*
32: #* MODIFICATION HISTORY
33: #*
34: #* 000 -- M. Gancarz, DEC Ultrix Engineering Group
35: #*/
36: #
37: # $Header: Makefile,v 10.4 86/11/19 16:44:22 jg Rel $
38: #
39:
40: # SCCSID="@(#)Makefile 3.7 1/23/86"
41: #
42: # Makefile for 'uwm' window manager (client of X windowing system)
43: #
44: #
45:
46: DESTDIR=
47: CONFDIR= /usr/new
48: UWMDIR= /usr/new/lib/X/uwm
49: INCLUDES= -I../include
50: CURSORDIR= ../cursors
51: CFLAGS= -O $(INCLUDES) -I$(CURSORDIR)
52: YFLAGS= -d
53: LLIB= -ll
54: XLIB= ../Xlib/libX.a
55:
56: SRCS= gram.y lex.l globals.c Beep.c Bindings.c CircleDown.c CircleUp.c\
57: Focus.c GetButton.c Iconify.c Lower.c Menu.c Move.c\
58: MoveOpaque.c NewIconify.c Pause.c Push.c Error.c Raise.c Refresh.c\
59: Resize.c Restart.c StoreBox.c StoreGridBox.c StoreCursors.c StoreZap.c\
60: XError.c uwm.c
61:
62: OBJS= gram.o lex.o globals.o Beep.o Bindings.o CircleDown.o CircleUp.o\
63: Focus.o GetButton.o Iconify.o Lower.o Menu.o Move.o\
64: MoveOpaque.o NewIconify.o Pause.o Push.o Error.o Raise.o Refresh.o\
65: Resize.o Restart.o StoreBox.o StoreGridBox.o StoreCursors.o StoreZap.o\
66: XError.o uwm.o
67:
68: all: uwm
69:
70: uwm: $(OBJS)
71: $(CC) ${CFLAGS} $(OBJS) $(LLIB) ${XLIB} -o uwm
72:
73: install: uwm default.uwmrc menuless.uwmrc mono.uwmrc ${DESTDIR}${UWMDIR}
74: install -c -s -m 755 uwm ${DESTDIR}${CONFDIR}
75: install -c -m 644 default.uwmrc ${DESTDIR}${UWMDIR}/default.uwmrc
76: install -c -m 644 menuless.uwmrc ${DESTDIR}${UWMDIR}/menuless.uwmrc
77: install -c -m 644 mono.uwmrc ${DESTDIR}${UWMDIR}/mono.uwmrc
78: install -c -m 644 jg.uwmrc ${DESTDIR}${UWMDIR}/jg.uwmrc
79:
80: ${DESTDIR}${UWMDIR}:
81: mkdir ${DESTDIR}${UWMDIR}
82: chmod 755 ${DESTDIR}${UWMDIR}
83:
84: $(OBJS): uwm.h
85:
86: lex.o: uwm.h lex.l
87:
88: StoreCursors.o: uwm.h\
89: $(CURSORDIR)/arrow_cross.cursor\
90: $(CURSORDIR)/arrow_cross_mask.cursor\
91: $(CURSORDIR)/xterm.cursor\
92: $(CURSORDIR)/xterm_mask.cursor\
93: $(CURSORDIR)/icon.cursor\
94: $(CURSORDIR)/icon_mask.cursor\
95: menu.cursor\
96: menu_mask.cursor\
97: leftbutton.cursor\
98: middlebutton.cursor\
99: rightbutton.cursor\
100: button_mask.cursor
101:
102: $(XLIB):
103: @echo "Cannot make the Ultrix Window Manager without a valid X library."
104:
105: clean:
106: -rm -f *.o lex.yy.c core y.output y.tab.h uwm *.bak *.sav tmp* \#* *~
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.