Commit 95ffdaad authored by balaskoa's avatar balaskoa
Browse files

e2c migration update in licensegen 2.


Signed-off-by: default avatarbalaskoa <Jeno.Balasko@ericsson.com>
Change-Id: I64b88ce20bb1ca8860ba50a3806882e3b002ad14
parent b42e5f87
......@@ -15,16 +15,21 @@
##############################################################################
# Makefile for the license generator program
TOP := ..
include ../Makefile.cfg
MYSQL_DIR := /mnt/TTCN/Tools/mysql-5.0.41-solaris8-sparc
TARGET_DIR := /mnt/TTCN/license
#valid on on $TITAN7, RHEL7 :
MYSQL_DIR := /app/vbuild/RHEL7-x86_64/mysql/5.5.30/
#valid on on $TITAN7, RHEL7 :
OPENSSL_DIR := /local/home/titanrt/tools/openssl
TARGET_DIR := /proj/ttcn3titan/license
CPPFLAGS += -I$(OPENSSL_DIR)/include -I$(MYSQL_DIR)/include
SOLARIS_LIBS := -lsocket -lnsl -lm -lz
SOLARIS8_LIBS := -lsocket -lnsl -lm -lz
LINUX_LIBS :=
LINUX_LIBS := -lpthread -lz -lm -lrt -ldl #-lnsl
FREEBSD_LIBS :=
WIN32_LIBS :=
......@@ -35,7 +40,7 @@ OBJECTS := $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(SOURCES))) $(COMMON_OBJECTS)
TARGETS := license_gen$(EXESUFFIX)
license_gen$(EXESUFFIX): $(OBJECTS)
$(CC) -o $@ $(OBJECTS) $(MYSQL_DIR)/lib/libmysqlclient.a \
$(CC) -o $@ $(OBJECTS) -L$(MYSQL_DIR)/lib -lmysqlclient \
$(OPENSSL_DIR)/lib/libcrypto.a $($(PLATFORM)_LIBS)
chmod g+w $(TARGETS)
......
......@@ -10,9 +10,10 @@
# Gecse, Roland
#
##############################################################################
GCC_DIR=/mnt/TTCN/Tools/gcc-4.1.1-sol8
GCC_DIR=/usr/
CGIC_DIR=/mnt/TTCN/Tools/cgic205-gcc3.0.4-sol8
MYSQL_DIR=/mnt/TTCN/Tools/mysql-standard-4.1.22-sun-solaris2.8-sparc
#valid on on $TITAN7, RHEL7 :
MYSQL_DIR := /app/vbuild/RHEL7-x86_64/mysql/5.5.30/
CC=${GCC_DIR}/bin/gcc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment