mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-11-04 05:55:34 +00:00 
			
		
		
		
	For all files in iproute2 which do not have an obvious license identification, mark them with SPDK GPL-2 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
		
			
				
	
	
		
			33 lines
		
	
	
		
			673 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			673 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
include ../config.mk
 | 
						|
 | 
						|
DISTGEN = maketable normal pareto paretonormal
 | 
						|
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
 | 
						|
 | 
						|
HOSTCC ?= $(CC)
 | 
						|
CCOPTS  = $(CBUILD_CFLAGS)
 | 
						|
LDLIBS += -lm
 | 
						|
 | 
						|
all: $(DISTGEN) $(DISTDATA)
 | 
						|
 | 
						|
$(DISTGEN):
 | 
						|
	$(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
 | 
						|
 | 
						|
%.dist: %
 | 
						|
	./$* > $@
 | 
						|
 | 
						|
experimental.dist: maketable experimental.dat
 | 
						|
	./maketable experimental.dat > experimental.dist
 | 
						|
 | 
						|
stats: stats.c
 | 
						|
	$(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
 | 
						|
 | 
						|
install: all
 | 
						|
	mkdir -p $(DESTDIR)$(LIBDIR)/tc
 | 
						|
	for i in $(DISTDATA); \
 | 
						|
	do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
 | 
						|
	done
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f $(DISTDATA) $(DISTGEN)
 |