packages: new package libsml

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29802 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2012-01-19 15:08:02 +00:00
parent 5b0d8d2a3e
commit e7bd69fd9a
4 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
all:
@$(MAKE) -C sml
- @$(MAKE) -C examples
- @$(MAKE) -C test
+# @$(MAKE) -C examples
+# @$(MAKE) -C test
.PHONY: clean
clean :

View File

@ -0,0 +1,11 @@
--- a/sml/Makefile
+++ b/sml/Makefile
@@ -54,7 +54,7 @@ libsml: $(ST_LIB) $(OBJ_LIB)
endif
$(DYN_LIB): $(OBJS)
- $(LD) $(LIBS) -shared -soname $(SONAME) -o $@ $^
+ $(LD) $(LDFLAGS) $(LIBS) -shared -soname $(SONAME) -o $@ $^
$(OBJ_LIB): $(OBJS)
$(LD) -r -o $@ $^

View File

@ -0,0 +1,8 @@
--- a/sml/Makefile
+++ b/sml/Makefile
@@ -1,4 +1,4 @@
-UNAME := $(shell uname)
+UNAME := Linux
CFLAGS += -I./include/ -fPIC -g -Wall
# Available Flags: