GNUmakefile 839 Bytes
#!smake
#
# Makefile for BB GDB library subdirectory
#

SUBDIR=gdb

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 -mips2 -Wall -G 0
LCINCS = -I. -I$(LIBDEPTH)/include -I$(PRDEPTH)/include -I/usr/include

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

ifneq "$(LIBNAME)" "ULTRA_ROM"
CFILES += gdbbrk.c  gdbhandler.c  gdbio.c  gdbmain.c  \
	gdbregs.c  gdbthreads.c  gdbutil.c
ASFILES += gdbwritebackdcache.s gdbinvalicache.s
endif

LDIRT =


include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install: default

clobber clean: 

.PHONY: tags
tags:	$(_FORCE)
	ctags *.[ch]