Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
extconf.rb
Go to the documentation of this file.
1 # Loads mkmf which is used to make makefiles for Ruby extensions
2 require 'mkmf'
3 
4 # Add our local include files
5 #
6 $CPPFLAGS = '-I.. -I/Proto/include -DOS=Linux -DOSVER=i686 -D_POSIX_C_SOURCE=200112L -DBUILDING_LIBRARY -DBUILDING_SAS_UPNDB_LIBRARY'
7 
8 #$CFLAGS =
9 
10 $LDFLAGS = '-L/Proto/lib -Xlinker -rpath /Proto/lib -lSaSUpnDb'
11 
12 # Give it a name
13 extension_name = 'SaSUsers'
14 
15 # The destination
16 dir_config(extension_name)
17 
18 # Do the work
19 create_makefile(extension_name)