GNUmakefile
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!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: