Add unzipfx as extra vendored dependency, for CI builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
9dc031d5aa
commit
685e62df24
36 changed files with 30307 additions and 0 deletions
28
deps/unzipfx/Makefile.linux
vendored
Normal file
28
deps/unzipfx/Makefile.linux
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/Makefile -f
|
||||
|
||||
CC ?= gcc
|
||||
|
||||
BUILD_FLAGS = -DSFX -DLINUX -I. -I.. $(CFLAGS) -O2
|
||||
BUILD_FLAGS += -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE
|
||||
BUILD_FLAGS += -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
|
||||
|
||||
LINK_FLAGS = -static $(LDFLAGS)
|
||||
|
||||
OBJ = crc32.o crypt.o extract.o fileio.o globals.o inflate.o match.o process.o ttyio.o ubz2err.o unzip.o zipinfo.o
|
||||
OBJ += unix/unix.o
|
||||
OBJ += unzipfx/appDetails.o
|
||||
|
||||
# -----------------------------
|
||||
|
||||
all: unzipfx2cat
|
||||
|
||||
unzipfx2cat: $(OBJ)
|
||||
$(CC) $^ $(LINK_FLAGS) -o $@
|
||||
|
||||
clean:
|
||||
rm -f *~ $(OBJ)
|
||||
|
||||
# -----------------------------
|
||||
|
||||
.c.o:
|
||||
$(CC) $< $(BUILD_FLAGS) -c -o $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue