Mercurial > emacs
annotate oldXMenu/descrip.mms @ 95238:2763e6e1fbe8
Spelling fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 23 May 2008 04:41:33 +0000 |
parents | 3765d76f7fa8 |
children |
rev | line source |
---|---|
76175 | 1 ### descrip.mms - port of oldXMenu Makefile to VMS |
2 | |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
3 ## Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
4 ## 2008 Free Software Foundation, Inc. |
76175 | 5 |
6 ## Author: Richard Levitte | |
7 | |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
8 ## This program is free software: you can redistribute it and/or modify |
76175 | 9 ## it under the terms of the GNU General Public License as published by |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
10 ## the Free Software Foundation, either version 3 of the License, or |
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
11 ## (at your option) any later version. |
76175 | 12 |
13 ## This program is distributed in the hope that it will be useful, | |
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 ## GNU General Public License for more details. | |
17 | |
18 ## You should have received a copy of the GNU General Public License | |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
19 ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
76175 | 20 |
21 | |
22 ### Code: | |
23 | |
25858 | 24 !# Uncomment following line if linking temacs complains about missing insque. |
25 EXTRA=insque.obj | |
26 | |
27 AS = as | |
28 CC = cc | |
29 LD = link | |
30 TAGS = etags | |
31 RM = delete | |
32 MV = rename | |
33 AR = library/insert | |
34 MAKE = mms | |
35 STD_DEFINES = | |
36 CDEBUGFLAGS = /debug/noopt | |
37 RM_CMD = $(RM) *.BAK.*, *.obj.* | |
38 | |
39 SRCS = Activate.c, - | |
40 AddPane.c, - | |
41 AddSel.c, - | |
42 ChgPane.c, - | |
43 ChgSel.c, - | |
44 Create.c, - | |
45 DelPane.c, - | |
46 DelSel.c, - | |
47 Destroy.c, - | |
48 Error.c, - | |
49 EvHand.c, - | |
50 FindPane.c, - | |
51 FindSel.c, - | |
52 InsPane.c, - | |
53 InsSel.c, - | |
54 Internal.c, - | |
55 Locate.c, - | |
56 Post.c, - | |
57 Recomp.c, - | |
58 SetAEQ.c, - | |
59 SetFrz.c, - | |
60 SetPane.c, - | |
61 SetSel.c, - | |
62 XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c | |
63 | |
64 OBJS = Activate.obj, - | |
65 AddPane.obj, - | |
66 AddSel.obj, - | |
67 ChgPane.obj, - | |
68 ChgSel.obj, - | |
69 Create.obj, - | |
70 DelPane.obj, - | |
71 DelSel.obj, - | |
72 Destroy.obj, - | |
73 Error.obj, - | |
74 EvHand.obj, - | |
75 FindPane.obj, - | |
76 FindSel.obj, - | |
77 InsPane.obj, - | |
78 InsSel.obj, - | |
79 Internal.obj, - | |
80 Locate.obj, - | |
81 Post.obj, - | |
82 Recomp.obj, - | |
83 SetAEQ.obj, - | |
84 SetFrz.obj, - | |
85 SetPane.obj, - | |
86 SetSel.obj, - | |
87 XDelAssoc.obj, XLookAssoc.obj, XCrAssoc.obj, XDestAssoc.obj, - | |
88 XMakeAssoc.obj | |
89 | |
90 .c.obj : | |
91 if f$search("$@") then $(RM) $@.* | |
92 $(CC) /obj=$@ $(CFLAGS) $*.c | |
93 | |
94 all :: libXMenu11.olb | |
95 ! | |
96 | |
97 libXMenu11.olb : $(OBJS) $(EXTRA) | |
98 if f$search("$@") then $(RM) $@.* | |
99 $(AR)/create $@ $(OBJS) | |
100 if ("$(EXTRA)" .nes. "") then $(AR) $@ $(EXTRA) | |
101 #If running ranlib fails, probably there is none. | |
102 #That's ok. So don't stop the build. | |
103 | |
104 distclean : clean | |
105 ! | |
106 | |
107 clean :: | |
108 $(RM_CMD) \#* libXMenu11.a *.obj, | |
109 tags :: | |
110 $(TAGS) -t *.[ch] | |
111 |