1 $(eval $(call import.MODULE.defs,PTHREADW32,pthreadw32))
2 $(eval $(call import.CONTRIB.defs,PTHREADW32))
4 PTHREADW32.FETCH.url = http://download.m0k.org/handbrake/contrib/pthreads-w32-2-8-0-release.tar.gz
6 PTHREADW32.CONFIGURE = $(TOUCH.exe) $@
8 PTHREADW32.BUILD.extra = CROSS=$(BUILD.cross.prefix) clean GC-static
9 PTHREADW32.BUILD.ntargets = clean GC-static
11 define PTHREADW32.INSTALL
12 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)libpthreadGC2.a $(CONTRIB.build/)lib/
13 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)pthread.h $(CONTRIB.build/)include/
14 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)sched.h $(CONTRIB.build/)include/
15 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)semaphore.h $(CONTRIB.build/)include/
19 define PTHREADW32.UNINSTALL
20 $(RM.exe) -f $(CONTRIB.build/)lib/libpthreadGC2.a
21 $(RM.exe) -f $(CONTRIB.build/)include/pthread.h
22 $(RM.exe) -f $(CONTRIB.build/)include/sched.h
23 $(RM.exe) -f $(CONTRIB.build/)include/semaphore.h
24 $(RM.exe) -f $(PTHREADW32.INSTALL.target)