]>
Commit | Line | Data |
---|---|---|
9138a2e2 ME |
1 | # This file was generated automatically by configure. Do not edit. |
2 | VPATH = . | |
3 | links = | |
4 | host_alias = sparc-sun-solaris | |
5 | host_cpu = sparc | |
6 | host_vendor = sun | |
7 | host_os = solaris | |
8 | target_alias = sparc-sun-solaris | |
9 | target_cpu = sparc | |
10 | target_vendor = sun | |
11 | target_os = solaris | |
12 | target_makefile_frag = ./config/mt-sparc | |
13 | ALL=all.internal | |
3d6c6501 SEF |
14 | # @(#)Makefile 5.17 (Berkeley) 5/11/90 |
15 | ||
9138a2e2 ME |
16 | #### host and target dependent Makefile fragments come in here. |
17 | MACHINE=sparc | |
18 | ### | |
19 | ||
3d6c6501 SEF |
20 | PROG= gprof |
21 | SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \ | |
22 | printgprof.c printlist.c | |
39ada6fc SEF |
23 | LIBS = ../bfd/libbfd.a ../libiberty/libiberty.a |
24 | ||
3d6c6501 SEF |
25 | OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \ |
26 | printgprof.o printlist.o | |
27 | ||
9138a2e2 ME |
28 | CFLAGS= -I. -I../include -DMACHINE_H=\"${MACHINE}.h\" ${TCFLAGS} ${HCFLAGS} |
29 | .c.o: | |
30 | $(CC) -c $(CFLAGS) $< | |
31 | ||
3d6c6501 SEF |
32 | all: ${PROG} |
33 | ||
9138a2e2 ME |
34 | .PHONY: check |
35 | check: | |
36 | ||
3d6c6501 SEF |
37 | beforeinstall: |
38 | install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ | |
39 | ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \ | |
40 | ${DESTDIR}/usr/share/misc | |
41 | ||
3d6c6501 SEF |
42 | $(PROG): $(OBJS) |
43 | $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS) | |
9138a2e2 ME |
44 | |
45 | clean: | |
46 | -rm -f $(OBJS) core gprof nohup.out |