comparison dynodump/Makefile @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents
children
comparison
equal deleted inserted replaced
73:e2d7a37b7c8d 74:54cc21c15cbb
1 SHELL = /bin/sh
2 CC=gcc
3 CFLAGS=-m486 -g -O4 -malign-loops=2 -malign-jumps=2 -malign-functions=2
4 ARCH=
5 srcdir=/usr/local/xemacs/xemacs-20.0-b32/dynodump
6
7 VPATH=/usr/local/xemacs/xemacs-20.0-b32/dynodump
8 INCLUDES = -I${srcdir} -I${srcdir}/$(ARCH)
9 ALL_CFLAGS = ${CFLAGS} -fpic ${INCLUDES}
10 OBJS = _relocate.o dynodump.o syms.o uninit.o
11 .c.o:
12 $(CC) -c $(ALL_CFLAGS) $<
13 all::
14 dynodump.so: ${srcdir}/_dynodump.h $(OBJS)
15 $(CC) -o dynodump.so -G $(OBJS) -lelf -lmapmalloc
16 _relocate.o: ${srcdir}/$(ARCH)/_relocate.c
17 $(CC) -c $(ALL_CFLAGS) ${srcdir}/$(ARCH)/_relocate.c
18 uninit.o: ${srcdir}/$(ARCH)/uninit.c
19 $(CC) -c $(ALL_CFLAGS) ${srcdir}/$(ARCH)/uninit.c
20 mostlyclean:
21 -rm -f *.o \#*
22 clean: mostlyclean
23 -rm -f *.so *.so.1
24 distclean: clean
25 -rm -f Makefile Makefile.in
26 realclean: distclean
27 rm -f TAGS
28 versionclean:
29 true
30 extraclean: realclean
31 -rm -f *~ \#*