26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 PROG= prof
30
31 include $(SRC)/cmd/Makefile.cmd
32 include $(SRC)/cmd/sgs/Makefile.com
33
34 COMOBJS= prof.o profv.o lookup.o rdelf.o \
35 symintOpen.o symintClose.o symintUtil.o symintErr.o symintLoad.o
36
37 OBJS= $(COMOBJS)
38
39 SRCS= $(COMOBJS:%.o=../common/%.c)
40
41 INCLIST= -I../common -I../../include -I../../include/$(MACH)
42
43 CPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
44 CFLAGS += $(CCVERBOSE)
45 CSTD= $(CSTD_GNU99)
46 CERRWARN += -_gcc=-Wno-uninitialized
47
48 # not linted
49 SMATCH=off
50
51 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
52
53 %.o: ../common/%.c
54 $(COMPILE.c) $<
|
26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 PROG= prof
30
31 include $(SRC)/cmd/Makefile.cmd
32 include $(SRC)/cmd/sgs/Makefile.com
33
34 COMOBJS= prof.o profv.o lookup.o rdelf.o \
35 symintOpen.o symintClose.o symintUtil.o symintErr.o symintLoad.o
36
37 OBJS= $(COMOBJS)
38
39 SRCS= $(COMOBJS:%.o=../common/%.c)
40
41 INCLIST= -I../common -I../../include -I../../include/$(MACH)
42
43 CPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
44 CFLAGS += $(CCVERBOSE)
45 CSTD= $(CSTD_GNU99)
46 CERRWARN += $(CNOWARN_UNINIT)
47
48 # not linted
49 SMATCH=off
50
51 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
52
53 %.o: ../common/%.c
54 $(COMPILE.c) $<
|