Commit Graph

105 Commits

Author SHA1 Message Date
Amul Shah 89f3cc3b49 detect ICU on Debian wheezy
The ICU libraries are now located under
 /usr/lib/x86_64-linux-gnu
 /usr/lib/i386-linux-gnu
They were previously located under
 /usr/lib64
 /usr/lib32

The configure script runs a detection sequence that works for all
supported platforms.

Remove GTMHELP.o when deleting all built files
2012-06-21 11:58:03 -04:00
Brad King 949806c6a6 gen_xfer_desc does not run in 32-bit build 2012-06-21 11:02:44 -04:00
Brad King 0cd020d056 gtm_threadgbl_deftypes depends on xfer_desc 2012-06-21 10:59:37 -04:00
Brad King 33f1fdacf9 Generate xfer_desc.i with CMake code 2012-06-21 09:39:33 -04:00
Amul Shah bfc84d205b LC_ALL should be set by the calling shell
Read the blog post on http://www.mattfischer.com/blog/?p=105

M mode (aka ASCII) GT.M does not use LC_* while compiling

UTF-8 mode GT.M requires the correct locale setting for the compiler to
produce UTF-8 mode object files.
2012-06-20 17:22:41 -04:00
Amul Shah 57ef8ebf36 Add the GLD files to the install root
The Global Directories for the help databases were missing from the
install. zhelp would not work without these.
2012-06-20 17:08:42 -04:00
Amul Shah 4641966d63 Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad
WIP : LC settings moved around for gtmgbldir setting

Conflicts:
	sr_unix/mumps.cmake
2012-06-20 16:58:19 -04:00
Amul Shah a20641dcc0 FIX: NONUTF8LOCALE and ICU versions above 4.8 2012-06-20 16:29:27 -04:00
Amul Shah 4657b4ff5a Do not GTMHELP.o
GTMHELP.o is called from sr_unix/op_zhelp_xfr.c. Deleting this file
renders zhelp inoperable.
2012-06-20 16:28:33 -04:00
Luis Ibanez 8dde79ed64 configure: Isolate UTF-8 env in a subshell
Do not leak LD_LIBRARY_PATH changes to rest of script.  They
break fakeroot and prevent subsequent commands like "chmod"
from working during debian package genaration.
2012-06-20 15:17:54 -04:00
Luis Ibanez e52750a2bf gtminstall: Always generate configure.sh from scratch
Previously it would append duplicate copies of configure on multiple runs.
2012-06-20 15:16:55 -04:00
Brad King 81e6aa8856 configure: Use literal '$gtm_dist/' in front of (gtm|gde)help.dat 2012-06-19 15:12:52 -04:00
Brad King 151c165eca Use literal '$gtm_dist/' in front of (gtm|gde)help.dat 2012-06-19 14:39:39 -04:00
Brad King eb42ac5565 Generate and install (gtm|gde)help.dat 2012-06-19 14:00:38 -04:00
Brad King 3b4bcd7e1f Do not create plugin/gtmcrypt/source.tar
It is up to configure or gtminstall to do this.  CMake should
just install the content.
2012-06-19 13:28:33 -04:00
Brad King 849daf7db7 Generalize mumps.cmake further
Set in the environment any of several supported variables
given to the script.
2012-06-19 13:27:02 -04:00
Brad King 5b7c3e51e7 Make rules using 'mumps' depend on executable
This ensures they re-run if the executable changes.
2012-06-18 13:37:10 -04:00
Brad King cc7a6462bf Detect icu-config version to set gtm_icu_version 2012-06-18 11:24:44 -04:00
Brad King d96e1b9191 Merge remote-tracking branch 'origin/hackathonjune2012-brad' into hackathonjune2012-brad 2012-06-18 09:51:53 -04:00
Brad King b44574d532 Compile and install GDE routines for UTF-8
TODO: Detect icu version
2012-06-18 09:51:46 -04:00
Amul Shah 9533ef5d90 move mumps.cmake to sr_unix. 2012-06-18 09:51:12 -04:00
Brad King dbc4ec61b3 Remove duplicate maskpass install 2012-06-18 09:51:12 -04:00
Brad King ddce370da8 Refactor m and mpt file copy loops 2012-06-18 09:51:09 -04:00
Amul Shah 211bd169e8 move mumps.cmake to sr_unix. create UTF8 GDE OBJs
WARNING WARNING WARNING
The rules to create the UTF-8 mode GDE object files do what is desired, but I
don't think that I did them correctly.

Additionally, we need some way to query the installed ICU version on the
deployment host and get the value into CMAKE. Normally, we use:
  icu-config --version | cut -d"." -f -2

To get the UTF-8 GDE object files I set gtm_icu_version to 4.8 prior to running
CMAKE. While this works, it's not friendly to anyone.
2012-06-16 00:40:44 -04:00
Brad King ee099a029d Install shebang-style scripts with execute permission 2012-06-15 17:05:45 -04:00
Brad King 68f30307f9 Generate plugin/gtmcrypt/source.tar 2012-06-15 16:48:15 -04:00
Brad King fb12b8cea8 Add missing sr_port/README.txt 2012-06-15 16:40:01 -04:00
Brad King 74043fef27 Merge branch 'hackathonjune2012-brad' of git://github.com/luisibanez/fis-gtm into hackathonjune2012-brad 2012-06-15 16:38:01 -04:00
Brad King ee88f30cea Create general sr_port/mumps.cmake to run mumps during build 2012-06-15 16:36:57 -04:00
Amul Shah 99862e2600 Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad 2012-06-15 16:34:54 -04:00
Amul Shah d99fcf3df0 encryption plugin directory layout 2012-06-15 16:34:48 -04:00
Brad King 8371effcd1 Install GDE*.o instead of GDE*.m 2012-06-15 16:26:42 -04:00
Brad King 43ee63fc02 Rename arch_path -> gt_src_list to look like comlist.mk 2012-06-15 15:53:45 -04:00
Brad King 22172198eb Add legal header notice template 2012-06-15 15:53:10 -04:00
Amul Shah b399a968eb Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad 2012-06-15 15:36:24 -04:00
Amul Shah 064dd73584 README.txt 2012-06-15 15:36:19 -04:00
Brad King 4a0fcae506 Teach link rules to depend on export files 2012-06-15 15:35:48 -04:00
Amul Shah 53296b3d8c Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad 2012-06-15 15:29:52 -04:00
Amul Shah 17aba6c8eb add more files for the install 2012-06-15 15:29:47 -04:00
Brad King 69f65cac9f Generate gtm(exe|shr)_symbols.export 2012-06-15 15:24:09 -04:00
Brad King 9bb446f882 Install to versioned directory under prefix 2012-06-15 15:06:59 -04:00
Amul Shah d6e605d40b correct dependencies
remove non-install mumps files
2012-06-15 14:58:08 -04:00
Amul Shah a6ecf365b8 mumps depends on libgtmshr
ttt and msg depend on their cmake files

add gtmroutines to ttt and msg cmake files

make libgtmshr and libgtmcrypt MODULES from SHARED
2012-06-15 14:45:20 -04:00
Amul Shah e472111dae Merge branch 'hackathonjune2012-brad' of 10.113.71.21:/home/shaha/fis-gtm into hackathonjune2012-brad 2012-06-15 14:15:51 -04:00
Amul Shah a7b72f0a05 ENH: all of the excluded files have been deleted, except for sr_unix/dtgbldir.c 2012-06-15 14:15:44 -04:00
Amul Shah f3945e7197 Remove files deleted from V5.5-000 sources 2012-06-15 14:09:55 -04:00
Amul Shah 02a7dfbb97 Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad 2012-06-15 14:09:27 -04:00
Amul Shah e7f480d540 ENH: Use <> instead of quotation marks for header includes
The following header files are present multiple times in the directories
list.
	rtnhdr.h        sr_unix sr_unix_nsb
	zbreaksp.h      sr_unix sr_i386
	emit_code.h     sr_port sr_i386
	auto_zlink.h    sr_unix sr_i386
	obj_filesp.h    sr_unix sr_unix_nsb
	opcode_def.h    sr_port sr_unix_nsb

This over lap meant that a #include "header.h" chose the header in the
same directory as a C file instead of the one listed in the compile line
include directory listing.
2012-06-15 13:29:37 -04:00
Brad King ccecb425d6 WIP: Generate ttt.c with gtm 2012-06-15 11:52:10 -04:00
Brad King f061fe0c88 Remove leftover link reference comments 2012-06-15 11:25:41 -04:00