BYTELOADER_NLP = $(AUTODIR)\ByteLoader\ByteLoader.nlp
DPROF_NLP = $(AUTODIR)\Devel\DProf\DProf.nlp
GLOB_NLP = $(AUTODIR)\File\Glob\Glob.nlp
+HOSTNAME_NLP = $(AUTODIR)\Sys\Hostname\Hostname.nlp
CWD_NLP = $(AUTODIR)\Cwd\Cwd.nlp
STORABLE_NLP = $(AUTODIR)\Storable\Storable.nlp
LISTUTIL_NLP = $(AUTODIR)\List\Util\Util.nlp
XSTYPEMAP_NLP = $(AUTODIR)\XS\Typemap\Typemap.nlp
UNICODENORMALIZE_NLP = $(AUTODIR)\XS\Typemap\Typemap.nlp
-EXTENSION_NLP = \
+EXTENSION_NLP = \
$(FCNTL_NLP) \
$(BYTELOADER_NLP) \
$(IO_NLP) \
$(PEEK_NLP) \
$(RE_NLP) \
$(DPROF_NLP) \
+ $(HOSTNAME_NLP) \
$(STORABLE_NLP) \
$(LISTUTIL_NLP) \
$(MIMEBASE64_NLP) \
$(ECHO_NLM) \
$(TYPE_NLM) \
-ERRNO_PM_NW = $(LIBDIR)\Errno.pm
-
-EXTENSION_NPM = \
- $(ERRNO_PM_NW) \
-
!ifndef SCREEN
SCREEN = 'none'
DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re \
Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \
Storable/Storable List/Util MIME/Base64/Base64 \
- XS/Typemap/Typemap Unicode/Normalize/Normalize
+ XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostnamees
+
STATIC_EXT = DynaLoader
NONXS_EXT = Errno
BYTELOADER = $(EXTDIR)\ByteLoader\ByteLoader
DPROF = $(EXTDIR)\Devel\DProf\DProf
GLOB = $(EXTDIR)\File\Glob\Glob
+HOSTNAME = $(EXTDIR)\Sys\Hostname\Hostname
CWD = $(EXTDIR)\Cwd\Cwd
STORABLE = $(EXTDIR)\Storable\Storable
LISTUTIL = $(EXTDIR)\List\Util
XSTYPEMAP = $(EXTDIR)\XS\Typemap\Typemap
UNICODENORMALIZE = $(EXTDIR)\Unicode\Normalize\Normalize
-EXTENSION_C = \
+ERRNO_PM_NW = $(LIBDIR)\Errno.pm
+
+EXTENSION_C = \
$(SOCKET).c \
$(FCNTL).c \
$(OPCODE).c \
$(BYTELOADER).c \
$(DPROF).c \
$(GLOB).c \
+ $(HOSTNAME).c \
$(CWD).c \
$(STORABLE).c \
$(LISTUTIL).c \
$(XSTYPEMAP).c \
$(UNICODENORMALIZE).c \
+EXTENSION_NPM = \
+ $(ERRNO_PM_NW) \
+
POD2HTML = $(PODDIR)\pod2html
POD2MAN = $(PODDIR)\pod2man
POD2LATEX = $(PODDIR)\pod2latex
$(MAKE)
cd ..\..\netware
+$(HOSTNAME_NLP): $(NLM_NAME) $(HOSTNAME).xs
+ cd $(EXTDIR)\Sys\$(*B)
+ ..\..\..\miniperl -I..\..\..\lib Makefile.PL INSTALLDIRS=perl
+ $(MAKE)
+ cd ..\..\..\netware
+
$(FCNTL_NLP):
cd $(EXTDIR)\$(*B)
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
distclean: clean nwclean
-del /f $(PERLIMPLIB) ..\miniperl.lib $(MINIMOD)
-del /f *.def *.map
+ -del /f $(EXTENSION_NPM)
-del /f $(EXTENSION_C) $(DYNALOADER).c $(ERRNO).pm
-del /f $(EXTDIR)\DynaLoader\dl_netware.xs
-del /f $(LIBDIR)\.exists $(LIBDIR)\attrs.pm $(LIBDIR)\DynaLoader.pm
#define PerlIO_puts(f,s) (*PL_StdIO->pPuts)(PL_StdIO, (f),(s))
#define PerlIO_read(f,buf,size) (*PL_StdIO->pRead)(PL_StdIO, (buf), (size), 1, (f))
#define PerlIO_eof(f) (*PL_StdIO->pEof)(PL_StdIO, (f))
-#define PerlIO_fdupopen(f) (*PL_StdIO->pFdupopen)(PL_StdIO, (f))
+//#define PerlIO_fdupopen(f) (*PL_StdIO->pFdupopen)(PL_StdIO, (f))
#define PerlIO_reopen(p,m,f) (*PL_StdIO->pReopen)(PL_StdIO, (p), (m), (f))
#define PerlIO_open(x,y) (*PL_StdIO->pOpen)(PL_StdIO, (x),(y))