Makefile.engine (241c90a0) Makefile.engine (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

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

50
51ROOTPROG = $(ROOTPLUGINLIBDIR)/scsi/engines/$(PROG)
52ROOTPROG64 = $(ROOTPLUGINLIBDIR)/scsi/engines/$(MACH64)/$(PROG)
53
54APIMAP = ../../../../../libscsi/libscsi_api.map
55
56CSTD = $(CSTD_GNU99)
57CFLAGS += $(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

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

50
51ROOTPROG = $(ROOTPLUGINLIBDIR)/scsi/engines/$(PROG)
52ROOTPROG64 = $(ROOTPLUGINLIBDIR)/scsi/engines/$(MACH64)/$(PROG)
53
54APIMAP = ../../../../../libscsi/libscsi_api.map
55
56CSTD = $(CSTD_GNU99)
57CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
58CFLAGS += -G $(XREGSFLAG)
58CFLAGS += $(GSHARED) $(XREGSFLAG)
59CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
59CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
60CFLAGS64 += -G $(XREGSFLAG)
60CFLAGS64 += $(GSHARED) $(XREGSFLAG)
61CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
62CPPFLAGS += -I../../../../../libscsi/common
63$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
64LDFLAGS += $(ZTEXT) $(ZIGNORE)
65
61CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
62CPPFLAGS += -I../../../../../libscsi/common
63$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
64LDFLAGS += $(ZTEXT) $(ZIGNORE)
65
66$(PROG) := LDFLAGS += $(ZDEFS) -M$(APIMAP)
66$(PROG) := LDFLAGS += $(ZDEFS) -Wl,-M$(APIMAP)
67$(PROG) := LDLIBS += -lc
68
69$(DMODPROG) := LDFLAGS += $(ZNODEFS)
67$(PROG) := LDLIBS += -lc
68
69$(DMODPROG) := LDFLAGS += $(ZNODEFS)