Print this page
687 rpcgen should not generate absolute #includes

*** 17,26 **** --- 17,27 ---- # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # + # Copyright 2015 Gary Mills # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # # LIBRARY = libidmap.a
*** 46,56 **** LDLIBS += -lc -lavl -lnsl -lnvpair -luutil SRCDIR = ../common $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) ! IDMAP_PROT_X = $(SRC)/uts/common/rpcsvc/idmap_prot.x CFLAGS += $(CCVERBOSE) CPPFLAGS += -D_REENTRANT -I$(SRCDIR) CERRWARN += -_gcc=-Wno-unused-variable --- 47,58 ---- LDLIBS += -lc -lavl -lnsl -lnvpair -luutil SRCDIR = ../common $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) ! # Relative path to ensure path to idmap_prot.h is also relative ! IDMAP_PROT_X = ../../../uts/common/rpcsvc/idmap_prot.x CFLAGS += $(CCVERBOSE) CPPFLAGS += -D_REENTRANT -I$(SRCDIR) CERRWARN += -_gcc=-Wno-unused-variable