kpmpgsmkii/server/server.pro

101 lines
2.2 KiB
Prolog

#
# Kangaroo Punch MultiPlayer Game Server Mark II
# Copyright (C) 2020-2021 Scott Duensing
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
TEMPLATE = app
CONFIG -= qt
CONFIG += \
console \
c11
DESTDIR = $$OUT_PWD/bin
SHARED = $$PWD/../shared
DEFINES *= SERVER
INCLUDEPATH += \
/usr/include/mariadb \
/usr/include/mariadb/mysql \
$$SHARED \
$$PWD/src
HEADERS = \
$$SHARED/stddclmr.h \
$$SHARED/thirdparty/stb_ds.h \
$$SHARED/thirdparty/memwatch/memwatch.h \
$$SHARED/thirdparty/ini/src/ini.h \
$$SHARED/thirdparty/enet/include/enet.h \
$$SHARED/array.h \
$$SHARED/log.h \
$$SHARED/memory.h \
$$SHARED/util.h \
$$SHARED/primes.h \
$$SHARED/packet.h \
$$SHARED/packets.h \
$$SHARED/thirdparty/tiny-AES-c/aes.h \
$$SHARED/thirdparty/tiny-AES128-C/pkcs7_padding.h \
src/client.h \
src/client/file.h \
src/client/login.h \
src/client/pong.h \
src/client/shutdown.h \
src/client/signup.h \
src/client/version.h \
src/console.h \
src/network.h \
src/os.h \
src/rest.h \
src/database.h \
src/server.h
SOURCES = \
$$SHARED/thirdparty/memwatch/memwatch.c \
$$SHARED/thirdparty/ini/src/ini.c \
$$SHARED/array.c \
$$SHARED/log.c \
$$SHARED/memory.c \
$$SHARED/util.c \
$$SHARED/packet.c \
$$SHARED/thirdparty/tiny-AES-c/aes.c \
$$SHARED/thirdparty/tiny-AES128-C/pkcs7_padding.c \
src/client.c \
src/client/file.c \
src/client/login.c \
src/client/pong.c \
src/client/shutdown.c \
src/client/signup.c \
src/client/version.c \
src/console.c \
src/main.c \
src/network.c \
src/rest.c \
src/database.c \
src/server.c
LIBS = \
-L/usr/lib/x86_64-linux-gnu/ \
-ldl \
-lm \
-lmariadb \
-lpthread \
-lgnutls \
-lcrypt \
-lcurl \
-ljson-c
OTHER_FILES =