Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opus
Commits
b6512b44
Commit
b6512b44
authored
12 years ago
by
Ron
Browse files
Options
Downloads
Patches
Plain Diff
Enable building just the library (or just the docs)
Both are still built and installed by default though.
parent
b2b0391e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.am
+37
-3
37 additions, 3 deletions
Makefile.am
with
37 additions
and
3 deletions
Makefile.am
+
37
−
3
View file @
b6512b44
...
...
@@ -2,8 +2,6 @@ AUTOMAKE_OPTIONS = subdir-objects
lib_LTLIBRARIES
=
libopus.la
SUBDIRS
=
.
doc
INCLUDES
=
-I
$(
top_srcdir
)
/include
-I
$(
top_srcdir
)
/celt
-I
$(
top_srcdir
)
/silk
-I
$(
top_srcdir
)
/silk/float
-I
$(
top_srcdir
)
/silk/fixed
include
celt_sources.mk
...
...
@@ -81,7 +79,43 @@ opus_custom_demo_SOURCES = celt/opus_custom_demo.c
opus_custom_demo_LDADD
=
libopus.la
-lm
endif
EXTRA_DIST
=
opus.pc.in opus-uninstalled.pc.in
EXTRA_DIST
=
opus.pc.in opus-uninstalled.pc.in
doc
pkgconfigdir
=
$(
libdir
)
/pkgconfig
pkgconfig_DATA
=
opus.pc
# Targets to build and install just the library without the docs
opus check-opus install-opus
:
export NO_DOXYGEN = 1
opus
:
all
check-opus
:
check
install-opus
:
install
# Or just the docs
docs
:
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc
install-docs
:
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc
install
# Or everything (by default)
all-local
:
@
[
-n
"
$(
NO_DOXYGEN
)
"
]
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc
install-data-local
:
@
[
-n
"
$(
NO_DOXYGEN
)
"
]
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc
install
clean-local
:
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc clean
distclean-local
:
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc distclean
uninstall-local
:
$(
MAKE
)
$(
AM_MAKEFLAGS
)
-C
doc uninstall
.PHONY
:
opus check-opus install-opus docs install-docs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment