mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15306 87f5fb63-7c3d-0410-a384-fd976d0f7a62
133 lines
4.2 KiB
Plaintext
133 lines
4.2 KiB
Plaintext
#
|
|
# $Id: libprofile.gmk,v 1.1 2006-09-17 17:37:27 obarthel Exp $
|
|
#
|
|
# :ts=8
|
|
#
|
|
# -*- mode: makefile; -*-
|
|
|
|
##############################################################################
|
|
|
|
LIBS += \
|
|
lib/libprofile.a \
|
|
lib/soft-float/libprofile.a \
|
|
lib/small-data/libprofile.a \
|
|
lib/baserel/libprofile.a \
|
|
lib.threadsafe/libprofile.a \
|
|
lib.threadsafe/soft-float/libprofile.a \
|
|
lib.threadsafe/small-data/libprofile.a \
|
|
lib.threadsafe/baserel/libprofile.a
|
|
|
|
##############################################################################
|
|
|
|
PROFILE_LIB = \
|
|
profile__mcount.o \
|
|
profile_gmon.o \
|
|
profile_mcount.o
|
|
|
|
##############################################################################
|
|
|
|
# Dependencies to rebuild if the library version changes
|
|
|
|
obj/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj/soft-float/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj/small-data/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj/baserel/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj.threadsafe/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj.threadsafe/soft-float/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj.threadsafe/small-data/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
obj.threadsafe/baserel/libprofile/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
|
|
##############################################################################
|
|
|
|
obj/libprofile/%.o : AFLAGS += $(LARGEDATA)
|
|
obj/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj/soft-float/libprofile/%.o : AFLAGS += $(SOFTFLOAT)
|
|
obj/soft-float/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj/small-data/libprofile/%.o : AFLAGS += $(SMALLDATA)
|
|
obj/small-data/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj/baserel/libprofile/%.o : AFLAGS += $(BASEREL)
|
|
obj/baserel/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj.threadsafe/libprofile/%.o : AFLAGS += $(LARGEDATA)
|
|
obj.threadsafe/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj.threadsafe/soft-float/libprofile/%.o : AFLAGS += $(SOFTFLOAT)
|
|
obj.threadsafe/soft-float/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj.threadsafe/small-data/libprofile/%.o : AFLAGS += $(SMALLDATA)
|
|
obj.threadsafe/small-data/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
obj.threadsafe/baserel/libprofile/%.o : AFLAGS += $(BASEREL)
|
|
obj.threadsafe/baserel/libprofile/%.o : %.S
|
|
@$(ASSEMBLE)
|
|
|
|
##############################################################################
|
|
|
|
obj/libprofile/%.o : CFLAGS += $(LARGEDATA)
|
|
obj/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj/soft-float/libprofile/%.o : CFLAGS += $(SOFTFLOAT)
|
|
obj/soft-float/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj/small-data/libprofile/%.o : CFLAGS += $(SMALLDATA)
|
|
obj/small-data/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj/baserel/libprofile/%.o : CFLAGS += $(BASEREL)
|
|
obj/baserel/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj.threadsafe/libprofile/%.o : CFLAGS += $(THREADSAFE) $(LARGEDATA)
|
|
obj.threadsafe/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj.threadsafe/soft-float/libprofile/%.o : CFLAGS += $(THREADSAFE) $(SOFTFLOAT)
|
|
obj.threadsafe/soft-float/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj.threadsafe/small-data/libprofile/%.o : CFLAGS += $(THREADSAFE) $(SMALLDATA)
|
|
obj.threadsafe/small-data/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
obj.threadsafe/baserel/libprofile/%.o : CFLAGS += $(THREADSAFE) $(BASEREL)
|
|
obj.threadsafe/baserel/libprofile/%.o : %.c
|
|
@$(COMPILE)
|
|
|
|
##############################################################################
|
|
|
|
lib/libprofile.a : $(addprefix obj/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib/soft-float/libprofile.a : $(addprefix obj/soft-float/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib/small-data/libprofile.a : $(addprefix obj/small-data/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib/baserel/libprofile.a : $(addprefix obj/baserel/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib.threadsafe/libprofile.a : $(addprefix obj.threadsafe/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib.threadsafe/soft-float/libprofile.a : $(addprefix obj.threadsafe/soft-float/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib.threadsafe/small-data/libprofile.a : $(addprefix obj.threadsafe/small-data/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|
|
|
|
lib.threadsafe/baserel/libprofile.a : $(addprefix obj.threadsafe/baserel/libprofile/,$(PROFILE_LIB))
|
|
@$(MAKELIB)
|