head	1.1;
branch	1.1.1;
access;
symbols
	LIBC_4_5_19:1.1.1.3
	LIBC_4_5_18:1.1.1.3
	LIBC_4_5_17:1.1.1.3
	LIBC_4_5_16:1.1.1.3
	LIBC_4_5_15:1.1.1.3
	LIBC_4_5_14:1.1.1.3
	LIBC_4_5_13:1.1.1.3
	LIBC_4_5_12:1.1.1.3
	LIBC_4_5_11:1.1.1.3
	LIBC_4_5_10:1.1.1.2
	LIBC_4_5_9:1.1.1.1
	LIBC_4_5_8:1.1.1.1
	LIBC_4_5_7:1.1.1.1
	LIBC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	93.12.14.16.58.46;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.14.16.58.47;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.13.12.14.59;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.19.16.23.31;	author steinber;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# This is Makefile of gmon for Linux
#
#

include ../Makeconfig

LIB=../libgmon.a

PGCFLAGS = $(WFLAGS) -O6 $(INC) $(XCFLAGS)

.SUFFIXES:
.SUFFIXES: .S .o .c .s .i

.s.o :
	$(CC) $(PGCFLAGS) -c $<
	$(LD) $(LDFLAGS) $*.o
	$(MV) a.out $*.o

.S.o :
	$(CC) $(PGCFLAGS) -c $<
	$(LD) $(LDFLAGS) $*.o
	$(MV) a.out $*.o

.c.o :
	$(CC) $(PGCFLAGS) -c $<
	$(LD) $(LDFLAGS) $*.o
	$(MV) a.out $*.o

.c.s :
	$(CC) $(PGCFLAGS) -S $<

.c.i :
	$(CC) $(PGCFLAGS) -E $< -o $*.i


OBJS = gmon.o profil.o

library: $(OBJS)
	$(AR) uvc $(LIB) $(OBJS)

realclean: clean

clean:
	$(RM) -f core *.o *.s *.i *.a tmp_make foo

depend:
	$(CC) $(PGCFLAGS) -M *.c > .include

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
@


1.1.1.1
log
@LIBC_4_5_7
@
text
@@


1.1.1.2
log
@LIBC_4_5_10
@
text
@d6 18
a23 4
override STATIC=false
override SHARED=false
override DEBUG=false
override CHECKER=false
d25 4
a28 1
PROFILE_OPT_CFLAGS=-O6
d30 13
a42 2
include ../Makeconfig
include ../Makerules
d44 2
a45 1
PROFILE_LIB=../profile/libgmon.a
d47 2
a48 5
DIRS=
SRCS=gmon.c profil.c
ASMS= $(SRCS:.c=.s)
OBJS= $(SRCS:.c=.o)
ALIASES=
d50 6
a55 1
include ../Maketargets
@


1.1.1.3
log
@LIBC_4_5_11
@
text
@a5 2
TOPDIR=..

a10 3
# That is fake for SUBDIR.
JUMP_LIB=libgmon

d13 2
a14 2
include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules
d16 1
a16 1
PROFILE_LIB=$(TOPDIR)/profile/libgmon.a
d24 1
a24 1
include $(TOPDIR)/Maketargets
@
