diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-16 21:10:25 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-16 21:10:25 +0000 |
commit | 71c62c3e1b0e2c27447a00fef1367bb09edeb338 (patch) | |
tree | 5da3525acbf6a8c499181eda41ed4fb335d4fc22 | |
parent | 70837fb1ede2a15323ac3fce3877a438ccff5c10 (diff) | |
download | rockbox-71c62c3e1b0e2c27447a00fef1367bb09edeb338.tar.gz rockbox-71c62c3e1b0e2c27447a00fef1367bb09edeb338.zip |
rbspeex, libucl: add rule to build DLL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/rbspeex/Makefile | 6 | ||||
-rw-r--r-- | tools/ucl/src/Makefile | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index 294a5d57f9..446d658ec8 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile | |||
@@ -70,6 +70,12 @@ $(DEPFILE): $(SOURCES) | |||
70 | 70 | ||
71 | -include $(DEPFILE) | 71 | -include $(DEPFILE) |
72 | 72 | ||
73 | dll: rbspeex.dll | ||
74 | rbspeex.dll: $(OUT)/rbspeex.dll | ||
75 | $(OUT)/rbspeex.dll: $(OBJS) $(OUT)/rbspeex.o | ||
76 | @echo DLL $(notdir $@) | ||
77 | $(SILENT)$(CC) $(CFLAGS) -shared -o $@ $^ -Wl,--output-def,$(OUT)/rbspeex.def | ||
78 | |||
73 | $(OUT)/librbspeex.a: $(OBJS) $(DEPFILE) $(OUT)/rbspeex.o | 79 | $(OUT)/librbspeex.a: $(OBJS) $(DEPFILE) $(OUT)/rbspeex.o |
74 | @echo AR $(notdir $@) | 80 | @echo AR $(notdir $@) |
75 | $(SILENT)$(AR) rucs $@ $+ > /dev/null 2>&1 | 81 | $(SILENT)$(AR) rucs $@ $+ > /dev/null 2>&1 |
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile index 06399822b4..ab6b6c9c0b 100644 --- a/tools/ucl/src/Makefile +++ b/tools/ucl/src/Makefile | |||
@@ -31,6 +31,13 @@ OBJS = $(addprefix $(OBJDIR)/,$(SOURCES:%.c=%.o)) | |||
31 | 31 | ||
32 | libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a | 32 | libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a |
33 | 33 | ||
34 | dll: ucl.dll | ||
35 | ucl.dll: $(TARGET_DIR)ucl.dll | ||
36 | $(TARGET_DIR)ucl.dll: $(OBJS) | ||
37 | @echo DLL $(notdir $@) | ||
38 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) -shared -o $@ $^ \ | ||
39 | -Wl,--output-def,$(TARGET_DIR)ucl.def | ||
40 | |||
34 | $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) | 41 | $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) |
35 | @echo AR $(notdir $@) | 42 | @echo AR $(notdir $@) |
36 | $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 | 43 | $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 |