Import ncpfs 2.2.0
This commit is contained in:
79
Makeinit
Normal file
79
Makeinit
Normal file
@@ -0,0 +1,79 @@
|
||||
VERSION = 2.2.0
|
||||
|
||||
# If you want to include NDS support for ncpmount uncomment this:
|
||||
# WARNING! NDS support is very beta, uncomment only if you are testing
|
||||
# because anything can happen (like crashing the linux box or nw server).
|
||||
NDS_SUPPORT = 1
|
||||
|
||||
# If you want to include packet signature support uncomment this:
|
||||
# WARNING! packet signature support is in beta stage, uncomment only when you
|
||||
# know what you are doing, anything can happen (like crashing the linux box or
|
||||
# netware server).
|
||||
# When enabling, make sure you have applied the kernel patches too,
|
||||
# otherwise the packet signatures won't work.
|
||||
SIGNATURES = 1
|
||||
|
||||
# If you want to eat only one NDS connection. Does not work at this time.
|
||||
# (waiting for Novell...)
|
||||
NDS_PRIVATEKEY = 1
|
||||
|
||||
# If you want native IP support, uncomment CONFIG_NATIVEIP
|
||||
# Do not forget that it is VERY ALPHA code, with almost no support
|
||||
# Enable only if you are interested in NCP over IP and you want help
|
||||
# me. -A ip.address is your friend. At this time you have to silently
|
||||
# ignore Login to server XXXX as YYYY - think that XXXX is ip.address and
|
||||
# not one taken from .nwclient. Also, if you have not .nwclient, you have
|
||||
# to add -S DUMMY on commandline.
|
||||
CONFIG_NATIVE_IP = 1
|
||||
|
||||
# Include code for Linux2.0.x
|
||||
MOUNT2 = 1
|
||||
# Include code for Linux2.1.x
|
||||
MOUNT3 = 1
|
||||
|
||||
# ########################################################
|
||||
BINDIR = /usr/bin
|
||||
SBINDIR = /sbin
|
||||
LIBSODIR = /lib
|
||||
LIBADIR = /usr/lib
|
||||
MANDIR = /usr/local/man
|
||||
|
||||
CC = gcc
|
||||
|
||||
COPT = -O2
|
||||
CWARN = -Wall
|
||||
# CWARN = -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Waggregate-return -Wnested-externs -Winline -Wbad-function-cast -W #-Werror #-Wwrite-strings -Wtraditional -Wshadow
|
||||
# ########################################################
|
||||
|
||||
ifdef SIGNATURES
|
||||
CFLAGS_DEFINES += -DSIGNATURES
|
||||
endif
|
||||
ifdef NDS_SUPPORT
|
||||
CFLAGS_DEFINES += -DNDS_SUPPORT
|
||||
endif
|
||||
ifdef CONFIG_NATIVE_IP
|
||||
CFLAGS_DEFINES += -DCONFIG_NATIVE_IP
|
||||
endif
|
||||
ifdef MOUNT2
|
||||
CFLAGS_DEFINES += -DMOUNT2
|
||||
endif
|
||||
ifdef MOUNT3
|
||||
CFLAGS_DEFINES += -DMOUNT3
|
||||
endif
|
||||
CFLAGS_DEFINES += -DNCPFS_VERSION=\"$(VERSION)\"
|
||||
CFLAGS_OPTIONS += $(COPT)
|
||||
CFLAGS_OPTIONS += $(CWARN)
|
||||
|
||||
CCFLAGS = $(CFLAGS_DEFINES) $(CFLAGS_OPTIONS) -I../include
|
||||
|
||||
# If your system is ELF, either also do a 'make install', or append the util/
|
||||
# directory where the dynamic library resides to the environment
|
||||
# variable LD_LIBRARY_PATH
|
||||
HAVE_ELF=$(shell file `whereis gcc|cut -d ' ' -f 2`| \
|
||||
grep ELF >/dev/null && echo -n yes )
|
||||
#HAVE_ELF=yes
|
||||
|
||||
TOPDIR = $(shell pwd)
|
||||
|
||||
INCLUDES=-I$(TOPDIR)/include
|
||||
|
||||
Reference in New Issue
Block a user