]> code.delx.au - gnu-emacs/blob - oldXMenu/descrip.mms
(Text): Replace inforef to emacs-xtra by conditional xref's, depending on
[gnu-emacs] / oldXMenu / descrip.mms
1 !# Uncomment following line if linking temacs complains about missing insque.
2 EXTRA=insque.obj
3
4 AS = as
5 CC = cc
6 LD = link
7 TAGS = etags
8 RM = delete
9 MV = rename
10 AR = library/insert
11 MAKE = mms
12 STD_DEFINES =
13 CDEBUGFLAGS = /debug/noopt
14 RM_CMD = $(RM) *.BAK.*, *.obj.*
15
16 SRCS = Activate.c, -
17 AddPane.c, -
18 AddSel.c, -
19 ChgPane.c, -
20 ChgSel.c, -
21 Create.c, -
22 DelPane.c, -
23 DelSel.c, -
24 Destroy.c, -
25 Error.c, -
26 EvHand.c, -
27 FindPane.c, -
28 FindSel.c, -
29 InsPane.c, -
30 InsSel.c, -
31 Internal.c, -
32 Locate.c, -
33 Post.c, -
34 Recomp.c, -
35 SetAEQ.c, -
36 SetFrz.c, -
37 SetPane.c, -
38 SetSel.c, -
39 XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c
40
41 OBJS = Activate.obj, -
42 AddPane.obj, -
43 AddSel.obj, -
44 ChgPane.obj, -
45 ChgSel.obj, -
46 Create.obj, -
47 DelPane.obj, -
48 DelSel.obj, -
49 Destroy.obj, -
50 Error.obj, -
51 EvHand.obj, -
52 FindPane.obj, -
53 FindSel.obj, -
54 InsPane.obj, -
55 InsSel.obj, -
56 Internal.obj, -
57 Locate.obj, -
58 Post.obj, -
59 Recomp.obj, -
60 SetAEQ.obj, -
61 SetFrz.obj, -
62 SetPane.obj, -
63 SetSel.obj, -
64 XDelAssoc.obj, XLookAssoc.obj, XCrAssoc.obj, XDestAssoc.obj, -
65 XMakeAssoc.obj
66
67 .c.obj :
68 if f$search("$@") then $(RM) $@.*
69 $(CC) /obj=$@ $(CFLAGS) $*.c
70
71 all :: libXMenu11.olb
72 !
73
74 libXMenu11.olb : $(OBJS) $(EXTRA)
75 if f$search("$@") then $(RM) $@.*
76 $(AR)/create $@ $(OBJS)
77 if ("$(EXTRA)" .nes. "") then $(AR) $@ $(EXTRA)
78 #If running ranlib fails, probably there is none.
79 #That's ok. So don't stop the build.
80
81 distclean : clean
82 !
83
84 clean ::
85 $(RM_CMD) \#* libXMenu11.a *.obj,
86 tags ::
87 $(TAGS) -t *.[ch]
88