2007-02-27 03:00:17 +00:00
|
|
|
## Makefile for oldXMenu
|
|
|
|
|
|
|
|
## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
|
|
|
|
|
|
|
|
## Permission to use, copy, modify, and distribute this
|
|
|
|
## software and its documentation for any purpose and without
|
|
|
|
## fee is hereby granted, provided that the above copyright
|
|
|
|
## notice appear in all copies and that both that copyright
|
|
|
|
## notice and this permission notice appear in supporting
|
|
|
|
## documentation, and that the name of M.I.T. not be used in
|
|
|
|
## advertising or publicity pertaining to distribution of the
|
|
|
|
## software without specific, written prior permission.
|
|
|
|
## M.I.T. makes no representations about the suitability of
|
|
|
|
## this software for any purpose. It is provided "as is"
|
|
|
|
## without express or implied warranty.
|
|
|
|
|
|
|
|
|
Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.
* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
* src/Makefile.in (CPP, LN_S): Remove unused variables.
* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 07:24:18 +00:00
|
|
|
## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
|
|
|
## 2010 Free Software Foundation, Inc.
|
2007-02-27 03:00:17 +00:00
|
|
|
|
2008-05-09 04:51:27 +00:00
|
|
|
## This program is free software: you can redistribute it and/or modify
|
2007-02-27 03:00:17 +00:00
|
|
|
## it under the terms of the GNU General Public License as published by
|
2008-05-09 04:51:27 +00:00
|
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
|
|
## (at your option) any later version.
|
|
|
|
|
2007-02-27 03:00:17 +00:00
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
2008-05-09 04:51:27 +00:00
|
|
|
|
2007-02-27 03:00:17 +00:00
|
|
|
## You should have received a copy of the GNU General Public License
|
2008-05-09 04:51:27 +00:00
|
|
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2007-02-27 03:00:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
### Commentary:
|
|
|
|
|
|
|
|
## To the best of our knowledge, this code was originally based on the
|
|
|
|
## X11 oldXMenu Makefile, which was automatically generated from the
|
Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.
* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
* src/Makefile.in (CPP, LN_S): Remove unused variables.
* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 07:24:18 +00:00
|
|
|
## X11 oldXMenu Imakefile. There was no explicit copyright information
|
2007-02-27 03:00:17 +00:00
|
|
|
## in the Imakefile, therefore we have added the same MIT license as
|
|
|
|
## used by the rest of the oldXMenu code.
|
|
|
|
|
|
|
|
|
|
|
|
### Code:
|
|
|
|
|
1999-10-03 19:36:13 +00:00
|
|
|
srcdir=@srcdir@
|
|
|
|
VPATH=@srcdir@
|
|
|
|
C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
|
2010-04-27 05:24:53 +00:00
|
|
|
C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
|
2010-05-04 03:26:38 +00:00
|
|
|
C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
|
|
|
|
C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
|
1999-10-03 19:36:13 +00:00
|
|
|
|
|
|
|
EXTRA=insque.o
|
|
|
|
CC=@CC@
|
|
|
|
CFLAGS=@CFLAGS@
|
Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.
* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
* src/Makefile.in (CPP, LN_S): Remove unused variables.
* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 07:24:18 +00:00
|
|
|
TAGS = etags
|
|
|
|
RM = rm -f
|
2010-05-06 07:29:09 +00:00
|
|
|
RANLIB = @RANLIB@
|
1999-10-03 19:36:13 +00:00
|
|
|
# Solaris 2.1 ar doesn't accept the 'l' option.
|
Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.
* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
* src/Makefile.in (CPP, LN_S): Remove unused variables.
* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 07:24:18 +00:00
|
|
|
AR = ar cq
|
1999-10-03 19:36:13 +00:00
|
|
|
|
|
|
|
OBJS = Activate.o \
|
|
|
|
AddPane.o \
|
|
|
|
AddSel.o \
|
|
|
|
ChgPane.o \
|
|
|
|
ChgSel.o \
|
|
|
|
Create.o \
|
|
|
|
DelPane.o \
|
|
|
|
DelSel.o \
|
|
|
|
Destroy.o \
|
|
|
|
Error.o \
|
|
|
|
EvHand.o \
|
|
|
|
FindPane.o \
|
|
|
|
FindSel.o \
|
|
|
|
InsPane.o \
|
|
|
|
InsSel.o \
|
|
|
|
Internal.o \
|
|
|
|
Locate.o \
|
|
|
|
Post.o \
|
|
|
|
Recomp.o \
|
|
|
|
SetAEQ.o \
|
|
|
|
SetFrz.o \
|
|
|
|
SetPane.o \
|
|
|
|
SetSel.o \
|
|
|
|
XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
|
|
|
|
|
|
|
|
all:: libXMenu11.a
|
|
|
|
|
2008-07-23 06:26:32 +00:00
|
|
|
ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
|
2010-04-23 22:28:10 +00:00
|
|
|
$(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \
|
1999-10-03 19:36:13 +00:00
|
|
|
$(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
|
|
|
|
-I../src -I${srcdir} -I${srcdir}/../src
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c ${ALL_CFLAGS} $<
|
|
|
|
|
|
|
|
libXMenu11.a: $(OBJS) $(EXTRA)
|
|
|
|
$(RM) $@
|
|
|
|
$(AR) $@ $(OBJS) $(EXTRA)
|
2010-05-06 07:29:09 +00:00
|
|
|
$(RANLIB) $@
|
1999-10-03 19:36:13 +00:00
|
|
|
|
|
|
|
Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
|
|
|
|
AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Create.o: Create.c XMenuInt.h XMenu.h X10.h
|
|
|
|
DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Error.o: Error.c XMenuInt.h XMenu.h X10.h
|
|
|
|
EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
|
|
|
|
FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Post.o: Post.c XMenuInt.h XMenu.h X10.h
|
|
|
|
Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
|
|
|
|
SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
|
|
|
|
SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
|
|
|
|
SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
|
|
|
|
SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
|
|
|
|
XDelAssoc.o: XDelAssoc.c X10.h
|
|
|
|
XLookAssoc.o: XLookAssoc.c X10.h
|
|
|
|
XCrAssoc.o: XCrAssoc.c X10.h
|
|
|
|
XDestAssoc.o: XDestAssoc.c X10.h
|
|
|
|
XMakeAssoc.o: XMakeAssoc.c X10.h
|
|
|
|
insque.o: insque.c
|
|
|
|
|
|
|
|
FRC.mostlyclean:
|
|
|
|
mostlyclean: FRC.mostlyclean
|
|
|
|
rm -f libXMenu11.a ${OBJS} ${EXTRA}
|
|
|
|
clean: mostlyclean
|
|
|
|
distclean: clean
|
2007-02-27 02:50:33 +00:00
|
|
|
rm -f Makefile
|
1999-10-03 19:36:13 +00:00
|
|
|
maintainer-clean: distclean
|
|
|
|
|
|
|
|
tags::
|
|
|
|
$(TAGS) -t *.[ch]
|