687 rpcgen should not generate absolute #includes
@@ -18,10 +18,11 @@ # # CDDL HEADER END # # +# Copyright 2015 Gary Mills # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # LIBRARY= librpcsvc.a
@@ -55,10 +56,13 @@ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) LDLIBS += -lnsl -lc +# Needed so header files with relative paths will work +CPPFLAGS += -I.. + .KEEP_STATE: lint: lintcheck # include library targets