mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
48d67035ea
Tweak arch tagging to make build/install-in-place less annoying Previously, autoconf-created Makefiles and the like would contain duplicate taglines (unfortunately, autoconf doesn't seem to have a `strip in generated file' comment mechanism) leading to conflicts, and installing in place would create unknown directories and copies of source directories (leading to conflicts with the source directories). This changeset makes all autoconf-processed files use explicit id-tags and adds .arch-inventory entries to ignore installation directories.
110 lines
2.8 KiB
Makefile
110 lines
2.8 KiB
Makefile
srcdir=@srcdir@
|
|
VPATH=@srcdir@
|
|
C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
|
|
|
|
EXTRA=insque.o
|
|
CC=@CC@
|
|
CFLAGS=@CFLAGS@
|
|
CPP=@CPP@
|
|
LN_S=@LN_S@
|
|
AS = as
|
|
LD = ld
|
|
TAGS = etags
|
|
RM = rm -f
|
|
MV = mv
|
|
RANLIB = ranlib
|
|
# Solaris 2.1 ar doesn't accept the 'l' option.
|
|
AR = ar cq
|
|
LS = ls
|
|
LINTOPTS = -axz
|
|
LINTLIBFLAG = -C
|
|
MAKE = make
|
|
STD_DEFINES =
|
|
CDEBUGFLAGS = -O
|
|
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
|
|
tags TAGS make.log
|
|
|
|
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
|
|
|
|
ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
|
|
$(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
|
|
$(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)
|
|
@echo Do not be alarmed if the following ranlib command
|
|
@echo fails due to the absence of a ranlib program on your system.
|
|
-$(RANLIB) $@ || true
|
|
#If running ranlib fails, probably there is none.
|
|
#That's ok. So don't stop the build.
|
|
|
|
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
|
|
maintainer-clean: distclean
|
|
|
|
tags::
|
|
$(TAGS) -t *.[ch]
|