Switch to recommended form of GPLv3 permissions notice.
[bpt/emacs.git] / oldXMenu / descrip.mms
CommitLineData
4ad9cddc
GM
1### descrip.mms - port of oldXMenu Makefile to VMS
2
4eaa4034
GM
3## Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4## 2008 Free Software Foundation, Inc.
4ad9cddc
GM
5
6## Author: Richard Levitte
7
4eaa4034 8## This program is free software: you can redistribute it and/or modify
4ad9cddc 9## it under the terms of the GNU General Public License as published by
4eaa4034
GM
10## the Free Software Foundation, either version 3 of the License, or
11## (at your option) any later version.
4ad9cddc
GM
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
4eaa4034 19## along with this program. If not, see <http://www.gnu.org/licenses/>.
4ad9cddc
GM
20
21
22### Code:
23
e745ede7
DL
24!# Uncomment following line if linking temacs complains about missing insque.
25EXTRA=insque.obj
26
27AS = as
28CC = cc
29LD = link
30TAGS = etags
31RM = delete
32MV = rename
33AR = library/insert
34MAKE = mms
35STD_DEFINES =
36CDEBUGFLAGS = /debug/noopt
37RM_CMD = $(RM) *.BAK.*, *.obj.*
38
39SRCS = 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
64OBJS = 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
94all :: libXMenu11.olb
95 !
96
97libXMenu11.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
104distclean : clean
105 !
106
107clean ::
108 $(RM_CMD) \#* libXMenu11.a *.obj,
109tags ::
110 $(TAGS) -t *.[ch]
111