Commit b7255716 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Changed include path for qt to remove gtk/motif include files.

parent 87910e91
...@@ -126,14 +126,14 @@ log_done = ...@@ -126,14 +126,14 @@ log_done =
#cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) -I/usr/X11R6/include -I$(jdk)/include -I$(jdk)/include/linux \ #cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) -I/usr/X11R6/include -I$(jdk)/include -I$(jdk)/include/linux \
`pkg-config --cflags gtk+-2.0` -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" $(cmysql) $(cgtk) $(clibusb) `pkg-config --cflags gtk+-2.0` -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" $(cmysql) $(cgtk) $(clibusb)
csetos := $(pwre_conf_cc_define) csetos := $(pwre_conf_cc_define)
ifeq ($(flavour),qt) ifeq ($(pwre_conf_qt),1)
cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirqt) $(pwre_conf_incdirgtk) $(pwre_conf_incdirgst) cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirqt)
else else
cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirgtk) $(pwre_conf_incdirgst) cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirgtk) $(pwre_conf_incdirgst)
endif endif
rm := rm rm := rm
cp := cp cp := cp
cpflags := cpflags :=
arflags := r arflags := r
obj := -c -o $(target) obj := -c -o $(target)
lex := flex lex := flex
...@@ -177,7 +177,7 @@ endif ...@@ -177,7 +177,7 @@ endif
#docbook-related, added by jonas_h 2006-04-nn #docbook-related, added by jonas_h 2006-04-nn
#xsltproc := xsltproc #xsltproc := xsltproc
#fop := fop #fop := fop
#above is a symlink from /usr/local/bin/fop -> /usr/local/fop-0.92beta/fop #above is a symlink from /usr/local/bin/fop -> /usr/local/fop-0.92beta/fop
#xsltproc_args := --xinclude #xsltproc_args := --xinclude
...@@ -198,11 +198,11 @@ endif ...@@ -198,11 +198,11 @@ endif
map = $(bld_dir)/$(tname)$(map_ext) map = $(bld_dir)/$(tname)$(map_ext)
mkdir := mkdir mkdir := mkdir
# Set to /buildversion for frozen dbs versions # Set to /buildversion for frozen dbs versions
wblflags := wblflags :=
warnings := -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-missing-field-initializers warnings := -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-missing-field-initializers
ifeq ($(pwre_btype),rls) ifeq ($(pwre_btype),rls)
cflags := $(cross_compile) -c -O3 -D_GNU_SOURCE -DPWR_NDEBUG -D_REENTRANT -fPIC $(warnings) cflags := $(cross_compile) -c -O3 -D_GNU_SOURCE -DPWR_NDEBUG -D_REENTRANT -fPIC $(warnings)
linkflags := $(cross_compile) -O3 -L$(lib_dir) linkflags := $(cross_compile) -O3 -L$(lib_dir)
elinkflags := $(cross_compile) -O3 -L$(lib_dir) -L$(elib_dir) elinkflags := $(cross_compile) -O3 -L$(lib_dir) -L$(elib_dir)
......
...@@ -125,14 +125,14 @@ log_done = ...@@ -125,14 +125,14 @@ log_done =
#cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) -I/usr/X11R6/include -I$(jdk)/include -I$(jdk)/include/linux \ #cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) -I/usr/X11R6/include -I$(jdk)/include -I$(jdk)/include/linux \
`pkg-config --cflags gtk+-2.0` -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" $(cmysql) $(cgtk) $(clibusb) `pkg-config --cflags gtk+-2.0` -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" $(cmysql) $(cgtk) $(clibusb)
csetos := $(pwre_conf_cc_define) csetos := $(pwre_conf_cc_define)
ifeq ($(flavour),qt) ifeq ($(pwre_conf_qt),1)
cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirqt) cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirqt)
else else
cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirgtk) $(pwre_conf_incdirgst) cinc := -I$(inc_dir) -I$(einc_dir) -I$(hw_source) -I$(os_source) -I$(co_source) $(pwre_conf_incdir) $(pwre_conf_incdirgtk) $(pwre_conf_incdirgst)
endif endif
rm := rm rm := rm
cp := cp cp := cp
cpflags := cpflags :=
arflags := r arflags := r
obj := -c -o $(target) obj := -c -o $(target)
lex := flex lex := flex
...@@ -176,7 +176,7 @@ endif ...@@ -176,7 +176,7 @@ endif
#docbook-related, added by jonas_h 2006-04-nn #docbook-related, added by jonas_h 2006-04-nn
#xsltproc := xsltproc #xsltproc := xsltproc
#fop := fop #fop := fop
#above is a symlink from /usr/local/bin/fop -> /usr/local/fop-0.92beta/fop #above is a symlink from /usr/local/bin/fop -> /usr/local/fop-0.92beta/fop
#xsltproc_args := --xinclude #xsltproc_args := --xinclude
...@@ -197,29 +197,26 @@ endif ...@@ -197,29 +197,26 @@ endif
map = $(bld_dir)/$(tname)$(map_ext) map = $(bld_dir)/$(tname)$(map_ext)
mkdir := mkdir mkdir := mkdir
# Set to /buildversion for frozen dbs versions # Set to /buildversion for frozen dbs versions
wblflags := wblflags :=
ifeq ($(pwre_btype),rls) warnings := -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-missing-field-initializers
cflags := -c -O3 -D_GNU_SOURCE -DPWR_NDEBUG -D_REENTRANT -fPIC -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-narrowing
cxxflags := $(cflags) ifeq ($(pwre_btype),rls)
linkflags := -O3 -L$(lib_dir) cflags := $(cross_compile) -c -O3 -D_GNU_SOURCE -DPWR_NDEBUG -D_REENTRANT -fPIC $(warnings)
elinkflags := -O3 -L$(lib_dir) -L$(elib_dir) linkflags := $(cross_compile) -O3 -L$(lib_dir)
explinkflags := -g -L$(elib_dir) elinkflags := $(cross_compile) -O3 -L$(lib_dir) -L$(elib_dir)
clis = /lis=$(list)
dolist = /lis=$(list)
domap = -Xlinker -Map -Xlinker $(map)
else else
cflags := -c -g -Wall -D_GNU_SOURCE -D_REENTRANT -fPIC -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-narrowing cflags := $(cross_compile) -c -g -D_GNU_SOURCE -D_REENTRANT -fPIC $(warnings)
cxxflags := $(cflags) -Wno-deprecated linkflags := $(cross_compile) -g -L$(lib_dir)
mmflags := -Wno-deprecated elinkflags := $(cross_compile) -g -L$(lib_dir) -L$(elib_dir)
linkflags := -g -L$(lib_dir)
elinkflags := -g -L$(lib_dir) -L$(elib_dir)
explinkflags := -g -L$(elib_dir)
dolist = /lis=$(list)
clis :=
domap = -Xlinker -Map -Xlinker $(map)
endif endif
explinkflags := $(cross_compile) -g -L$(elib_dir)
cxxflags := $(cflags)
clis = /lis=$(list)
dolist = /lis=$(list)
domap = -Xlinker -Map -Xlinker $(map)
log_h_h = echo "Exporting $<" log_h_h = echo "Exporting $<"
log_x_h = echo "Exporting $< to $(notdir $@)" log_x_h = echo "Exporting $< to $(notdir $@)"
log_l_obj = echo "Compiling $<" log_l_obj = echo "Compiling $<"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment