The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
		
			
				
	
	
		
			28 lines
		
	
	
		
			372 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			372 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| DIR=	${DOCDIR}/openrc
 | |
| INC=	net.example
 | |
| 
 | |
| MK=	../mk
 | |
| include ${MK}/os.mk
 | |
| 
 | |
| ifeq ($(OS),FreeBSD)
 | |
| SRCS+=		net.example.in
 | |
| 
 | |
| .SUFFIXES:	.BSD.in
 | |
| .BSD.in:
 | |
| 	${CP} $< $@
 | |
| else ifeq ($(OS),Linux)
 | |
| SRCS+=		net.example.in
 | |
| 
 | |
| .SUFFIXES:	.Linux.in
 | |
| .Linux.in:
 | |
| 	${CP} $< $@
 | |
| else ifeq ($(OS),NetBSD)
 | |
| SRCS+=		net.example.in
 | |
| 
 | |
| .SUFFIXES:	.BSD.in
 | |
| .BSD.in:
 | |
| 	${CP} $< $@
 | |
| endif
 | |
| 
 | |
| include ${MK}/scripts.mk
 |