You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Use the appropiate Makefile variable to ensure the resource file is only built into shared libraries instead.
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| NAME = swscale
 | |
| DESC = FFmpeg image rescaling library
 | |
| 
 | |
| HEADERS = swscale.h                                                     \
 | |
|           version.h                                                     \
 | |
|           version_major.h                                               \
 | |
| 
 | |
| OBJS = alphablend.o                                     \
 | |
|        hscale.o                                         \
 | |
|        hscale_fast_bilinear.o                           \
 | |
|        gamma.o                                          \
 | |
|        input.o                                          \
 | |
|        options.o                                        \
 | |
|        output.o                                         \
 | |
|        rgb2rgb.o                                        \
 | |
|        slice.o                                          \
 | |
|        swscale.o                                        \
 | |
|        swscale_unscaled.o                               \
 | |
|        utils.o                                          \
 | |
|        version.o                                        \
 | |
|        yuv2rgb.o                                        \
 | |
|        vscale.o                                         \
 | |
| 
 | |
| # Objects duplicated from other libraries for shared builds
 | |
| SHLIBOBJS                    += log2_tab.o
 | |
| 
 | |
| # Windows resource file
 | |
| SHLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o
 | |
| 
 | |
| TESTPROGS = colorspace                                                  \
 | |
|             floatimg_cmp                                                \
 | |
|             pixdesc_query                                               \
 | |
|             swscale                                                     \
 |