annotate oldXMenu/Makefile.in @ 94938:5752d7154afc

Throughout the file, delete all USE_FONT_BACKEND conditionals. Don't check enable_font_backend. Delete all codes used only when USE_FONT_BACKEND is not defined. Use FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx. (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth) (Qp): Extern them. (clear_font_table, load_face_font, xlfd_lookup_field_contents): Deleted. (struct font_name): Deleted. (xlfd_numeric_value, xlfd_symbolic_value): Deleted. (compare_fonts_by_sort_order): New function. (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight) (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth): Deleted. (Fx_family_fonts): Use font_list_entities, and sort fonts by compare_fonts_by_sort_order. (Fx_font_family_list): Call Ffont_family_list. (face_numeric_value, face_numeric_weight, face_numeric_slant) (face_numeric_swidth, face_symbolic_value, face_symbolic_weight) (face_symbolic_slant, face_symbolic_swidth) (split_font_name_into_vector, build_font_name_from_vector) (xlfd_fixed_p, xlfd_point_size, pixel_point_size) (font_rescale_ratio, split_font_name, build_font_name) (free_font_names, sort_fonts, x_face_list_fonts) (face_font_available_p, sorted_font_list, cmp_font_names) (font_list_1, concat_font_list, font_list, remove_duplicates): Deleted. (Fx_list_fonts): Use Ffont_list. (LFACE_AVGWIDTH): Deleted. (check_lface_attrs): Don't check LFACE_AVGWIDTH. Check LFACE_FONT by FONTP. (lface_fully_specified_p): Don't check LFACE_AVGWIDTH. (set_lface_from_font_name): Delete it. (set_lface_from_font): Renamed from set_lface_from_font_and_fontset. Caller changed. Don't set LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable for face. (merge_face_vectors): Copy font-spec if necessary. Clear properties of the font-spec if necessary. (merge_face_ref): Clear properties of the font-spec if necessary. (Finternal_set_lisp_face_attribute): Likewise. (set_font_frame_param): Use font_load_for_lface to load a font-object, and call Fmodify_frame_parameters with it. (x_update_menu_appearance): Don't check LFACE_AVGWIDTH. Get XLFD font name by Ffont_xlfd_name. (Finternal_lisp_face_attribute_values): Don't check QCweight, QCslant, and QCwidth. (Fface_font): Get a font name from font->props[FONT_NAME_INDEX]. (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH. Compare fonts by EQ. (lookup_non_ascii_face): Deleted. (face_for_font): The 2nd argument changed. (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. Check atomic font properties by case insensitive. (realize_non_ascii_face): Set face->overstrike correctly. (realize_x_face): Likewise. Check if LFACE_FONT is a font_object. (dump_realized_face): Get font name from font->props[FONT_NAME_INDEX]. Don't print font_info_id.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 01:41:52 +0000
parents 3765d76f7fa8
children d89afa2b4c2f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
1 ## Makefile for oldXMenu
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
2
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
3 ## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
4
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
5 ## Permission to use, copy, modify, and distribute this
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
6 ## software and its documentation for any purpose and without
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
7 ## fee is hereby granted, provided that the above copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
8 ## notice appear in all copies and that both that copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
9 ## notice and this permission notice appear in supporting
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
10 ## documentation, and that the name of M.I.T. not be used in
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
11 ## advertising or publicity pertaining to distribution of the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
12 ## software without specific, written prior permission.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
13 ## M.I.T. makes no representations about the suitability of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
14 ## this software for any purpose. It is provided "as is"
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
15 ## without express or implied warranty.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
16
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
17
79743
43c5da03890c Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78306
diff changeset
18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
19 ## Free Software Foundation, Inc.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
20
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
21 ## This program is free software: you can redistribute it and/or modify
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
22 ## it under the terms of the GNU General Public License as published by
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
23 ## the Free Software Foundation, either version 3 of the License, or
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
24 ## (at your option) any later version.
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
25
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
26 ## This program is distributed in the hope that it will be useful,
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
27 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
28 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
29 ## GNU General Public License for more details.
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
30
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
31 ## You should have received a copy of the GNU General Public License
94791
3765d76f7fa8 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79743
diff changeset
32 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
33
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
34
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
35 ### Commentary:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
36
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
37 ## To the best of our knowledge, this code was originally based on the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
38 ## X11 oldXMenu Makefile, which was automatically generated from the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
39 ## X11 oldXMenu Imakefile. There was no explicit copyright information
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
40 ## in the Imakefile, therefore we have added the same MIT license as
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
41 ## used by the rest of the oldXMenu code.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
42
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
43
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
44 ### Code:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
45
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
46 srcdir=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
47 VPATH=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
48 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
Dave Love <fx@gnu.org>
parents:
diff changeset
49
Dave Love <fx@gnu.org>
parents:
diff changeset
50 EXTRA=insque.o
Dave Love <fx@gnu.org>
parents:
diff changeset
51 CC=@CC@
Dave Love <fx@gnu.org>
parents:
diff changeset
52 CFLAGS=@CFLAGS@
Dave Love <fx@gnu.org>
parents:
diff changeset
53 CPP=@CPP@
Dave Love <fx@gnu.org>
parents:
diff changeset
54 LN_S=@LN_S@
Dave Love <fx@gnu.org>
parents:
diff changeset
55 AS = as
Dave Love <fx@gnu.org>
parents:
diff changeset
56 LD = ld
Dave Love <fx@gnu.org>
parents:
diff changeset
57 TAGS = etags
Dave Love <fx@gnu.org>
parents:
diff changeset
58 RM = rm -f
Dave Love <fx@gnu.org>
parents:
diff changeset
59 MV = mv
Dave Love <fx@gnu.org>
parents:
diff changeset
60 RANLIB = ranlib
Dave Love <fx@gnu.org>
parents:
diff changeset
61 # Solaris 2.1 ar doesn't accept the 'l' option.
Dave Love <fx@gnu.org>
parents:
diff changeset
62 AR = ar cq
Dave Love <fx@gnu.org>
parents:
diff changeset
63 LS = ls
Dave Love <fx@gnu.org>
parents:
diff changeset
64 LINTOPTS = -axz
Dave Love <fx@gnu.org>
parents:
diff changeset
65 LINTLIBFLAG = -C
Dave Love <fx@gnu.org>
parents:
diff changeset
66 MAKE = make
Dave Love <fx@gnu.org>
parents:
diff changeset
67 STD_DEFINES =
Dave Love <fx@gnu.org>
parents:
diff changeset
68 CDEBUGFLAGS = -O
Dave Love <fx@gnu.org>
parents:
diff changeset
69 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
Dave Love <fx@gnu.org>
parents:
diff changeset
70 tags TAGS make.log
Dave Love <fx@gnu.org>
parents:
diff changeset
71
Dave Love <fx@gnu.org>
parents:
diff changeset
72 OBJS = Activate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
73 AddPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
74 AddSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
75 ChgPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
76 ChgSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
77 Create.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
78 DelPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
79 DelSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
80 Destroy.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
81 Error.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
82 EvHand.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
83 FindPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
84 FindSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
85 InsPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
86 InsSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
87 Internal.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
88 Locate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
89 Post.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
90 Recomp.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
91 SetAEQ.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
92 SetFrz.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
93 SetPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
94 SetSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
95 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
Dave Love <fx@gnu.org>
parents:
diff changeset
96
Dave Love <fx@gnu.org>
parents:
diff changeset
97 all:: libXMenu11.a
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
Dave Love <fx@gnu.org>
parents:
diff changeset
100 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
Dave Love <fx@gnu.org>
parents:
diff changeset
101 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
Dave Love <fx@gnu.org>
parents:
diff changeset
102 -I../src -I${srcdir} -I${srcdir}/../src
Dave Love <fx@gnu.org>
parents:
diff changeset
103
Dave Love <fx@gnu.org>
parents:
diff changeset
104 .c.o:
Dave Love <fx@gnu.org>
parents:
diff changeset
105 $(CC) -c ${ALL_CFLAGS} $<
Dave Love <fx@gnu.org>
parents:
diff changeset
106
Dave Love <fx@gnu.org>
parents:
diff changeset
107 libXMenu11.a: $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
108 $(RM) $@
Dave Love <fx@gnu.org>
parents:
diff changeset
109 $(AR) $@ $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
110 @echo Do not be alarmed if the following ranlib command
Dave Love <fx@gnu.org>
parents:
diff changeset
111 @echo fails due to the absence of a ranlib program on your system.
Dave Love <fx@gnu.org>
parents:
diff changeset
112 -$(RANLIB) $@ || true
Dave Love <fx@gnu.org>
parents:
diff changeset
113 #If running ranlib fails, probably there is none.
Dave Love <fx@gnu.org>
parents:
diff changeset
114 #That's ok. So don't stop the build.
Dave Love <fx@gnu.org>
parents:
diff changeset
115
Dave Love <fx@gnu.org>
parents:
diff changeset
116 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
117 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
118 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
119 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
120 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
121 Create.o: Create.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
122 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
123 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
124 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
125 Error.o: Error.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
126 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
127 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
128 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
129 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
130 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
131 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
132 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
133 Post.o: Post.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
134 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
135 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
136 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
137 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
138 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
139 XDelAssoc.o: XDelAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
140 XLookAssoc.o: XLookAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
141 XCrAssoc.o: XCrAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
142 XDestAssoc.o: XDestAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
143 XMakeAssoc.o: XMakeAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
144 insque.o: insque.c
Dave Love <fx@gnu.org>
parents:
diff changeset
145
Dave Love <fx@gnu.org>
parents:
diff changeset
146 FRC.mostlyclean:
Dave Love <fx@gnu.org>
parents:
diff changeset
147 mostlyclean: FRC.mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
148 rm -f libXMenu11.a ${OBJS} ${EXTRA}
Dave Love <fx@gnu.org>
parents:
diff changeset
149 clean: mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
150 distclean: clean
76168
1be79dda87d7 (distclean): Remove Makefile.
Glenn Morris <rgm@gnu.org>
parents: 56026
diff changeset
151 rm -f Makefile
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
152 maintainer-clean: distclean
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 tags::
Dave Love <fx@gnu.org>
parents:
diff changeset
155 $(TAGS) -t *.[ch]