Print this page
1427 import libssl
@@ -16,10 +16,11 @@
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
+# Copyright 2015 Gary Mills
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PROG = tpmadm
@@ -32,13 +33,16 @@
SRCS = $(OBJS:%.o=%.c)
POFILES = $(OBJS:%.o=%.po)
POFILE = $(PROG)_msg.po
MSGFILES=$(SRCS:%.c=%.i)
+# Use libraries and include files from the build host
+LDLIBS= -ltspi -luuid -lcrypto
+CPPFLAGS= $(DTEXTDOM) $(DTS_ERRNO)
CPPFLAGS += -xCC
+
LINTFLAGS += -XCC -L$(ADJUNCT_PROTO)/usr/lib
-LDLIBS += -ltspi -luuid
CLOBBERFILES = C.ln $(POFILE) $(POFILES)
.KEEP_STATE: