This make easier to use instrument-functions.c in other projects.
-tcpdump_instrument_functions_global.devel
-tcpdump_instrument_functions_off.devel
+instrument_functions_global.devel
+instrument_functions_off.devel
$(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBNETDISSECT) $(LIBS)
instrument_all: $(PROG)
$(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBNETDISSECT) $(LIBS)
instrument_all: $(PROG)
- @rm -f $(PROG)_instrument_functions_global.devel
- @rm -f $(PROG)_instrument_functions_off.devel
+ @rm -f instrument_functions_global.devel
+ @rm -f instrument_functions_off.devel
instrument_global: $(PROG)
instrument_global: $(PROG)
- @touch $(PROG)_instrument_functions_global.devel
- @rm -f $(PROG)_instrument_functions_off.devel
+ @touch instrument_functions_global.devel
+ @rm -f instrument_functions_off.devel
- @touch $(PROG)_instrument_functions_off.devel
- @rm -f $(PROG)_instrument_functions_global.devel
+ @touch instrument_functions_off.devel
+ @rm -f instrument_functions_global.devel
$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
@rm -f $@
$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
@rm -f $@
}
/* If this file exists, print only the global functions */
}
/* If this file exists, print only the global functions */
-#define ND_FILE_FLAG_GLOBAL "tcpdump_instrument_functions_global.devel"
+#define ND_FILE_FLAG_GLOBAL "instrument_functions_global.devel"
/* If this file exists, print nothing, like with no instrumentation */
/* If this file exists, print nothing, like with no instrumentation */
-#define ND_FILE_FLAG_OFF "tcpdump_instrument_functions_off.devel"
+#define ND_FILE_FLAG_OFF "instrument_functions_off.devel"
static void print_debug(void *this_fn, void *call_site, action_type action)
{
static void print_debug(void *this_fn, void *call_site, action_type action)
{