Import ncpfs 2.2.0

This commit is contained in:
ncpfs archive import
2026-04-28 20:39:59 +02:00
parent c6c6fbe4ca
commit 0979ae6a41
119 changed files with 12194 additions and 10043 deletions

28
lib-shared/Makefile Normal file
View File

@@ -0,0 +1,28 @@
include ../Makeinit
NCPLIB = libncp.so
NCPLIB_BIN = $(NCPLIB).1.0
NCPLIB_SONAME = $(NCPLIB).1
CCFLAGS += -I../include -I.
PIC_FLAG = -fPIC
export PIC_FLAG
CCFLAGS += $(PIC_FLAG)
vpath %.c ../lib
vpath %.et ../lib
include ../lib/Makelib
install: all
rm -f $(LIBSODIR)/$(NCPLIB)
install $(NCPLIB_BIN) $(LIBSODIR)
ldconfig
ln -sf $(NCPLIB_SONAME) $(LIBSODIR)/$(NCPLIB)
$(NCPLIB): $(NCPLIB_BIN)
rm -f $@
ln -sf $< $@
$(NCPLIB_BIN): $(O_OBJ) $(O_LIB)
$(CC) -shared -o $@ -Wl,-soname=$(NCPLIB_SONAME) $(O_OBJ) -lc