GNUmakefile 1.03 KB
#!smake
#
# Makefile for debug library subdirectory
#

SUBDIR=debug

COMMONPREF=$(SUBDIR)

PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs

LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs

sinclude ../companydefs
sinclude locdefs

#LCOPTS = -non_shared -mips2 -fullwarn -G 0 -wlint,-f -woff 819,826,852
LCOPTS = -non_shared -Wall -mips2 -G 0 
LCINCS = -I. -I$(LIBDEPTH)/include -I$(PRDEPTH)/include

LASOPTS   = -non_shared -G 0 -mips2
LASINCS   = -I. -I$(PRDEPTH)/include

ASFILES = 
CFILES = 	atomic.c kdebugserver.c syncputchars.c 

#if $(LIBNAME) != "ULTRA" && $(LIBNAME) != "ULTRA_ROM"
ifeq "$(LIBNAME)" "ULTRA_D"
CFILES += 	assert.c
endif
#endif

#if $(LIBNAME) != "ULTRA_ROM"
ifneq "$(LIBNAME)" "ULTRA_ROM"
ASFILES += 	assertbreak.s
CFILES += 	profile.c
CFILES +=       threadprofile.c threadprofileclear.c threadprofileinit.c \
		threadprofilereadcount.c threadprofilereadtime.c \
		threadprofilestart.c threadprofilestop.c
endif
#endif

LDIRT = 

include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install: default

clobber clean: