Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
110
Issues
110
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura
Commits
1f286ebc
Commit
1f286ebc
authored
May 30, 2014
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build synctex_parser
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
fd63371f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
Makefile
Makefile
+10
-3
config.mk
config.mk
+5
-2
No files found.
Makefile
View file @
1f286ebc
...
...
@@ -4,8 +4,8 @@ include config.mk
include
colors.mk
include
common.mk
OSOURCE
=
$(
filter-out
css-definitions.c,
$(
filter-out
dbus-interface-definitions.c,
$(
wildcard
*
.c
)))
HEADER
=
$(
wildcard
*
.h
)
OSOURCE
=
$(
filter-out
css-definitions.c,
$(
filter-out
dbus-interface-definitions.c,
$(
wildcard
*
.c
)))
$(
wildcard
synctex/
*
.c
)
HEADER
=
$(
wildcard
*
.h
)
$(
wildcard
synctex/
*
.h
)
HEADERINST
=
version.h document.h macros.h page.h types.h plugin-api.h links.h
ifneq
(${WITH_SQLITE},0)
...
...
@@ -36,6 +36,13 @@ endif
ifeq
(,$(findstring -DLOCALEDIR,${CPPFLAGS}))
CPPFLAGS
+=
-DLOCALEDIR
=
\"
${LOCALEDIR}
\"
endif
ifeq
(,$(findstring -Isynctex,${CPPFLAGS}))
CPPFLAGS
+=
-Isynctex
endif
ifeq
(,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS
+=
-DSYNCTEX_VERBOSE
=
0
endif
OBJECTS
=
$(
patsubst
%.c, %.o,
$(SOURCE)
)
dbus-interface-definitions.o css-definitions.o
DOBJECTS
=
$(
patsubst
%.o, %.do,
$(OBJECTS)
)
...
...
@@ -83,7 +90,7 @@ css-definitions.c: data/zathura.css_t
%.o
:
%.c
$(
call
colorecho,CC,
$<
)
$(QUIET)
mkdir
-p
.depend
$(QUIET)
mkdir
-p
$(
shell
dirname
.depend/
$@
.dep
)
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
-o
$@
$<
-MMD
-MF
.depend/
$@
.dep
%.do
:
%.c
...
...
config.mk
View file @
1f286ebc
...
...
@@ -77,8 +77,11 @@ MAGIC_INC ?=
MAGIC_LIB
?=
-lmagic
endif
INCS
=
${GIRARA_INC}
${GTK_INC}
${GTHREAD_INC}
${GMODULE_INC}
${GLIB_INC}
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${GTHREAD_LIB}
${GMODULE_LIB}
${GLIB_LIB}
-lpthread
-lm
ZLIB_INC
?=
$(
shell
pkg-config
--cflags
zlib
)
ZLIB_LIB
?=
$(
shell
pkg-config
--libs
zlib
)
INCS
=
${GIRARA_INC}
${GTK_INC}
${GTHREAD_INC}
${GMODULE_INC}
${GLIB_INC}
$(ZLIB_INC)
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${GTHREAD_LIB}
${GMODULE_LIB}
${GLIB_LIB}
$(ZLIB_LIB)
-lpthread
-lm
# flags
CFLAGS
+=
-std
=
c99
-pedantic
-Wall
-Wno-format-zero-length
-Wextra
$(INCS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment