Import ncpfs 0.14

This commit is contained in:
ncpfs archive import
2026-04-28 20:39:57 +02:00
parent d31ec2ab61
commit 7bef99df0f
23 changed files with 894 additions and 161 deletions

View File

@@ -2,11 +2,12 @@
# Makefile for the linux ncp-filesystem routines.
#
UTIL_EXECS = ncpmount ncpumount nprint slist pqlist
UTIL_EXECS = ncpmount ncpumount nprint slist pqlist fsinfo pserver
UTILS = $(addprefix $(INTERM_BINDIR)/,$(UTIL_EXECS))
UIDUTILS = ncpmount ncpumount
CFLAGS = -Wall $(INCLUDES) -O2 $(KERNELD)
# CFLAGS = -Wall $(INCLUDES) -O2 $(KERNELD)
CFLAGS = -Wall $(INCLUDES) $(KERNELD) -O2
CC = gcc
all: $(UTILS) ncptest
@@ -17,7 +18,7 @@ install: all
for i in $(UIDUTILS); do chmod 4755 $(BINDIR)/$$i; done
$(UTILS): $(addsuffix .o,$(UTIL_EXECS)) ncplib.o
$(CC) -s -o $@ $(addsuffix .o,$(notdir $@)) ncplib.o
$(CC) -o $@ $(addsuffix .o,$(notdir $@)) ncplib.o
ncplib.o: ncplib.c ncplib.h
$(CC) $(CFLAGS) -finline-functions -c ncplib.c