summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 11:01:42 +0200
committerGravatar Martin Szulecki2013-09-26 11:01:42 +0200
commitf7a663ce8735644a3cedb22fa8540dcdbe56eee3 (patch)
treec8e08b2e7c40744216e2febf0ca253176911004a
parent07391edbf2ca1feaf4357259fd9e477ec53e6d81 (diff)
downloadlibirecovery-f7a663ce8735644a3cedb22fa8540dcdbe56eee3.tar.gz
libirecovery-f7a663ce8735644a3cedb22fa8540dcdbe56eee3.tar.bz2
Remove unmaintained TODO and Makefile.shared files
-rw-r--r--Makefile.shared84
-rw-r--r--TODO15
2 files changed, 0 insertions, 99 deletions
diff --git a/Makefile.shared b/Makefile.shared
deleted file mode 100644
index 493c013..0000000
--- a/Makefile.shared
+++ /dev/null
@@ -1,84 +0,0 @@
-MACHINE := $(shell $(CC) -dumpmachine)
-
-ifeq ($(findstring darwin,$(MACHINE)), darwin)
- CFLAGS = -I./include -I/usr/local/include -I/opt/local/include
- LDFLAGS = -L/usr/lib -L/opt/local/lib
- LIBS = -lusb-1.0 -framework CoreFoundation -framework IOKit
-
- IRECOVERY_TARGET = irecovery
- IRECOVERY_LDFLAGS = $(LDFLAGS)
- IRECOVERY_LIBS = $(LIBS) -lreadline
-
- LIBIRECOVERY_STATIC_TARGET = libirecovery.a
-
- LIBIRECOVERY_SHARED_TARGET = libirecovery.dylib
- LIBIRECOVERY_SHARED_LDFLAGS = $(LDFLAGS) -dynamiclib
- LIBIRECOVERY_SHARED_LIBS = $(LIBS)
-endif
-
-ifeq ($(findstring linux,$(MACHINE)), linux)
- CFLAGS = -fPIC -O3 -I./include -I/usr/include -I/usr/local/include
- LDFLAGS = -L/usr/lib -L/usr/local/lib
- LIBS = -lusb-1.0
-
- IRECOVERY_TARGET = irecovery
- IRECOVERY_LDFLAGS = $(LDFLAGS)
- IRECOVERY_LIBS = $(LIBS) -lreadline
-
- LIBIRECOVERY_STATIC_TARGET = libirecovery.a
-
- LIBIRECOVERY_SHARED_TARGET = libirecovery.so
- LIBIRECOVERY_SHARED_LDFLAGS = $(LDFLAGS) -shared -Wl,-soname,$(LIBIRECOVERY_SHARED_TARGET)
- LIBIRECOVERY_SHARED_LIBS = $(LIBS)
-endif
-
-WIN32=
-ifeq ($(findstring cygwin,$(MACHINE)), cygwin)
- WIN32=1
- CC=gcc-3
-endif
-ifeq ($(findstring mingw32,$(MACHINE)), mingw32)
- WIN32=1
-endif
-ifdef WIN32
- CFLAGS = -O3 -DWIN32 -I include -I c:\mingw\include
- LDFLAGS = -static-libgcc -L c:\mingw\lib -L c:\mingw\bin
- LIBS = -lkernel32 -lmsvcrt -lsetupapi
-
- IRECOVERY_TARGET = irecovery.exe
- IRECOVERY_LDFLAGS = $(LDFLAGS)
- IRECOVERY_LIBS = $(LIBS) -lreadline
-
- LIBIRECOVERY_STATIC_TARGET = libirecovery.a
-
- LIBIRECOVERY_SHARED_TARGET = libirecovery.dll
- LIBIRECOVERY_SHARED_LDFLAGS = $(LDFLAGS) -shared
- LIBIRECOVERY_SHARED_LIBS = $(LIBS)
-endif
-
-LIBIRECOVERY_OBJECTS = src/libirecovery.o
-IRECOVERY_OBJECTS = src/irecovery.o libirecovery.a
-
-TARGETS = $(LIBIRECOVERY_SHARED_TARGET) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET)
-OBJECTS = src/libirecovery.o src/irecovery.o
-
-all: $(TARGETS)
-
-%.o: %.S
- $(CC) -c $(<) -o $(@) $(CFLAGS)
-
-%.o: %.c
- $(CC) -c $(<) -o $(@) $(CFLAGS)
-
-$(LIBIRECOVERY_STATIC_TARGET): $(LIBIRECOVERY_OBJECTS)
- $(AR) rs $@ $^
-
-$(LIBIRECOVERY_SHARED_TARGET): $(LIBIRECOVERY_OBJECTS)
- $(CC) -o $@ $^ $(LIBIRECOVERY_SHARED_LDFLAGS) $(LIBIRECOVERY_SHARED_LIBS)
-
-$(IRECOVERY_TARGET): $(IRECOVERY_OBJECTS)
- $(CC) -o $@ $^ $(IRECOVERY_LDFLAGS) $(IRECOVERY_LIBS)
-
-clean:
- $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(LIBIRECOVERY_SHARED_TARGET) $(IRECOVERY_TARGET) src/*.o
-
diff --git a/TODO b/TODO
deleted file mode 100644
index 411f6e6..0000000
--- a/TODO
+++ /dev/null
@@ -1,15 +0,0 @@
-TODO List
-------------------------------------------------
-
-o) Need to implement irecv_saveenv()
-o) Need to implement irecv_bootx()
-o) Neex to implement irecv_go()
-o) Need to implement irecv_bgcolor()
-o) Need to implememt irecv_setpicture()
-o) Need to impelemnt irecv_reboot()
-o) Should figure out a better place to store callbacks so the CONNECTED callback can actually be used
-o) would be nice to change to use asyncronous connections
-o) could add a function to identify whether we're connected to iBoot/iBEC/iBSS or DFU
-o) could add a function to identify which version we're connected to
-o) could add a function to return the device serial number
-o) fix command parsing to strip quotes \ No newline at end of file