0
|
1 SHELL = /bin/sh
|
|
2 CC=gcc
|
|
3 CFLAGS=-bi486-linuxaout -O4 -m486 -malign-functions=2 -malign-jumps=2 -malign-loops=2
|
|
4 YACC=bison -y
|
|
5 version=19.14
|
|
6 configuration=i486-unknown-linux2.0.0
|
|
7 prefix=/usr/local
|
|
8 exec_prefix=${prefix}
|
|
9 bindir=${exec_prefix}/bin
|
|
10 libdir=${exec_prefix}/lib
|
|
11 srcdir=/m/xemacs-19.14/man
|
|
12
|
|
13 VPATH=/m/xemacs-19.14/man
|
|
14 LOADLIBES= -L/usr/i486-linuxaout -L/lib-aout -L/m/xpm-3.4h/lib -lgcc -lc -lgcc /usr/lib/crtn.o
|
|
15 CPPFLAGS=
|
|
16 ALL_CFLAGS = -I/usr/i486-linuxaout/include -I/m/xpm-3.4h/lib -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DHAVE_STDARG_H -DHAVE_STRING_H -DHAVE_ALLOCA_H -Dxfree=free -I. -I../src -I${srcdir} -I${srcdir}/../src ${CFLAGS}
|
|
17 CPP_CFLAGS = -I/usr/i486-linuxaout/include -I/m/xpm-3.4h/lib -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DHAVE_STDARG_H -DHAVE_STRING_H -DHAVE_ALLOCA_H -Dxfree=free -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
|
|
18 OBJS = makeinfo.o getopt.o getopt1.o alloca.o
|
|
19 SUBDIR = xemacs lispref new-users-guide internals
|
|
20 SUBDIR_MAKEFILES = xemacs/Makefile lispref/Makefile new-users-guide/Makefile internals/Makefile
|
|
21 .c.o:
|
|
22 ${CC} -c ${CPP_CFLAGS} $<
|
|
23 ../info/%.info : %.texi
|
|
24 -./makeinfo -o $@ $<
|
|
25 srcs = ange-ftp cc-mode cl dired ediff external-widget forms gnus hyperbole ilisp info internals ispell mailcrypt message mh-e oo-browser pcl-cvs psgml rmail standards supercite term termcap texinfo viper vm w3 xemacs-faq
|
|
26 info = $(srcs:%=../info/%.info)
|
|
27 all : ${SUBDIR} $(info)
|
|
28 .RECURSIVE: ${SUBDIR}
|
|
29 xemacs: FRC.xemacs
|
|
30 lispref: FRC.lispref
|
|
31 new-users-guide: FRC.new-users-guide
|
|
32 internals: FRC.internals
|
|
33 ${SUBDIR}: ${SUBDIR_MAKEFILES} makeinfo FRC
|
|
34 cd $@ && $(MAKE) all $(MFLAGS) CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'
|
|
35 makeinfo: ../src/config.h $(OBJS)
|
|
36 $(CC) -o makeinfo $(OBJS)
|
|
37 texindex: texindex.o
|
|
38 $(CC) -o texindex texindex.o
|
|
39 alloca.c :
|
|
40 [ -h alloca.c ] || ln -s ../src/alloca.c .
|
|
41 getopt.h :
|
|
42 [ -h getopt.h ] || ln -s ../lib-src/getopt.h .
|
|
43 getopt.c :
|
|
44 [ -h getopt.c ] || ln -s ../lib-src/getopt.c .
|
|
45 getopt1.c :
|
|
46 [ -h getopt1.c ] || ln -s ../lib-src/getopt1.c .
|
|
47 mostlyclean: clean
|
|
48 (cd xemacs && $(MAKE) $(MFLAGS) mostlyclean)
|
|
49 (cd lispref && $(MAKE) $(MFLAGS) mostlyclean)
|
|
50 (cd new-users-guide && $(MAKE) $(MFLAGS) mostlyclean)
|
|
51 (cd internals && $(MAKE) $(MFLAGS) mostlyclean)
|
|
52 clean:
|
|
53 rm -f *.dvi
|
|
54 rm -f getopt1.c getopt.c getopt.h alloca.c makeinfo texindex
|
|
55 rm -f *.toc *.aux *.log *.cp *.fn *.ky *.pg *.vr *.o core
|
|
56 distclean: mostlyclean
|
|
57 (cd xemacs && $(MAKE) $(MFLAGS) distclean)
|
|
58 (cd lispref && $(MAKE) $(MFLAGS) distclean)
|
|
59 (cd new-users-guide && $(MAKE) $(MFLAGS) distclean)
|
|
60 (cd internals && $(MAKE) $(MFLAGS) distclean)
|
|
61 rm -f Makefile Makefile.in
|
|
62 realclean: distclean
|
|
63 (cd xemacs && $(MAKE) $(MFLAGS) realclean)
|
|
64 (cd lispref && $(MAKE) $(MFLAGS) realclean)
|
|
65 (cd new-users-guide && $(MAKE) $(MFLAGS) realclean)
|
|
66 (cd internals && $(MAKE) $(MFLAGS) realclean)
|
|
67 extraclean: distclean
|
|
68 (cd xemacs && $(MAKE) $(MFLAGS) extraclean)
|
|
69 (cd lispref && $(MAKE) $(MFLAGS) extraclean)
|
|
70 (cd new-users-guide && $(MAKE) $(MFLAGS) extraclean)
|
|
71 (cd internals && $(MAKE) $(MFLAGS) extraclean)
|
|
72 -rm -f *~ \#*
|
|
73 makeinfo.o : getopt.h
|
|
74 getopt.o : getopt.h
|
|
75 getopt1.o : getopt.h
|
|
76 texindex.o : getopt.h
|
|
77 FRC FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals:
|