diff options
Diffstat (limited to 'branches/1.0/tinyIPSec/droid-makefile')
-rw-r--r-- | branches/1.0/tinyIPSec/droid-makefile | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/branches/1.0/tinyIPSec/droid-makefile b/branches/1.0/tinyIPSec/droid-makefile deleted file mode 100644 index 2c320e0..0000000 --- a/branches/1.0/tinyIPSec/droid-makefile +++ /dev/null @@ -1,32 +0,0 @@ -APP := lib$(PROJECT)_$(MARCH).$(EXT)
-
-CFLAGS := $(CFLAGS_LIB) -I../tinySAK/src -I./src
-LDFLAGS := -ltinySAK_$(MARCH) $(LDFLAGS_LIB)
-
-all: $(APP)
-
-OBJS = \
- src/tipsec.o\
- src/tipsec_common.o\
- src/tipsec_racoon.o\
- src/tipsec_vista.o\
- src/tipsec_xp.o
-
-
-$(APP): $(OBJS)
-ifeq ($(EXT), a)
- $(AR) rcs $@ $^
-else
- $(CC) $(LDFLAGS) -o $@ $^
-endif
-
-%.o: %.c
- $(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@
-
-install: $(APP)
- $(ANDROID_SDK_ROOT)/tools/adb remount
- $(ANDROID_SDK_ROOT)/tools/adb push $(APP) $(LIB_DIR)/$(APP)
- $(ANDROID_SDK_ROOT)/tools/adb shell chmod 777 $(LIB_DIR)/$(APP)
-
-clean:
- @rm -f $(OBJS) $(APP)
\ No newline at end of file |