1 $(eval $(call import.MODULE.defs,PTHREADW32,pthreadw32))
2 $(eval $(call import.CONTRIB.defs,PTHREADW32))
4 PTHREADW32.FETCH.url = http://download.handbrake.fr/handbrake/contrib/pthreads-w32-cvs20100909.tar.bz2
6 PTHREADW32.CONFIGURE = $(TOUCH.exe) $@
8 PTHREADW32.BUILD.extra = target=$(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/)pthreads_win32_config.h $(CONTRIB.build/)include/
15 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)sched.h $(CONTRIB.build/)include/
16 $(CP.exe) $(PTHREADW32.EXTRACT.dir/)semaphore.h $(CONTRIB.build/)include/
17 $(LN.exe) -sf ./libpthreadGC2.a $(CONTRIB.build/)lib/libpthread.a
21 define PTHREADW32.UNINSTALL
22 $(RM.exe) -f $(CONTRIB.build/)lib/libpthreadGC2.a
23 $(RM.exe) -f $(CONTRIB.build/)include/pthread.h
24 $(RM.exe) -f $(CONTRIB.build/)include/sched.h
25 $(RM.exe) -f $(CONTRIB.build/)include/semaphore.h
26 $(RM.exe) -f $(PTHREADW32.INSTALL.target)