diff options
author | konablend <[email protected]> | 2009-03-10 07:05:42 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-03-10 07:05:42 +0000 |
commit | e4f62edf63f41d9fd7c63d1a22cb05810a58d003 (patch) | |
tree | 22a19f402be88867743848fe6bd22e76a3a4c194 /libhb/module.rules | |
parent | 218f59c3137eff2359c80a95e3407488bf01f2d1 (diff) |
BuildSystem: initial _skeleton_ asm support for libhb.
- asm disposition is DISABLED.
- it can only be enabled via a hidden configure option (--enable-asm) but will only be useful once asm code is checked-in.
- this is checked-in early to not lose some internal configure enhancements made during asm build support impl.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2251 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/module.rules')
-rw-r--r-- | libhb/module.rules | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libhb/module.rules b/libhb/module.rules index 7ac6e3f5a..6408700e4 100644 --- a/libhb/module.rules +++ b/libhb/module.rules @@ -3,7 +3,7 @@ $(eval $(call import.MODULE.rules,LIBHB)) libhb.build: $(LIBHB.a) $(LIBHB.a): | $(dir $(LIBHB.a)) -$(LIBHB.a): $(LIBHB.c.o) +$(LIBHB.a): $(LIBHB.c.o) $(LIBHB.yasm.o) $(AR.exe) rsu $@ $^ $(LIBHB.c.o): $(LIBHB.d) @@ -25,5 +25,20 @@ libhb.clean: ############################################################################### +ifneq (disabled,$(FEATURE.asm)) + +$(LIBHB.yasm.o): $(LIBHB.yasm.d) +$(LIBHB.yasm.o): | $(dir $(LIBHB.yasm.o)) +$(LIBHB.yasm.o): $(LIBHB.yasm.build/)%.o: $(LIBHB.yasm.src/)%.asm + $(call LIBHB.YASM.ASM_O,$@,$<) + +endif + +############################################################################### + clean: libhb.clean build: libhb.build + +xmike: + @echo $(LIBHB.yasm.asm) + @echo $(LIBHB.yasm.o) |