OSDN Git Service

bump libtheora to official 1.1 release
[handbrake-jp/handbrake-jp-git.git] / contrib / pthreadw32 / module.defs
1 $(eval $(call import.MODULE.defs,PTHREADW32,pthreadw32))
2 $(eval $(call import.CONTRIB.defs,PTHREADW32))
3
4 PTHREADW32.FETCH.url = http://download.m0k.org/handbrake/contrib/pthreads-w32-2-8-0-release.tar.gz
5
6 PTHREADW32.CONFIGURE = $(TOUCH.exe) $@
7
8 PTHREADW32.BUILD.extra = CROSS=$(BUILD.cross.prefix) clean GC-static
9 PTHREADW32.BUILD.ntargets = clean GC-static
10
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/
16     $(TOUCH.exe) $@
17 endef
18
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)
25 endef