mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 00:08:23 -05:00 
			
		
		
		
	PGXS support for contrib/hstore
Joey Adams
This commit is contained in:
		
							parent
							
								
									c26ac226e4
								
							
						
					
					
						commit
						41611f16e9
					
				@ -1,9 +1,5 @@
 | 
				
			|||||||
# contrib/hstore/Makefile
 | 
					# contrib/hstore/Makefile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
subdir = contrib/hstore
 | 
					 | 
				
			||||||
top_builddir = ../..
 | 
					 | 
				
			||||||
include $(top_builddir)/src/Makefile.global
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
MODULE_big = hstore
 | 
					MODULE_big = hstore
 | 
				
			||||||
OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \
 | 
					OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \
 | 
				
			||||||
	crc32.o
 | 
						crc32.o
 | 
				
			||||||
@ -12,4 +8,13 @@ DATA_built = hstore.sql
 | 
				
			|||||||
DATA = uninstall_hstore.sql
 | 
					DATA = uninstall_hstore.sql
 | 
				
			||||||
REGRESS = hstore
 | 
					REGRESS = hstore
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ifdef USE_PGXS
 | 
				
			||||||
 | 
					PG_CONFIG = pg_config
 | 
				
			||||||
 | 
					PGXS := $(shell $(PG_CONFIG) --pgxs)
 | 
				
			||||||
 | 
					include $(PGXS)
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					subdir = contrib/hstore
 | 
				
			||||||
 | 
					top_builddir = ../..
 | 
				
			||||||
 | 
					include $(top_builddir)/src/Makefile.global
 | 
				
			||||||
include $(top_srcdir)/contrib/contrib-global.mk
 | 
					include $(top_srcdir)/contrib/contrib-global.mk
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user