Add XS::APItest to Win32/DJGPP/NetWare.
Jarkko Hietaniemi [Tue, 11 Jun 2002 01:49:38 +0000 (01:49 +0000)]
p4raw-id: //depot/perl@17177

NetWare/Makefile
djgpp/config.over
win32/Makefile

index f563cd1..21136d8 100644 (file)
@@ -328,6 +328,7 @@ CWD_NLM                     = $(EXTDIR)\Cwd\Cwd.NLM
 STORABLE_NLM           = $(EXTDIR)\Storable\Storable.NLM
 LISTUTIL_NLM           = $(EXTDIR)\List\Util.NLM
 MIMEBASE64_NLM         = $(EXTDIR)\MIME\Base64\Base64.NLM
+XSAPITEST_NLM          = $(EXTDIR)\XS\APItest\APItest.NLM
 XSTYPEMAP_NLM          = $(EXTDIR)\XS\Typemap\Typemap.NLM
 UNICODENORMALIZE_NLM   = $(EXTDIR)\Unicode\Normalize\Normalize.NLM
 
@@ -352,6 +353,7 @@ EXTENSION_NLM       =               \
                $(STORABLE_NLM)         \
                $(LISTUTIL_NLM)         \
                $(MIMEBASE64_NLM)       \
+               $(XSAPITEST_NLM)        \
                $(XSTYPEMAP_NLM)        \
                $(UNICODENORMALIZE_NLM)  \
                $(FILTER_NLM)   
@@ -815,7 +817,7 @@ X2P_OBJ             = $(X2P_SRC:.c=.obj)
 
 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 \
+               Storable/Storable List/Util MIME/Base64/Base64 XS/APItest/APItest \
                XS/Typemap/Typemap Unicode/Normalize/Normalize Sys/Hostname
 
 STATIC_EXT     = DynaLoader
@@ -843,6 +845,7 @@ CWD                 = $(EXTDIR)\Cwd\Cwd
 STORABLE               = $(EXTDIR)\Storable\Storable
 LISTUTIL               = $(EXTDIR)\List\Util
 MIMEBASE64             = $(EXTDIR)\MIME\Base64\Base64
+XSAPITEST              = $(EXTDIR)\XS\APItest\APItest
 XSTYPEMAP              = $(EXTDIR)\XS\Typemap\Typemap
 UNICODENORMALIZE       = $(EXTDIR)\Unicode\Normalize\Normalize
 
@@ -869,6 +872,7 @@ EXTENSION_C =               \
                $(STORABLE).c   \
                $(LISTUTIL).c   \
                $(MIMEBASE64).c \
+               $(XSAPITEST).c  \
                $(XSTYPEMAP).c  \
                $(UNICODENORMALIZE).c   \
 
@@ -1293,6 +1297,12 @@ $(MIMEBASE64_NLM):
        $(MAKE)
        cd ..\..\..\netware
 
+$(XSAPITEST_NLM):
+       cd $(EXTDIR)\XS\$(*B)
+       ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
+       $(MAKE)
+       cd ..\..\..\netware
+
 $(XSTYPEMAP_NLM):
        cd $(EXTDIR)\XS\$(*B)
        ..\..\..\miniperl -I..\..\lib Makefile.PL PERL_CORE=1 INSTALLDIRS=perl
index c27011b..6967233 100644 (file)
@@ -46,6 +46,7 @@ repair()
      -e 's=cwd=Cwd=' \
      -e 's=perlio/via=PerlIO/Via=' \
      -e 's=perlio/encoding=PerlIO/encoding=' \
+     -e 's=xs/apitest=XS/APItest=' \
      -e 's=xs/typemap=XS/Typemap=' \
      -e 's=unicode/normaliz=Unicode/Normalize=' \
      -e 's=i18n/langinfo=I18N/Langinfo=' \
index d1d4ad1..cc360f8 100644 (file)
@@ -667,6 +667,7 @@ TIMEHIRES           = $(EXTDIR)\Time\HiRes\HiRes
 CWD                    = $(EXTDIR)\Cwd\Cwd
 LISTUTIL               = $(EXTDIR)\List\Util\Util
 PERLIOVIA              = $(EXTDIR)\PerlIO\Via\Via
+XSAPITEST              = $(EXTDIR)\XS\APItest\APItest
 XSTYPEMAP              = $(EXTDIR)\XS\Typemap\Typemap
 UNICODENORMALIZE       = $(EXTDIR)\Unicode\Normalize\Normalize
 
@@ -696,6 +697,7 @@ TIMEHIRES_DLL               = $(AUTODIR)\Time\HiRes\HiRes.dll
 CWD_DLL                        = $(AUTODIR)\Cwd\Cwd.dll
 LISTUTIL_DLL           = $(AUTODIR)\List\Util\Util.dll
 PERLIOVIA_DLL          = $(AUTODIR)\PerlIO\Via\Via.dll
+XSAPITEST_DLL          = $(AUTODIR)\XS\APItest\APItest.dll
 XSTYPEMAP_DLL          = $(AUTODIR)\XS\Typemap\Typemap.dll
 UNICODENORMALIZE_DLL   = $(AUTODIR)\Unicode\Normalize\Normalize.dll
 
@@ -726,6 +728,7 @@ EXTENSION_C =               \
                $(CWD).c        \
                $(LISTUTIL).c   \
                $(PERLIOVIA).c  \
+               $(XSAPITEST).c  \
                $(XSTYPEMAP).c  \
                $(UNICODENORMALIZE).c
 
@@ -756,6 +759,7 @@ EXTENSION_DLL       =               \
                $(CWD_DLL)      \
                $(LISTUTIL_DLL) \
                $(PERLIOVIA_DLL)        \
+               $(XSAPITEST_DLL)        \
                $(XSTYPEMAP_DLL)        \
                $(UNICODENORMALIZE_DLL)
 
@@ -1020,6 +1024,7 @@ distclean: clean
        -del /f $(LIBDIR)\List\Util.pm
        -del /f $(LIBDIR)\Scalar\Util.pm
        -del /f $(LIBDIR)\Time\HiRes.pm
+       -del /f $(LIBDIR)\XS\APItest.pm
        -del /f $(LIBDIR)\XS\Typemap.pm
        -del /f $(LIBDIR)\Unicode\Normalize.pm
        -if exist $(LIBDIR)\IO rmdir /s /q $(LIBDIR)\IO