Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build
*** 29,39 ****
ATTMK = $(TYPEPROG)
include ../../Makefile.fstype
LDLIBS += -L$(ROOT)/usr/lib/nfs -R/usr/lib/nfs
- LDLIBS += -lnsl -lmapid -ldtrace -lidmap
COMMON = nfs_resolve.o
SRCS = nfsmapid.c ../lib/nfs_resolve.c nfsmapid_server.c
DSRC = nfsmapid_dt.d
DOBJ = $(DSRC:%.d=%.o)
OBJS = nfsmapid.o nfsmapid_server.o $(COMMON)
--- 29,38 ----
*** 42,51 ****
--- 41,52 ----
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ $(TYPEPROG) := LDLIBS += -lnsl -lmapid -ldtrace -lidmap
+
all: $(TYPEPROG) $(TESTPROG)
$(TYPEPROG): $(OBJS) $(DSRC)
$(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
$(LINK.c) $(ZIGNORE) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)