Makefile.in: Ignore build errors with nm command in Solaris

The default output format is different and the grep don't find anything.

To be fixed later.
This commit is contained in:
Francois-Xavier Le Bail 2022-01-22 14:31:38 +01:00
parent 6d854639ea
commit 49c0110e96

View File

@ -389,13 +389,13 @@ all: $(PROG)
$(PROG): $(OBJ) @V_PCAPDEP@ $(LIBNETDISSECT)
@rm -f $@
$(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBNETDISSECT) $(LIBS)
nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm
nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm || :
instrument_all: $(PROG)
nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm
nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm || :
instrument_global: $(PROG)
nm $(PROG) | grep ' [T] ' > $(PROG)_instrument_functions.nm
nm $(PROG) | grep ' [T] ' > $(PROG)_instrument_functions.nm || :
$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
@rm -f $@