Use features macros (QREXEC_RING_V2 and ASYNC_INIT) instead of directly depending on building environment. The macros are turned on (when required) in libvchan.h based on target system.
		
			
				
	
	
		
			23 lines
		
	
	
		
			373 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			373 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
TARGETNAME=libvchan
 | 
						|
TARGETTYPE=LIBRARY
 | 
						|
TARGETPATH=..\win\libs
 | 
						|
 | 
						|
#BUILD_PASS0_CONSUMES=gntmem evtchn xenstore
 | 
						|
#BUILD_PASS0_PRODUCES=vchan
 | 
						|
 | 
						|
USE_MSVCRT=1
 | 
						|
 | 
						|
DLLDEF=libvchan.def
 | 
						|
 | 
						|
INCLUDES=$(INCLUDES); \
 | 
						|
                    ..\win\include;\
 | 
						|
 | 
						|
SOURCES=io.c init.c
 | 
						|
 | 
						|
TARGETLIBS=\
 | 
						|
        $(SDK_LIB_PATH)\setupapi.lib     \
 | 
						|
        $(SDK_LIB_PATH)\kernel32.lib
 | 
						|
 | 
						|
 | 
						|
 |