78
79 ROOTLIBDIR=$(ROOT)/usr/lib/security
80 ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
81
82 LIBS=$(DYNLIB) $(DYNLIB64)
83
84 TSSROOT=$(ADJUNCT_PROTO)
85 TSPILIBDIR=$(TSSROOT)/usr/lib
86 TSPIINCDIR=$(TSSROOT)/usr/include
87 TSSLIB=-L$(TSPILIBDIR)
88 TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
89 TSSINC=-I$(TSPIINCDIR)
90
91 LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lsoftcrypto
92 CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC) $(SOFTCRYPTOFLAGS)
93 CPPFLAGS64 += $(CPPFLAGS)
94 CSTD= $(CSTD_GNU99)
95
96 CERRWARN += -_gcc=-Wno-parentheses
97 CERRWARN += -_gcc=-Wno-unused-label
98 CERRWARN += -_gcc=-Wno-uninitialized
99
100 # not linted
101 SMATCH=off
102
103 LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
104
105 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
106 LINTSRC= $(SRCS)
107
108 CLOBBERFILES += C.ln
109
110 .KEEP_STATE:
111
112 all: $(LIBS)
113
114 lint: $$(LINTSRC)
115 $(LINT.c) $(LINTCHECKFLAGS) $(LINTSRC) $(LDLIBS)
116
117 pics/%.o: $(SRCDIR)/%.c
118 $(COMPILE.c) -o $@ $<
|
78
79 ROOTLIBDIR=$(ROOT)/usr/lib/security
80 ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
81
82 LIBS=$(DYNLIB) $(DYNLIB64)
83
84 TSSROOT=$(ADJUNCT_PROTO)
85 TSPILIBDIR=$(TSSROOT)/usr/lib
86 TSPIINCDIR=$(TSSROOT)/usr/include
87 TSSLIB=-L$(TSPILIBDIR)
88 TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
89 TSSINC=-I$(TSPIINCDIR)
90
91 LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lsoftcrypto
92 CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC) $(SOFTCRYPTOFLAGS)
93 CPPFLAGS64 += $(CPPFLAGS)
94 CSTD= $(CSTD_GNU99)
95
96 CERRWARN += -_gcc=-Wno-parentheses
97 CERRWARN += -_gcc=-Wno-unused-label
98 CERRWARN += $(CNOWARN_UNINIT)
99
100 # not linted
101 SMATCH=off
102
103 LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
104
105 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
106 LINTSRC= $(SRCS)
107
108 CLOBBERFILES += C.ln
109
110 .KEEP_STATE:
111
112 all: $(LIBS)
113
114 lint: $$(LINTSRC)
115 $(LINT.c) $(LINTCHECKFLAGS) $(LINTSRC) $(LDLIBS)
116
117 pics/%.o: $(SRCDIR)/%.c
118 $(COMPILE.c) -o $@ $<
|