| 1 |
### descrip.mms - port of oldXMenu Makefile to VMS |
|---|
| 2 |
|
|---|
| 3 |
## Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006, |
|---|
| 4 |
## 2007, 2008 Free Software Foundation, Inc. |
|---|
| 5 |
|
|---|
| 6 |
## Author: Richard Levitte |
|---|
| 7 |
|
|---|
| 8 |
## This program is free software; you can redistribute it and/or modify |
|---|
| 9 |
## it under the terms of the GNU General Public License as published by |
|---|
| 10 |
## the Free Software Foundation; either version 3, or (at your option) |
|---|
| 11 |
## any later version. |
|---|
| 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 |
|---|
| 19 |
## along with this program; see the file COPYING. If not, write to |
|---|
| 20 |
## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|---|
| 21 |
## Boston, MA 02110-1301, USA. |
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
### Code: |
|---|
| 25 |
|
|---|
| 26 |
!# Uncomment following line if linking temacs complains about missing insque. |
|---|
| 27 |
EXTRA=insque.obj |
|---|
| 28 |
|
|---|
| 29 |
AS = as |
|---|
| 30 |
CC = cc |
|---|
| 31 |
LD = link |
|---|
| 32 |
TAGS = etags |
|---|
| 33 |
RM = delete |
|---|
| 34 |
MV = rename |
|---|
| 35 |
AR = library/insert |
|---|
| 36 |
MAKE = mms |
|---|
| 37 |
STD_DEFINES = |
|---|
| 38 |
CDEBUGFLAGS = /debug/noopt |
|---|
| 39 |
RM_CMD = $(RM) *.BAK.*, *.obj.* |
|---|
| 40 |
|
|---|
| 41 |
SRCS = Activate.c, - |
|---|
| 42 |
AddPane.c, - |
|---|
| 43 |
AddSel.c, - |
|---|
| 44 |
ChgPane.c, - |
|---|
| 45 |
ChgSel.c, - |
|---|
| 46 |
Create.c, - |
|---|
| 47 |
DelPane.c, - |
|---|
| 48 |
DelSel.c, - |
|---|
| 49 |
Destroy.c, - |
|---|
| 50 |
Error.c, - |
|---|
| 51 |
EvHand.c, - |
|---|
| 52 |
FindPane.c, - |
|---|
| 53 |
FindSel.c, - |
|---|
| 54 |
InsPane.c, - |
|---|
| 55 |
InsSel.c, - |
|---|
| 56 |
Internal.c, - |
|---|
| 57 |
Locate.c, - |
|---|
| 58 |
Post.c, - |
|---|
| 59 |
Recomp.c, - |
|---|
| 60 |
SetAEQ.c, - |
|---|
| 61 |
SetFrz.c, - |
|---|
| 62 |
SetPane.c, - |
|---|
| 63 |
SetSel.c, - |
|---|
| 64 |
XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c |
|---|
| 65 |
|
|---|
| 66 |
OBJS = Activate.obj, - |
|---|
| 67 |
AddPane.obj, - |
|---|
| 68 |
AddSel.obj, - |
|---|
| 69 |
ChgPane.obj, - |
|---|
| 70 |
ChgSel.obj, - |
|---|
| 71 |
Create.obj, - |
|---|
| 72 |
DelPane.obj, - |
|---|
| 73 |
DelSel.obj, - |
|---|
| 74 |
Destroy.obj, - |
|---|
| 75 |
Error.obj, - |
|---|
| 76 |
EvHand.obj, - |
|---|
| 77 |
FindPane.obj, - |
|---|
| 78 |
FindSel.obj, - |
|---|
| 79 |
InsPane.obj, - |
|---|
| 80 |
InsSel.obj, - |
|---|
| 81 |
Internal.obj, - |
|---|
| 82 |
Locate.obj, - |
|---|
| 83 |
Post.obj, - |
|---|
| 84 |
Recomp.obj, - |
|---|
| 85 |
SetAEQ.obj, - |
|---|
| 86 |
SetFrz.obj, - |
|---|
| 87 |
SetPane.obj, - |
|---|
| 88 |
SetSel.obj, - |
|---|
| 89 |
XDelAssoc.obj, XLookAssoc.obj, XCrAssoc.obj, XDestAssoc.obj, - |
|---|
| 90 |
XMakeAssoc.obj |
|---|
| 91 |
|
|---|
| 92 |
.c.obj : |
|---|
| 93 |
if f$search("$@") then $(RM) $@.* |
|---|
| 94 |
$(CC) /obj=$@ $(CFLAGS) $*.c |
|---|
| 95 |
|
|---|
| 96 |
all :: libXMenu11.olb |
|---|
| 97 |
! |
|---|
| 98 |
|
|---|
| 99 |
libXMenu11.olb : $(OBJS) $(EXTRA) |
|---|
| 100 |
if f$search("$@") then $(RM) $@.* |
|---|
| 101 |
$(AR)/create $@ $(OBJS) |
|---|
| 102 |
if ("$(EXTRA)" .nes. "") then $(AR) $@ $(EXTRA) |
|---|
| 103 |
#If running ranlib fails, probably there is none. |
|---|
| 104 |
#That's ok. So don't stop the build. |
|---|
| 105 |
|
|---|
| 106 |
distclean : clean |
|---|
| 107 |
! |
|---|
| 108 |
|
|---|
| 109 |
clean :: |
|---|
| 110 |
$(RM_CMD) \#* libXMenu11.a *.obj, |
|---|
| 111 |
tags :: |
|---|
| 112 |
$(TAGS) -t *.[ch] |
|---|
| 113 |
|
|---|