1 ###############################################################################
2 # Copyright (c) 2000-2015 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
8 # Makefile for the license generator program
10 include ..
/Makefile.cfg
12 MYSQL_DIR
:= /mnt
/TTCN
/Tools
/mysql-5.0
.41-solaris8-sparc
13 TARGET_DIR
:= /mnt
/TTCN
/license
15 CPPFLAGS
+= -I
$(OPENSSL_DIR
)/include -I
$(MYSQL_DIR
)/include
17 SOLARIS_LIBS
:= -lsocket
-lnsl
-lm
-lz
18 SOLARIS8_LIBS
:= -lsocket
-lnsl
-lm
-lz
23 SOURCES
:= license_gen.c
24 DEPFILES
:= $(patsubst %.
cc,%.d
,$(patsubst %.c
,%.d
,$(SOURCES
)))
25 COMMON_OBJECTS
:= ..
/common
/license.o ..
/common
/memory.o
26 OBJECTS
:= $(patsubst %.
cc,%.o
,$(patsubst %.c
,%.o
,$(SOURCES
))) $(COMMON_OBJECTS
)
27 TARGETS
:= license_gen
$(EXESUFFIX
)
29 license_gen
$(EXESUFFIX
): $(OBJECTS
)
30 $(CC
) -o
$@
$(OBJECTS
) $(MYSQL_DIR
)/lib
/libmysqlclient.a \
31 $(OPENSSL_DIR
)/lib
/libcrypto.a
$($(PLATFORM
)_LIBS
)
36 cp
$(TARGETS
) $(TARGET_DIR
)
37 chmod
710 $(TARGET_DIR
)/license_gen
$(EXESUFFIX
)
38 chmod u
+s
$(TARGET_DIR
)/license_gen
$(EXESUFFIX
)
40 include ..
/Makefile.genrules
This page took 0.193422 seconds and 5 git commands to generate.