File: skulpture.pro

package info (click to toggle)
qxgedit 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,604 kB
  • sloc: cpp: 21,110; makefile: 97; xml: 40; sh: 6
file content (63 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# skulpture.pro
#
NAME = skulpturestyle

TARGET = $${NAME}
TEMPLATE = lib
CONFIG	+= shared plugin

include(skulpture.pri)

HEADERS	+= \
	sk_factory.h \
	skulpture_p.h \
	skulpture.h

SOURCES	+= skulpture.cpp

!lessThan(QT_MAJOR_VERSION, 5) {
	HEADERS	+= sk_plugin.h
	OTHER_FILES += skulpture.json
	QT += widgets
}


unix {

	# variables
	OBJECTS_DIR = .obj
	MOC_DIR     = .moc
	UI_DIR      = .ui

	isEmpty(PREFIX) {
		PREFIX = /usr/local
	}

	isEmpty(LIBDIR) {
		TARGET_ARCH = $$system(uname -m)
		contains(TARGET_ARCH, x86_64) {
			LIBDIR = $${PREFIX}/lib/$(DEB_HOST_MULTIARCH)
		} else {
			LIBDIR = $${PREFIX}/lib/$(DEB_HOST_MULTIARCH)
		}
	}

	lessThan(QT_MAJOR_VERSION, 5) {
		TARGET_PATH = $${LIBDIR}/qt4/plugins/styles
	} else {
		TARGET_PATH = $${LIBDIR}/qt5/plugins/styles
	}

	isEmpty(QMAKE_EXTENSION_SHLIB) {
		QMAKE_EXTENSION_SHLIB = so
	}

	TARGET_FILES = lib$${TARGET}.$${QMAKE_EXTENSION_SHLIB}

	INSTALLS += target

	target.path  = $${TARGET_PATH}
	target.files = $${TARGET_FILES}

	QMAKE_CLEAN += $${TARGET_FILES}
}