mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	 d98a67a53a
			
		
	
	
		d98a67a53a
		
			
		
	
	
	
	
		
			
			The EXTRA_DIST variable is ignored when used in the FALSE conditional of a Makefile.am. This results in the `make dist` target omitting these files from the generated tarball unless CONFIG_USER is defined. This issue can be avoided by switching to use the dist_noinst_DATA variable which is handled as expected by autoconf. This change also adds support for --with-config=dist as an alias for --with-config=srpm and updates the GitHub workflows to use it. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #13459 Closes #13505
		
			
				
	
	
		
			36 lines
		
	
	
		
			963 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			963 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| libnvpair_la_CFLAGS  = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)
 | |
| libnvpair_la_CFLAGS += $(LIBTIRPC_CFLAGS)
 | |
| libnvpair_la_CFLAGS += -fvisibility=hidden
 | |
| 
 | |
| # wchar_t is undefined-signedness, but we compare to >=0; this warns with unsigned wchar_t
 | |
| %D%/libnvpair_la-libnvpair_json.$(OBJEXT) : CFLAGS += -Wno-type-limits
 | |
| %D%/libnvpair_la-libnvpair_json.l$(OBJEXT): CFLAGS += -Wno-type-limits
 | |
| 
 | |
| lib_LTLIBRARIES += libnvpair.la
 | |
| CPPCHECKTARGETS += libnvpair.la
 | |
| 
 | |
| dist_libnvpair_la_SOURCES = \
 | |
| 	%D%/libnvpair.c \
 | |
| 	%D%/libnvpair_json.c \
 | |
| 	%D%/nvpair_alloc_system.c
 | |
| 
 | |
| nodist_libnvpair_la_SOURCES = \
 | |
| 	module/nvpair/nvpair_alloc_fixed.c \
 | |
| 	module/nvpair/nvpair.c \
 | |
| 	module/nvpair/fnvpair.c
 | |
| 
 | |
| libnvpair_la_LIBADD = \
 | |
| 	libspl_assert.la
 | |
| 
 | |
| libnvpair_la_LIBADD += $(LIBTIRPC_LIBS) $(LTLIBINTL)
 | |
| 
 | |
| libnvpair_la_LDFLAGS =
 | |
| 
 | |
| if !ASAN_ENABLED
 | |
| libnvpair_la_LDFLAGS += -Wl,-z,defs
 | |
| endif
 | |
| 
 | |
| libnvpair_la_LDFLAGS += -version-info 3:0:0
 | |
| 
 | |
| dist_noinst_DATA += %D%/libnvpair.abi %D%/libnvpair.suppr
 |