forked from isis-project/BrowserAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.Ubuntu
41 lines (32 loc) · 992 Bytes
/
Makefile.Ubuntu
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
BUILD_TYPE ?= debug
PLATFORM := x86
STAGING_INC_DIR := $(LUNA_STAGING)/include
STAGING_LIB_DIR := $(LUNA_STAGING)/lib
INCLUDES := -I$(STAGING_INC_DIR) -I$(STAGING_INC_DIR)/Yap
LIBS := -L$(STAGING_LIB_DIR) -lYap -lAdapterBase
INCLUDES += \
-I$(LUNA_STAGING)/include/webkit/npapi \
-I$(LUNA_STAGING)/usr/include \
-I$(QT_INSTALL_PREFIX)/include/ \
-I$(QT_INSTALL_PREFIX)/include/Qt \
-I$(QT_INSTALL_PREFIX)/include/QtCore \
-I$(QT_INSTALL_PREFIX)/include/QtGui \
-I$(QT_INSTALL_PREFIX)/include/QtNetwork
LIBS += \
-L$(LUNA_STAGING)/lib \
-Wl,-rpath $(LUNA_STAGING)/lib \
-L$(LUNA_STAGING)/usr/lib \
-Wl,-rpath $(LUNA_STAGING)/usr/lib \
-L$(QT_INSTALL_PREFIX)/lib \
-lQtGui \
-lQtNetwork \
-lQtCore
LOCAL_CFLAGS += -DISIS_DESKTOP
include Makefile.inc
install: all
@mkdir -p $(LUNA_STAGING)/lib/BrowserPlugins
install -m 0755 $(TARGET_SO) $(LUNA_STAGING)/lib/BrowserPlugins
deb:
dpkg-buildpackage -rfakeroot
.PHONY: stage
stage: install