c++/sql-dk/nbproject/Makefile-Release.mk
author František Kučera <franta-hg@frantovo.cz>
Tue, 26 Feb 2019 18:19:49 +0100
branchv_0
changeset 236 a3ec71fa8e17
parent 230 8bae71482622
permissions -rw-r--r--
Avoid reusing/rewriting the DB connection properties.
There was weird random errors while testing connection to multiple DB in parallel when one of them was meta connection to same DB connection.
Two kinds of exception: 1) missing password 2) „Passing DB password as CLI parameter is insecure!“
franta-hg@230
     1
#
franta-hg@230
     2
# Generated Makefile - do not edit!
franta-hg@230
     3
#
franta-hg@230
     4
# Edit the Makefile in the project folder instead (../Makefile). Each target
franta-hg@230
     5
# has a -pre and a -post target defined where you can add customized code.
franta-hg@230
     6
#
franta-hg@230
     7
# This makefile implements configuration specific macros and targets.
franta-hg@230
     8
franta-hg@230
     9
franta-hg@230
    10
# Environment
franta-hg@230
    11
MKDIR=mkdir
franta-hg@230
    12
CP=cp
franta-hg@230
    13
GREP=grep
franta-hg@230
    14
NM=nm
franta-hg@230
    15
CCADMIN=CCadmin
franta-hg@230
    16
RANLIB=ranlib
franta-hg@230
    17
CC=gcc
franta-hg@230
    18
CCC=g++
franta-hg@230
    19
CXX=g++
franta-hg@230
    20
FC=gfortran
franta-hg@230
    21
AS=as
franta-hg@230
    22
franta-hg@230
    23
# Macros
franta-hg@230
    24
CND_PLATFORM=GNU-Linux
franta-hg@230
    25
CND_DLIB_EXT=so
franta-hg@230
    26
CND_CONF=Release
franta-hg@230
    27
CND_DISTDIR=dist
franta-hg@230
    28
CND_BUILDDIR=build
franta-hg@230
    29
franta-hg@230
    30
# Include project Makefile
franta-hg@230
    31
include Makefile
franta-hg@230
    32
franta-hg@230
    33
# Object Directory
franta-hg@230
    34
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
franta-hg@230
    35
franta-hg@230
    36
# Object Files
franta-hg@230
    37
OBJECTFILES= \
franta-hg@230
    38
	${OBJECTDIR}/CLIStarter.o
franta-hg@230
    39
franta-hg@230
    40
franta-hg@230
    41
# C Compiler Flags
franta-hg@230
    42
CFLAGS=
franta-hg@230
    43
franta-hg@230
    44
# CC Compiler Flags
franta-hg@230
    45
CCFLAGS=
franta-hg@230
    46
CXXFLAGS=
franta-hg@230
    47
franta-hg@230
    48
# Fortran Compiler Flags
franta-hg@230
    49
FFLAGS=
franta-hg@230
    50
franta-hg@230
    51
# Assembler Flags
franta-hg@230
    52
ASFLAGS=
franta-hg@230
    53
franta-hg@230
    54
# Link Libraries and Options
franta-hg@230
    55
LDLIBSOPTIONS=
franta-hg@230
    56
franta-hg@230
    57
# Build Targets
franta-hg@230
    58
.build-conf: ${BUILD_SUBPROJECTS}
franta-hg@230
    59
	"${MAKE}"  -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/sql-dk
franta-hg@230
    60
franta-hg@230
    61
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/sql-dk: ${OBJECTFILES}
franta-hg@230
    62
	${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
franta-hg@230
    63
	${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/sql-dk ${OBJECTFILES} ${LDLIBSOPTIONS}
franta-hg@230
    64
franta-hg@230
    65
${OBJECTDIR}/CLIStarter.o: CLIStarter.cpp
franta-hg@230
    66
	${MKDIR} -p ${OBJECTDIR}
franta-hg@230
    67
	${RM} "$@.d"
franta-hg@230
    68
	$(COMPILE.cc) -O2 -std=c++14 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/CLIStarter.o CLIStarter.cpp
franta-hg@230
    69
franta-hg@230
    70
# Subprojects
franta-hg@230
    71
.build-subprojects:
franta-hg@230
    72
franta-hg@230
    73
# Clean Targets
franta-hg@230
    74
.clean-conf: ${CLEAN_SUBPROJECTS}
franta-hg@230
    75
	${RM} -r ${CND_BUILDDIR}/${CND_CONF}
franta-hg@230
    76
franta-hg@230
    77
# Subprojects
franta-hg@230
    78
.clean-subprojects:
franta-hg@230
    79
franta-hg@230
    80
# Enable dependency checking
franta-hg@230
    81
.dep.inc: .depcheck-impl
franta-hg@230
    82
franta-hg@230
    83
include .dep.inc