diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-04-12 15:05:04 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-04-12 15:05:04 +0100 |
commit | 48462a74af687743eb1706910f2a17ba4180660d (patch) | |
tree | 8370a38a93edf2091d8c7a91c3c61819156cdbc6 /NetWare | |
parent | 42f6aa011acc35d253b243e5e9990e254b882076 (diff) | |
download | perl-48462a74af687743eb1706910f2a17ba4180660d.tar.gz |
Convert xsutils.c and lib/attributes.pm to a regular XS extension.
Diffstat (limited to 'NetWare')
-rw-r--r-- | NetWare/Makefile | 17 | ||||
-rw-r--r-- | NetWare/config.wc | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/NetWare/Makefile b/NetWare/Makefile index 6a5b2ac638..f22161698f 100644 --- a/NetWare/Makefile +++ b/NetWare/Makefile @@ -312,6 +312,7 @@ IO_NLM = $(AUTODIR)\IO\IO.NLM OPCODE_NLM = $(AUTODIR)\Opcode\Opcode.NLM SDBM_FILE_NLM = $(AUTODIR)\SDBM_File\SDBM_File.NLM POSIX_NLM = $(AUTODIR)\POSIX\POSIX.NLM +ATTRIBUTES_NLM = $(AUTODIR)\attributes\attributes.NLM B_NLM = $(AUTODIR)\B\B.NLM DUMPER_NLM = $(AUTODIR)\Data\Dumper\Dumper.NLM PEEK_NLM = $(AUTODIR)\Devel\Peek\Peek.NLM @@ -335,6 +336,7 @@ EXTENSION_NLM = \ $(SOCKET_NLM) \ $(OPCODE_NLM) \ $(B_NLM) \ + $(ATTRIBUTES_NLM) \ $(SDBM_FILE_NLM) \ $(POSIX_NLM) \ $(DUMPER_NLM) \ @@ -722,8 +724,7 @@ MICROCORE_SRC = \ ..\toke.c \ ..\universal.c \ ..\utf8.c \ - ..\util.c \ - ..\xsutils.c + ..\util.c #EXTRACORE_SRC = $(EXTRACORE_SRC) perllib.c @@ -786,7 +787,7 @@ CORE_H = $(CORE_NOCFG_H) .\config.h DLL_OBJ = $(DLL_SRC:.c=.obj) X2P_OBJ = $(X2P_SRC:.c=.obj) -DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX B re \ +DYNAMIC_EXT = Socket IO Fcntl Opcode SDBM_File POSIX attributes B re \ Data/Dumper Devel/Peek ByteLoader Devel/DProf File/Glob \ Storable/Storable List/Util MIME/Base64/Base64 XS/APItest/APItest \ XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostname @@ -801,6 +802,7 @@ OPCODE = $(EXTDIR)\Opcode\Opcode SDBM_FILE = $(EXTDIR)\SDBM_File\SDBM_File IO = $(EXTDIR)\IO\IO POSIX = $(EXTDIR)\POSIX\POSIX +ATTRIBUTES = $(EXTDIR)\attributes\attributes B = $(EXTDIR)\B\B RE = $(EXTDIR)\re\re DUMPER = $(EXTDIR)\Data\Dumper\Dumper @@ -827,6 +829,7 @@ EXTENSION_C = \ $(SDBM_FILE).c \ $(IO).c \ $(POSIX).c \ + $(ATTRIBUTES).c \ $(RE).c \ $(DUMPER).c \ $(PEEK).c \ @@ -1222,6 +1225,12 @@ $(POSIX_NLM): $(MAKE) cd ..\..\netware +$(ATTRIBUTES_NLM): + cd $(EXTDIR)\$(*B) + ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl + $(MAKE) + cd ..\..\netware + $(SDBM_FILE_NLM): cd $(EXTDIR)\$(*B) ..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl @@ -1387,7 +1396,7 @@ distclean: clean nwclean -del /f /q $(EXTDIR)\DynaLoader\dl_win32.xs -del /f /q $(EXTDIR)\DynaLoader\DynaLoader.pm -del /f /q $(EXTDIR)\DynaLoader\XSLoader.pm - -del /f /q $(LIBDIR)\.exists $(LIBDIR)\DynaLoader.pm + -del /f /q $(LIBDIR)\.exists $(LIBDIR)\attributes.pm $(LIBDIR)\DynaLoader.pm -del /f /q $(LIBDIR)\XSLoader.pm -del /f /q $(LIBDIR)\Fcntl.pm $(LIBDIR)\IO.pm $(LIBDIR)\Opcode.pm -del /f /q $(LIBDIR)\ops.pm $(LIBDIR)\Safe.pm diff --git a/NetWare/config.wc b/NetWare/config.wc index 93fbb152ff..533a59fcd9 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -538,7 +538,7 @@ doublesize='8' drand01='(rand()/(double)((unsigned)1<<RANDBITS))' drand48_r_proto='0' dtrace='' -dynamic_ext='Socket IO Fcntl Opcode SDBM_File' +dynamic_ext='Socket IO Fcntl Opcode SDBM_File attributes' eagain='EAGAIN' ebcdic='undef' echo='echo' |