21
22 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 LIBRARY= libldstab.a
30 VERS= .1
31
32 COMOBJS= stab.o
33 DUPOBJS+=
34
35 OBJECTS= $(COMOBJS) $(DUPOBJS)
36
37 include $(SRC)/lib/Makefile.lib
38 include $(SRC)/cmd/sgs/Makefile.com
39
40 SRCDIR = ../common
41 SRCBASE= ../../../..
42
43 CPPFLAGS += -I$(ELFCAP)
44
45 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf -lc
46 DYNFLAGS += $(VERSREF) $(CC_USE_PROTO)
47
48 SRCS= $(COMOBJS:%.o=../common/%.c)
49
50 CLOBBERFILES += $(DYNLIB)
51
52 ROOTDYNLIB= $(DYNLIB:%=$(ROOTLIBDIR)/%)
|
21
22 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 LIBRARY= libldstab.a
30 VERS= .1
31
32 COMOBJS= stab.o
33 DUPOBJS+=
34
35 OBJECTS= $(COMOBJS) $(DUPOBJS)
36
37 include $(SRC)/lib/Makefile.lib
38 include $(SRC)/cmd/sgs/Makefile.com
39
40 SRCDIR = ../common
41
42 CPPFLAGS += -I$(ELFCAP)
43
44 LDLIBS += $(CONVLIBDIR) -lconv $(ELFLIBDIR) -lelf -lc
45 DYNFLAGS += $(VERSREF)
46
47 SRCS= $(COMOBJS:%.o=../common/%.c)
48
49 CLOBBERFILES += $(DYNLIB)
50
51 ROOTDYNLIB= $(DYNLIB:%=$(ROOTLIBDIR)/%)
|