Makefile.lib (241c90a0) Makefile.lib (85f4cb87)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 50 unchanged lines hidden (view full) ---

59#
60ROOTALIASES = $(ALIASES:%=$(ROOTPLUGINDIR)/%.so)
61ROOTALIASES64 = $(ALIASES:%=$(ROOTPLUGINDIR64)/%.so)
62
63APIMAP = ../../../../libsmp/libsmp_api.map
64
65CSTD = $(CSTD_GNU99)
66CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 50 unchanged lines hidden (view full) ---

59#
60ROOTALIASES = $(ALIASES:%=$(ROOTPLUGINDIR)/%.so)
61ROOTALIASES64 = $(ALIASES:%=$(ROOTPLUGINDIR64)/%.so)
62
63APIMAP = ../../../../libsmp/libsmp_api.map
64
65CSTD = $(CSTD_GNU99)
66CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
67CFLAGS += -G $(XREGSFLAG)
67CFLAGS += $(GSHARED) $(XREGSFLAG)
68CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
68CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
69CFLAGS64 += -G $(XREGSFLAG)
69CFLAGS64 += $(GSHARED) $(XREGSFLAG)
70CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
71$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
72LDFLAGS += $(ZTEXT) $(ZCOMBRELOC) $(ZIGNORE)
73
70CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
71$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
72LDFLAGS += $(ZTEXT) $(ZCOMBRELOC) $(ZIGNORE)
73
74$(PROG) := LDFLAGS += $(ZDEFS) -M$(APIMAP)
74$(PROG) := LDFLAGS += $(ZDEFS) -Wl,-M$(APIMAP)
75$(PROG) := LDLIBS += -lc
76
77$(DMODPROG) := LDFLAGS += $(ZNODEFS)
75$(PROG) := LDLIBS += -lc
76
77$(DMODPROG) := LDFLAGS += $(ZNODEFS)