mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2025-03-11 16:58:29 +03:00
buildsystem fixups
This commit is contained in:
parent
5d2f691159
commit
f6943f4bac
6
Makefile
6
Makefile
@ -14,13 +14,17 @@ PROGRAMS=spiceterm
|
||||
HEADERS=translations.h event_loop.h glyphs.h spiceterm.h keysyms.h
|
||||
SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c
|
||||
|
||||
PKGS := glib-2.0 gthread-2.0 spice-protocol spice-server libsasl2
|
||||
CFLAGS += `pkg-config --cflags $(PKGS)`
|
||||
LIBS += `pkg-config --libs $(PKGS)`
|
||||
|
||||
#export G_MESSAGES_DEBUG=all
|
||||
#export SPICE_DEBUG=1
|
||||
|
||||
all: ${PROGRAMS}
|
||||
|
||||
spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
|
||||
gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2)
|
||||
gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 $(CFLAGS) -o $@ -lutil $(LIBS)
|
||||
|
||||
genfont: genfont.c
|
||||
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -2,7 +2,7 @@ Source: spiceterm
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||
Build-Depends: debhelper (>= 8.0.0)
|
||||
Build-Depends: debhelper (>= 8.0.0), libglib2.0-dev, libsasl2-dev, libspice-protocol-dev, pve-libspice-server-dev
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
Package: spiceterm
|
||||
|
Loading…
x
Reference in New Issue
Block a user