(srcdir): Define for update-subdirs.
[emacs.git] / oldXMenu / Makefile.in
blobe20a583514aa5f853fe254bf15a6d7c4d23b2530
1 srcdir=@srcdir@
2 VPATH=@srcdir@
3 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
5 EXTRA=insque.o
6 CC=@CC@
7 CFLAGS=@CFLAGS@
8 CPP=@CPP@
9 LN_S=@LN_S@
10 AS = as
11 LD = ld
12 TAGS = etags
13 RM = rm -f
14 MV = mv
15 RANLIB = ranlib
16 # Solaris 2.1 ar doesn't accept the 'l' option.
17 AR = ar cq
18 LS = ls
19 LINTOPTS = -axz
20 LINTLIBFLAG = -C
21 MAKE = make
22 STD_DEFINES =
23 CDEBUGFLAGS = -O
24 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
25 tags TAGS make.log
27 OBJS = Activate.o \
28 AddPane.o \
29 AddSel.o \
30 ChgPane.o \
31 ChgSel.o \
32 Create.o \
33 DelPane.o \
34 DelSel.o \
35 Destroy.o \
36 Error.o \
37 EvHand.o \
38 FindPane.o \
39 FindSel.o \
40 InsPane.o \
41 InsSel.o \
42 Internal.o \
43 Locate.o \
44 Post.o \
45 Recomp.o \
46 SetAEQ.o \
47 SetFrz.o \
48 SetPane.o \
49 SetSel.o \
50 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
52 all:: libXMenu11.a
54 ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
55 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
56 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
57 -I../src -I${srcdir} -I${srcdir}/../src
59 .c.o:
60 $(CC) -c ${ALL_CFLAGS} $<
62 libXMenu11.a: $(OBJS) $(EXTRA)
63 $(RM) $@
64 $(AR) $@ $(OBJS) $(EXTRA)
65 @echo Do not be alarmed if the following ranlib command
66 @echo fails due to the absence of a ranlib program on your system.
67 -$(RANLIB) $@ || true
68 #If running ranlib fails, probably there is none.
69 #That's ok. So don't stop the build.
71 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
72 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
73 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
74 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
75 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
76 Create.o: Create.c XMenuInt.h XMenu.h X10.h
77 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
78 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
79 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
80 Error.o: Error.c XMenuInt.h XMenu.h X10.h
81 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
82 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
83 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
84 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
85 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
86 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
87 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
88 Post.o: Post.c XMenuInt.h XMenu.h X10.h
89 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
90 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
91 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
92 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
93 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
94 XDelAssoc.o: XDelAssoc.c X10.h
95 XLookAssoc.o: XLookAssoc.c X10.h
96 XCrAssoc.o: XCrAssoc.c X10.h
97 XDestAssoc.o: XDestAssoc.c X10.h
98 XMakeAssoc.o: XMakeAssoc.c X10.h
99 insque.o: insque.c
101 FRC.mostlyclean:
102 mostlyclean: FRC.mostlyclean
103 rm -f libXMenu11.a ${OBJS} ${EXTRA}
104 clean: mostlyclean
105 distclean: clean
106 maintainer-clean: distclean
108 tags::
109 $(TAGS) -t *.[ch]