develooper Front page | perl.perl5.porters | Postings from September 2001

[PATCH bleadperl] Allow win32/Makefile to get user-defind defines

Thread Next
From:
Nikola Knezevic
Date:
September 29, 2001 13:37
Subject:
[PATCH bleadperl] Allow win32/Makefile to get user-defind defines
Message ID:
8412859670.20010929223343@tesla.rcub.bg.ac.yu
As described in thread about macro redefinitions on Win32, this patch
allows us to pass defines during the whole build process...


Differencess are here:
--- bleadperl\win32\Makefile    Fri Sep 21 03:26:06 2001
+++ workin_bleadperl\win32\Makefile     Sat Sep 29 22:18:46 2001
@@ -150,6 +150,15 @@
 #
 
 #
+# If you want to pass some extra definitions to compiler during the build
+# of miniperl and perl itself, this is the right place. Just uncomment and
+# add what you think is appropriate.
+# It is recomended to uncomment this if you are using VC++ 5.0 suite.
+#
+#EXTRA_DEFS    = -DCRIPPLED_CC 
+
+
+#
 # This should normally be disabled.  Adding -DPERL_POLLUTE enables support
 # for old symbols by default, at the expense of extreme pollution.  You most
 # probably just want to build modules that won't compile with
@@ -314,7 +323,7 @@
 
 INCLUDES       = -I$(COREDIR) -I.\include -I. -I..
 #PCHFLAGS      = -Fpc:\temp\vcmoduls.pch -YX
-DEFINES                = -DWIN32 -D_CONSOLE -DNO_STRICT $(CRYPT_FLAG)
+DEFINES                = -DWIN32 -D_CONSOLE -DNO_STRICT $(CRYPT_FLAG) $(EXTRA_DEFS)
 LOCDEFS                = -DPERLDLL -DPERL_CORE
 SUBSYS         = console
 CXX_FLAG       = -TP -GX


[END OF PATCH.]
-- 
 .            `\!,        
 .            <. .>    
 [=======oOo==( ^ )==oOo========[ indy@hemo.net ]=======]      
 |---      _    -            --- [    member of    ]--- |        
 [========( )======_==============[ .counter attack. ]==]           
 .         ()     ( )
 .                ()


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About