annotate dynodump/Makefile.in.in @ 160:1c55655d6702

Added tag r20-3b6 for changeset 3bb7ccffb0c0
author cvs
date Mon, 13 Aug 2007 09:41:47 +0200
parents 6b37e6ddd302
children 0132846995bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
1 /* Hey Emacs, this is a -*- Makefile -*- */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
2
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
3 /* Makefile for dynodump subdirectory in XEmacs
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
4 Copyright (C) 1995 Board of Trustees, University of Illinois
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
5
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
6 This file is part of XEmacs.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
7
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
8 XEmacs is free software; you can redistribute it and/or modify it
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
9 under the terms of the GNU General Public License as published by the
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
10 Free Software Foundation; either version 2, or (at your option) any
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
11 later version.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
12
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
13 XEmacs is distributed in the hope that it will be useful, but WITHOUT
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
16 for more details.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
17
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
19 along with XEmacs; see the file COPYING. If not, write to
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
21 Boston, MA 02111-1307, USA. */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
22
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
23 /* Avoid trouble on systems where the "SHELL" variable might be
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
24 inherited from the environment. */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
25 SHELL = /bin/sh
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
26
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
27 /* Some people use these in paths they define. We do not want their paths
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
28 getting changed on them. */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
29 #undef sparc
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
30 #undef sun
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
31 #undef unix
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
32 #undef i386
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
33 #undef ppc
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
34 #undef sgi
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
35
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
36 /* ==================== Things "configure" will edit ==================== */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
37
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
38 CC=@CC@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
39 CFLAGS=@CFLAGS@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
40 ARCH=@dynodump_arch@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
41
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
42 srcdir=@srcdir@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
43
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
44 /* ========================= start of cpp stuff ========================= */
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
45
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
46 #define NO_SHORTNAMES
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
47 #define NOT_C_CODE
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
48 #include "../src/config.h"
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
49
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
50 #ifdef USE_GNU_MAKE
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
51 vpath %.c @srcdir@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
52 vpath %.h @srcdir@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
53 #else
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
54 VPATH=@srcdir@
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
55 #endif
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
56
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
57 #ifdef USE_GCC
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 153
diff changeset
58 pic_arg = -fpic
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
59 #else
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 153
diff changeset
60 pic_arg = -K pic
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
61 #endif
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
62
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
63 INCLUDES = -I${srcdir} -I${srcdir}/$(ARCH)
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 153
diff changeset
64 ALL_CFLAGS = ${CFLAGS} ${pic_arg} ${INCLUDES}
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
65 OBJS = _relocate.o dynodump.o syms.o uninit.o
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
66
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
67 .c.o:
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
68 $(CC) -c $(ALL_CFLAGS) $<
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
69
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
70 all:: dynodump.so
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
71
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
72 dynodump.so: ${srcdir}/_dynodump.h $(OBJS)
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
73 PATH=/usr/ccs/bin:/bin:$$PATH ld -o dynodump.so -G $(OBJS) -lelf -lmapmalloc
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
74
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
75 _relocate.o: ${srcdir}/$(ARCH)/_relocate.c
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
76 $(CC) -c $(ALL_CFLAGS) ${srcdir}/$(ARCH)/_relocate.c
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
77
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
78 uninit.o: ${srcdir}/$(ARCH)/uninit.c
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
79 $(CC) -c $(ALL_CFLAGS) ${srcdir}/$(ARCH)/uninit.c
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
80
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
81 mostlyclean:
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
82 -rm -f *.o \#*
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
83
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
84 clean: mostlyclean
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
85 -rm -f *.so *.so.1
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
86
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
87 distclean: clean
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
88 -rm -f Makefile Makefile.in
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
89
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
90 realclean: distclean
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
91 rm -f TAGS
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
92
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
93 versionclean:
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
94 true
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
95
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
96 extraclean: realclean
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents:
diff changeset
97 -rm -f *~ \#*