OSDN Git Service

This patch adds mingw32 cross-compilation support to HandBrake trunk to
[handbrake-jp/handbrake-jp-git.git] / contrib / xvidcore / module.defs
1 $(eval $(call import.MODULE.defs,XVIDCORE,xvidcore))
2 $(eval $(call import.CONTRIB.defs,XVIDCORE))
3
4 XVIDCORE.FETCH.url = http://download.m0k.org/handbrake/contrib/xvidcore-20090311.tar.gz
5
6 XVIDCORE.CONFIGURE.static =
7 XVIDCORE.CONFIGURE.shared =
8 XVIDCORE.CONFIGURE.deps =
9 XVIDCORE.CONFIGURE.dir = $(XVIDCORE.EXTRACT.dir/)build/generic/
10 XVIDCORE.CONFIGURE.bootstrap = ./bootstrap.sh;
11
12 XVIDCORE.BUILD.dir      = $(XVIDCORE.EXTRACT.dir/)build/generic/
13 XVIDCORE.BUILD.extra    = STATIC_LIB=libxvidcore.a
14 XVIDCORE.BUILD.ntargets = libxvidcore.a
15
16 XVIDCORE.CLEAN.dir = $(XVIDCORE.EXTRACT.dir/)build/generic/
17
18 define XVIDCORE.INSTALL
19     $(CP.exe) $(XVIDCORE.EXTRACT.dir/)build/generic/=build/libxvidcore.a $(CONTRIB.build/)lib/
20     $(CP.exe) $(XVIDCORE.EXTRACT.dir/)src/xvid.h $(CONTRIB.build/)include/
21     $(TOUCH.exe) $@
22 endef
23
24 define XVIDCORE.UNINSTALL
25     $(RM.exe) -f $(CONTRIB.build/)lib/libxvidcore.a
26     $(RM.exe) -f $(CONTRIB.build/)include/xvid.h
27     $(RM.exe) -f $(XVIDCORE.INSTALL.target)
28 endef