Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
34ee3321
Unverified
Commit
34ee3321
authored
Dec 15, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update makefile, to match debian
parent
6e433ae7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
GNUmakefile.in
+12
-9
No files found.
GNUmakefile.in
View file @
34ee3321
...
...
@@ -28,24 +28,27 @@
firstTarget
:
all
CXX
=
@CXX@
CXXFLAGS
=
@CXXFLAGS@ @BOOST_CPPFLAGS@
CXXFLAGS
=
@C
PPFLAGS@ @C
XXFLAGS@ @BOOST_CPPFLAGS@
LDFLAGS
=
@LDFLAGS@ @LIBS@ @BOOST_LDFLAGS@
LIBS
=
@LIBS@
\
-latomic
\
@BOOST_IOSTREAMS_LIB@
\
@BOOST_DATE_TIME_LIB@
prefix
=
@prefix@
prefix
=
$(DESTDIR)
@prefix@
exec_prefix
=
@exec_prefix@
libdir
=
@libdir@
includedir
=
@includedir@
datarootdir
=
@datarootdir@
datadir
=
@datadir@
docdir
=
@docdir@
pkgconfigdir
=
$(libdir)
/pkgconfig
CCP4DIR
=
@CCP4@
CLIBD
=
$
(
CCP4DIR:%
=
%/lib/data
)
CACHE_DIR
=
/var/cache/libcifpp
CACHE_DIR
=
$(DESTDIR)
/var/cache/libcifpp
CRON_DIR
=
$(DESTDIR)
/etc/cron.weekly
DEFINES
+=
CACHE_DIR
=
'"
$(CACHE_DIR)
"'
...
...
@@ -85,9 +88,6 @@ CXXFLAGS += -Wall -Wno-multichar -I include
# Use the DEBUG flag to build debug versions of the code
DEBUG
=
@DEBUG@
USE_RSRC
=
@USE_RSRC@
DEFINES
+=
USE_RSRC
=
$(USE_RSRC)
ifeq
"$(DEBUG)"
"1"
DEFINES
+=
DEBUG
CXXFLAGS
+=
-g
-O0
...
...
@@ -141,7 +141,7 @@ endif
# We have development releases and official releases, for each we
# maintain different versioning schemes.
ifeq
"x@UPDATE_REVISION@"
"x"
if
n
eq
"x@UPDATE_REVISION@"
"x"
REVISION
=
$(
shell
git log
--pretty
=
format:%h
--max-count
=
1
)
REVISION_FILE
=
version-info-
$(REVISION)
.txt
...
...
@@ -248,10 +248,13 @@ HEADERS = \
install
:
lib
install
-d
$(libdir)
$(LIBTOOL)
--mode
=
install install
$(LIB_TARGET)
$(libdir)
install
-d
$(
CACHE_DIR)
install
-d
$(
datadir)
/libcifpp
for
d
in
isomers.txt dictionaries/mmcif_ddl.dic dictionaries/mmcif_pdbx_v50.dic
;
do
\
install
-m644
rsrc/
$$
d
$(
CACHE_DIR)
/
;
\
install
-m644
rsrc/
$$
d
$(
datadir)
/libcifpp
;
\
done
gzip
$(datadir)
/libcifpp/
*
install
-d
$(CRON_DIR)
install
-m755
tools/update-dictionaries-script
$(CRON_DIR)
/libcifpp
install
-d
$(includedir)
/cif++
for
f
in
$(HEADERS)
;
do
install include/cif++/
$$
f
$(includedir)
/cif++/
$$
f
;
done
install
-d
$(pkgconfigdir)
...
...
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