Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v2.4.0 kh22 rf #2

Open
wants to merge 345 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
345 commits
Select commit Hold shift + click to select a range
3b04a78
fix possible bad deref in m3u builder
karlheyes Jan 15, 2023
4629a88
minor change, non-functional
karlheyes Jan 17, 2023
f63fa1f
doc update for option
karlheyes Jan 17, 2023
5d231d4
doc update
karlheyes Jan 17, 2023
9616aa8
missed the connection header. Just for completeness
karlheyes Jan 17, 2023
60f754b
bump to kh17
karlheyes Jan 18, 2023
2cdc719
report from clang build needed cleaning up
karlheyes Jan 18, 2023
429920c
fix global http-headers, fixes #383
karlheyes Jan 18, 2023
6849c33
avoid processing, should be no functional change
karlheyes Jan 18, 2023
a77d624
small internal tidy up work in url processing
karlheyes Jan 19, 2023
6166f18
a bit more code tighening up for http handling
karlheyes Jan 19, 2023
2a72bda
code cleanup for error cases
karlheyes Jan 20, 2023
af13814
add wrapper for curl handle for exit handling
karlheyes Jan 20, 2023
5facb2a
make auth_url always build but get it to report missing curl
karlheyes Jan 20, 2023
f8bd30f
minor memleak and prevent extra code path for metadata with stream_auth
karlheyes Jan 21, 2023
f0a8864
auth fixes to avoid minor memory leak in certain cases
karlheyes Jan 22, 2023
6fb7cf6
avoid unwanted auth trigger event.
karlheyes Jan 24, 2023
970745c
extend on http work to handle POST options.
karlheyes Jan 24, 2023
e2d64cd
clean up buffer block handling in relation to the http code
karlheyes Jan 24, 2023
c739157
avoid possible hang case
karlheyes Jan 24, 2023
314fba0
Use POST fields builder and rework some of the callback routine
karlheyes Jan 24, 2023
ae2b11c
set the initial time correctly for rechecking hosts
karlheyes Jan 24, 2023
43a3b30
intermediate release
karlheyes Jan 24, 2023
28e6af2
remove old lines
karlheyes Jan 25, 2023
2865e7f
cleanup any response body on failed relay connection attempt
karlheyes Jan 26, 2023
6ed67ed
guard against a null deref
karlheyes Jan 26, 2023
c345aa9
minor relay related cleanups
karlheyes Jan 28, 2023
3940f48
introduce the linger-for mount tag
karlheyes Jan 28, 2023
6768ffb
switchover code update
karlheyes Jan 28, 2023
8ebc2a3
plug a possible clients leak on non-blocking error case
karlheyes Jan 28, 2023
3111788
interim build
karlheyes Jan 28, 2023
4ec6cfa
handle very large tags when checking format
karlheyes Jan 29, 2023
00c5400
have source limit rate in bytes to make simpler in hot path
karlheyes Jan 29, 2023
889454f
skip over ID3 on speed throttled files like fallback
karlheyes Jan 29, 2023
c4f2f07
allow for file presence information to be returned to caller
karlheyes Jan 30, 2023
56daac0
fix global listener sync problem
karlheyes Jan 30, 2023
151451e
reduce the size of the read in buffer. can make speed regulation diff…
karlheyes Jan 30, 2023
9a7cabf
fix unintialised data being sent on listmounts request
karlheyes Jan 30, 2023
09a68bf
revert a commit for now, attempt to fix possible leak another way
karlheyes Jan 30, 2023
8e805e2
fixup metadata auth from the xml.
karlheyes Jan 31, 2023
0c8309d
avoid log message
karlheyes Jan 31, 2023
5ee3bbb
fix blank line check on memmem merge
karlheyes Jan 31, 2023
7ebabe6
detect http request on SC port and throw it back to http handler
karlheyes Jan 31, 2023
92f6bf0
http update for handling codes 1xx
karlheyes Feb 1, 2023
f72fa70
fix the header for the content disposition via xslt
karlheyes Feb 1, 2023
b885d1e
remove the duplication test for mime types
karlheyes Feb 1, 2023
b64cb91
build cleanup
karlheyes Feb 1, 2023
1f99e96
cut kh18
karlheyes Feb 2, 2023
334bdfc
need the start time to apply to all relays that startup not jusy on-d…
karlheyes Feb 3, 2023
d4903cb
use locking routine to get state. no functional change.
karlheyes Feb 3, 2023
670988c
fix speed assessment for fallback to file in certain cases
karlheyes Feb 3, 2023
3491bda
slave thread operational markers simplified
karlheyes Feb 4, 2023
8acf44e
provide a non-blocking path for stats purging
karlheyes Feb 4, 2023
8041e61
flush out some potention deadlock reporting
karlheyes Feb 4, 2023
94a123d
another set of potential deadlock removal issues.
karlheyes Feb 4, 2023
450bed0
server shutdown should avoid pointless work like setting up for fallback
karlheyes Feb 5, 2023
0030997
avoid lock inbalance on config lock
karlheyes Feb 5, 2023
87c4ff2
avoid null deref in auth cmd, should close #396
karlheyes Feb 5, 2023
5600d7c
ready to tag an update post kh18 to test things
karlheyes Feb 5, 2023
8437d48
shoutcast compat case fix.
karlheyes Feb 5, 2023
886dce6
shoutcast source client fixes
karlheyes Feb 6, 2023
27b7ce3
a small tweak for header setting and checking on relays
karlheyes Feb 6, 2023
8be463c
re-arrangement for parameter (http/post) code.
karlheyes Feb 12, 2023
cbea958
cleanup from previous commit.
karlheyes Feb 13, 2023
34bde85
typo type cleanup
karlheyes Feb 13, 2023
f1bc759
config parse update, can set a default tag assignment
karlheyes Feb 14, 2023
05bdc0f
xml parsing update
karlheyes Feb 18, 2023
bb87814
add fallback tag to mirror fallback-mount.
karlheyes Feb 18, 2023
5f006ba
avoid relay initialize failure case
karlheyes Feb 20, 2023
386f7f0
config parsing update
karlheyes Feb 24, 2023
13eee71
utilise sigaction over signal if present
karlheyes Feb 24, 2023
34cf8ef
reduce duplicate http header logging on reload
karlheyes Feb 25, 2023
aa22329
small type cleanup
karlheyes Feb 25, 2023
1ee8c2a
sync up work to a pre-release number
karlheyes Feb 25, 2023
088aaca
avoid 206 response if range works out to be 0, eg 0-
karlheyes Feb 27, 2023
853cf02
clean up for format structure when a relay is between offline
karlheyes Feb 27, 2023
f1151af
avoid incorrect warning message
karlheyes Feb 27, 2023
116d67d
fix missing state info in relay on xml reload
karlheyes Feb 28, 2023
403cb25
don't report these messages during detection phase
karlheyes Feb 28, 2023
6375a9f
tag another pre-release 18.3
karlheyes Feb 28, 2023
7687b6d
do relay start check in relay_initialise to avoid source setup
karlheyes Mar 1, 2023
e129103
reduce workload of relay shutdown at server exit
karlheyes Mar 3, 2023
f0eb586
when starting with a fallback file, the initialization was incomplete
karlheyes Mar 3, 2023
978c7b2
incorrect fix for relay shutdown on a previous commit
karlheyes Mar 5, 2023
2b68371
small rework for switchover handling
karlheyes Mar 5, 2023
b8a34a3
add hijack option on mount to allow replacment. not enabled by default
karlheyes Mar 5, 2023
f1fa3d3
stamp update for kh19
karlheyes Mar 5, 2023
cf8ae43
fix lock in-balance. a delete too far
karlheyes Mar 6, 2023
e331304
Avoid chunked transfers with relaying
karlheyes Mar 6, 2023
e75bb7c
up the internal limit of headers, 32 is high but this array is only s…
karlheyes Mar 6, 2023
5c7744a
minor xslt update
karlheyes Mar 7, 2023
86e9970
cleanup old code, we don't need to trigger the connection drop within…
karlheyes Mar 7, 2023
c7a2333
redo the fix from before on config lock
karlheyes Mar 7, 2023
b4ee50d
tag as kh20
karlheyes Mar 8, 2023
e225358
fix missing rate setting for fallback files.
karlheyes Mar 9, 2023
4931a6a
fix missing config unlock
karlheyes Mar 9, 2023
3773358
help with rwlock debug. not built in production.
karlheyes Mar 9, 2023
db54790
allow for setting some extra flags in logging
karlheyes Mar 9, 2023
9f55735
minor update to tighen up the code.
karlheyes Mar 11, 2023
ba4c0b0
add client to incoming worker if client is not already on one.
karlheyes Mar 11, 2023
a4fc638
add a wrapper for the string compare for filenames
karlheyes Mar 11, 2023
21ce5d3
xsl update. worker offloading
karlheyes Mar 11, 2023
f48b4ea
expand the add to incoming worker routine
karlheyes Mar 12, 2023
9d707af
avoid ACTIVE flag for yp client
karlheyes Mar 12, 2023
1f2a7ba
misc fixes
karlheyes Mar 12, 2023
103c546
fix for stale memory use case
karlheyes Mar 13, 2023
1daa9c7
active status changes.
karlheyes Mar 13, 2023
61e749e
build warning cleanups
karlheyes Mar 13, 2023
e6e3c1d
pre-release 20.2
karlheyes Mar 13, 2023
010264e
first cut
karlheyes Mar 17, 2023
dcc014b
update on worker processing of clients
karlheyes Mar 19, 2023
76662f9
update to xslt client handling.
karlheyes Mar 20, 2023
9d9431c
change kick off schedule for incoming client.
karlheyes Mar 20, 2023
d9ba2e9
stats update for switchover trigger
karlheyes Mar 20, 2023
9af8fd3
stats update on switchover handled better
karlheyes Mar 20, 2023
a059544
return correct return code or else the xsl cache could get full
karlheyes Mar 21, 2023
a06fbd0
cleanup some api oddities with figures passed for fallback handling
karlheyes Mar 21, 2023
748bc03
fserve client interaction with stats fixup
karlheyes Mar 21, 2023
b3e2941
cleanup, non-functional change
karlheyes Mar 21, 2023
ab3c830
build cleanup
karlheyes Mar 21, 2023
1fcb86b
setup pre-release 20.3
karlheyes Mar 21, 2023
7a2f309
add secondary routine for stats retrieval
karlheyes Mar 24, 2023
f25b8c5
missed flags setting and api routines for part of the the params code
karlheyes Mar 24, 2023
00dd5d4
yp processing fix.
karlheyes Mar 24, 2023
6d018b3
yp routines update
karlheyes Mar 24, 2023
842aac1
minor source cleanup, non-functional aspects
karlheyes Mar 24, 2023
e8ecd27
do not expire too quickly for fallback references
karlheyes Mar 24, 2023
e7cdf04
fixup handling for ogg flac
karlheyes Mar 24, 2023
dfeb759
fix possible data race triggered from stats handling
karlheyes Mar 25, 2023
cb6d450
avoid possible lock race issue raise with sanitize
karlheyes Mar 25, 2023
07496f6
update mount stats on a relay switchover eg higher priority host
karlheyes Mar 25, 2023
e8a507d
update pre-release kh20.4
karlheyes Mar 25, 2023
88da486
missed fix for ogg flac header playback
karlheyes Mar 26, 2023
eb92342
rework for flac streams
karlheyes Mar 27, 2023
b7166ac
the disposition on xsl was not translated
karlheyes Mar 27, 2023
485b38e
change where accumulated stats are performed
karlheyes Mar 28, 2023
3e5f01b
do a rename from win32 to windows
karlheyes Mar 30, 2023
d1782ff
drop the test for generating the hash
karlheyes Mar 30, 2023
e6ec840
top autoconf/make changes to improve build
karlheyes Mar 30, 2023
844a5c8
autofoo update. newer versions of the scripts
karlheyes Mar 30, 2023
0622279
fix v2.x shoutcast-compat flag setting in parsing older XML
karlheyes Apr 1, 2023
c04f412
extra check to avoid processing an empty struct
karlheyes Apr 5, 2023
5932a27
cosmetic cleanup on spacing consistency
karlheyes Apr 5, 2023
e614daf
xsl processing update
karlheyes Apr 5, 2023
88c7fc2
fix off by 1 error on failed xsl cache lookup
karlheyes Apr 5, 2023
9cd8ba7
introduce an admin level for xsl requests within the cache
karlheyes Apr 5, 2023
b61c643
on url update be consistent, check for format charset
karlheyes Apr 9, 2023
b26eaf3
drop the wakeup hook, not used now
karlheyes Apr 10, 2023
dd937ab
add limiter on client_t for reschedule on fast list
karlheyes Apr 10, 2023
efe54fb
relocate a listeners stat on relay close.
karlheyes Apr 11, 2023
c2b784c
avoid setting stats if relay client not actually started.
karlheyes Apr 11, 2023
081928c
2 cleanups on stats processing, one a race
karlheyes Apr 11, 2023
4f258fe
slight ordering change for charset, broke in kh17
karlheyes Apr 12, 2023
b6c239b
log internal change.
karlheyes Apr 13, 2023
4a27882
minor leak at shutdown
karlheyes Apr 13, 2023
86d13c7
fix missing lock on relay disabling
karlheyes Apr 13, 2023
e89fa73
small re-order of code for windows startup usage
karlheyes Apr 14, 2023
a120cf4
fix possible crash on shutdown in windows
karlheyes Apr 14, 2023
898ce3d
small rework for managerelays
karlheyes Apr 15, 2023
093568e
update NEWS
karlheyes Apr 15, 2023
15c8a17
update to kh21
karlheyes Apr 15, 2023
d1d13c8
add duplicate xml tag for kept lines in the logs
karlheyes Apr 17, 2023
c21521a
log contents not expanding timestamps
karlheyes Apr 17, 2023
1713f50
use gettimeofday if available, else fallback to time.
karlheyes Apr 17, 2023
781ec11
fix some bad stats referencing
karlheyes Apr 17, 2023
d36c3f7
remove old wake up trigger code
karlheyes Apr 17, 2023
d7db61c
unlikly to be an actual issue, but avoid uninitialised warnings
karlheyes Apr 21, 2023
fdee1e7
expand internal api between log/thread for debug
karlheyes Apr 21, 2023
f4084d9
avoid a few problem cases, lock races etc
karlheyes Apr 21, 2023
d990cd3
zero out on stats removal, may trigger segv on error case
karlheyes Apr 21, 2023
857857f
on-demand fixup.
karlheyes Apr 21, 2023
6bc0cf0
tidy up some locking on worker shutdown.
karlheyes Apr 21, 2023
b28cc11
fix incorrect stats removal bug.
karlheyes Apr 22, 2023
34d89c8
fix xslt failure case. non-crash but fails with 404
karlheyes Apr 24, 2023
c512f96
handle clients better on header timeout
karlheyes Apr 27, 2023
a53501d
small leak on shutdown fixed. slight reduction on retry
karlheyes Apr 28, 2023
a4bd70a
pull priority names out of log, set in logging.c
karlheyes Apr 22, 2023
f608176
relocate purge routine.
karlheyes Apr 22, 2023
2c6219f
provide callback into thread for handling rwlocks
karlheyes Apr 25, 2023
6f631be
allow for more precise timestamp for logging
karlheyes Apr 25, 2023
17f11de
missing length header in showlog.txt
karlheyes Apr 27, 2023
b8b2db8
log update
karlheyes Apr 27, 2023
956370e
more cosmetic changes than the next lot
karlheyes May 4, 2023
baf1de0
split locking, caching log entries and small API updates
karlheyes May 4, 2023
c070453
log level code update
karlheyes May 6, 2023
f9f068f
push for a pre-release
karlheyes May 8, 2023
227483c
small tweaks to url auth traps
karlheyes May 9, 2023
7e21b17
fix copyright details
karlheyes May 9, 2023
9441a0a
move log messaging outside of auth lock
karlheyes May 12, 2023
18acfa7
auth update. messaging updates and separate timers for url actions
karlheyes May 17, 2023
25ee56a
mark for 21.3 pre-release
karlheyes May 17, 2023
2188957
yp update for song title, was already encoded via a legacy routine
karlheyes May 18, 2023
5f5564d
small build fix
karlheyes May 18, 2023
5cd19e0
only set url auth stop once, fix possible null deref
karlheyes May 20, 2023
b3f462a
add timer code into wrapper for perform call in url auth
karlheyes May 21, 2023
d4c1269
rearrangement of options reading in url auth. delayed auth warning me…
karlheyes May 22, 2023
f121386
cut 21.4 pre-release
karlheyes May 22, 2023
f20e911
fix crash on reload, add log messages for settings provided
karlheyes May 23, 2023
fbfe09d
uncommon but fix type size case
karlheyes May 24, 2023
60e2b58
fix a couple of issues on log re-opening
karlheyes May 24, 2023
79c8c39
set version info
karlheyes May 25, 2023
f2cc0d7
stupid crash bug fixed.
karlheyes May 26, 2023
5e59c48
split out the log cycle triggers, separate tests
karlheyes May 26, 2023
fbded06
put example line for easier building
karlheyes May 26, 2023
8bcb52b
revert spinlock to mutex on queue shrinkage
karlheyes May 26, 2023
5922890
revert spin_t to mutex_t for bitrate assessment
karlheyes May 26, 2023
87a5e09
revert spinlock on xslt thread counting
karlheyes May 26, 2023
1b14bb0
relay start lock converted to mutex
karlheyes May 26, 2023
bd8ae68
spin to mutex for connection lock
karlheyes May 26, 2023
4fb8d0d
spin to mutex lock for pending clients in fserve
karlheyes May 26, 2023
92ffbdf
spin to mutex lock for mount reference lock
karlheyes May 26, 2023
2adb5eb
worker spin lock changed to mutex
karlheyes May 26, 2023
7fdfc67
move add at a later point, unlikely to affect anything but logically …
karlheyes May 27, 2023
60b36f1
small re-arrangement for keep alive settings for various requests
karlheyes May 27, 2023
dd880f5
handle short range requests from certain clients better
karlheyes May 27, 2023
211333d
drop another keep alive, this time on looping file
karlheyes May 27, 2023
9ee8a6d
expand on the relay host skip setting, convert to a timestamp
karlheyes May 27, 2023
02bc743
for completeness, init the ice_http_t structure beforehand
karlheyes May 28, 2023
46918f3
small internal api cleanup and set default startup log level back to …
karlheyes May 28, 2023
48608b9
allow for query of the startup messages
karlheyes May 28, 2023
5b3d4c0
a minor tweak, but allows for passing the length if the beginning has…
karlheyes May 28, 2023
7166344
push for next pre-release 21.6
karlheyes May 28, 2023
feefc7b
just for assisting in debug, log ID and IP for authenticating client
karlheyes May 29, 2023
d09047f
reset flags fully on keep alive, do not want anything feeding over
karlheyes May 29, 2023
64eec33
code cleanup, no significant change, staged for further updates
karlheyes Jun 4, 2023
a825c5f
update to range handling.
karlheyes Jun 4, 2023
3103084
try limiting range request from safari to 100k
karlheyes Jun 4, 2023
25e39c1
simplify the max run threshold for a worker
karlheyes Jun 4, 2023
0f91510
add connection stop markers.
karlheyes Jun 7, 2023
94111eb
drop the range settings for apple for now.
karlheyes Jun 7, 2023
de9710d
misc cleanups and fixes
karlheyes Jun 8, 2023
aa74340
add listenurl setting in the mount block
karlheyes Jun 14, 2023
096e33f
small rework of socket writing, should not apply normally
karlheyes Jun 14, 2023
a735bb7
allow the 3xx redirects to use the default routine for connection header
karlheyes Jun 15, 2023
56e9f0a
fix bad pointer reference for anyone using stream_auth since post kh2…
karlheyes Jun 15, 2023
4addd45
some header reworking for handling certain browsers
karlheyes Jun 19, 2023
c9dbb67
type cleanups between compilers
karlheyes Jun 20, 2023
b79a113
push pre-release 21.7
karlheyes Jun 20, 2023
e414f65
fix stupid null de-ref bug from previous release
karlheyes Jun 20, 2023
38eaff8
cut an update to avoid null-deref issue from .7
karlheyes Jun 20, 2023
8f16ac3
cleanup from work from #327, should close that
karlheyes Jul 3, 2023
0e35127
typo fix reported in #268. non-critical
karlheyes Jul 3, 2023
9f0ac50
pick out the web/admin changes to drop the rounded corners from pull …
karlheyes Jul 3, 2023
783a1a6
Merge branch 'TheTaLlesT-master'
karlheyes Jul 3, 2023
3c9b471
Merge branch 'MediaCreek-flv-meta-crash'
karlheyes Jul 3, 2023
7dcf33a
missed an AC commit when removing web corners
karlheyes Jul 4, 2023
bb41738
prep for a kh22
karlheyes Jul 4, 2023
beda5b0
feat(web): add json status
uZer Aug 30, 2019
0b477bc
Expose icecast slow listeners in json metrics
Mar 2, 2020
a840636
feat(icecast): expose new metrics to icecast-exporter.
uZer Jan 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions GIT-VERSION-GEN
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ DEF_VER=$(date "+%Y%m%d%H%M%S")
if test -f version
then
VN=$(cat version) || VN="$DEF_VER"
elif test -d .git -o -f .git
then
else
VN=$(git describe --match icecast\* --long --dirty=-modified 2>/dev/null | cut -d - -f 4-)
fi
test -z "$VN" && VN="$DEF_VER"
Expand Down
13 changes: 11 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = conf doc web admin src
if WIN32
SUBDIRS += win32
if WINDOWS
SUBDIRS += windows
endif

BUILT_SOURCES = git_hash.h
Expand All @@ -23,9 +23,18 @@ git_hash.h: FORCE
@$(SHELL_PATH) $(srcdir)/GIT-VERSION-GEN
FORCE:

# example build line
# make CFLAGS="-O2 -s -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -ffile-prefix-map=$(pwd)=" CXXFLAGS='$(CFLAGS)' V=1
# V=1 to show lines
# file-prefix-map to filter out absolute path lines in binary
#
debug:
$(MAKE) all CFLAGS="-Wno-unused-parameter @DEBUG@"

win64:
$(MAKE) all CFLAGS="-O2 -s" CXXFLAGS="-O2 -s"
win32:
$(MAKE) all CFLAGS="-O2 -s" CXXFLAGS="-O2 -s"
profile:
$(MAKE) all CFLAGS="@PROFILE@"

Expand Down
75 changes: 47 additions & 28 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Expand Down Expand Up @@ -88,7 +88,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@WIN32_TRUE@am__append_1 = win32
@WINDOWS_TRUE@am__append_1 = windows
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
Expand All @@ -109,7 +109,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_FILES = icecast.nsis
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
Expand Down Expand Up @@ -175,8 +175,8 @@ am__recursive_targets = \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
Expand All @@ -193,10 +193,7 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = conf doc web admin src win32
DIST_SUBDIRS = conf doc web admin src windows
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/build-aux/compile \
$(top_srcdir)/build-aux/config.guess \
Expand Down Expand Up @@ -245,6 +242,8 @@ am__relativize = \
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
DIST_TARGETS = dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
Expand All @@ -260,8 +259,9 @@ AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CURL_CFLAGS = @CURL_CFLAGS@
CURL_CONFIG = @CURL_CONFIG@
CURL_LIBS = @CURL_LIBS@
Expand All @@ -280,11 +280,12 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GREP = @GREP@
HAVE_KATE = @HAVE_KATE@
ICECAST_OPTIONAL = @ICECAST_OPTIONAL@
ICY_CHARSET = @ICY_CHARSET@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
Expand Down Expand Up @@ -401,6 +402,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
Expand Down Expand Up @@ -472,6 +474,8 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)

distclean-hdr:
-rm -f config.h stamp-h1
icecast.nsis: $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $@

mostlyclean-libtool:
-rm -f *.lo
Expand Down Expand Up @@ -608,7 +612,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files

distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

Expand Down Expand Up @@ -692,6 +695,10 @@ dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)

dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)

dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
Expand Down Expand Up @@ -734,6 +741,8 @@ distcheck: dist
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
Expand All @@ -749,7 +758,7 @@ distcheck: dist
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
Expand Down Expand Up @@ -812,7 +821,8 @@ installdirs-am:
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-recursive
install-exec: install-exec-recursive
install-exec: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

Expand Down Expand Up @@ -914,24 +924,24 @@ ps-am:
uninstall-am: uninstall-docDATA

.MAKE: $(am__recursive_targets) all check check-am install install-am \
install-strip
install-exec install-strip

.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
am--refresh check check-am clean clean-cscope clean-generic \
clean-libtool cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
dist-xz dist-zip distcheck distclean distclean-generic \
distclean-hdr distclean-libtool distclean-tags distcleancheck \
distdir distuninstallcheck dvi dvi-am html html-am info \
info-am install install-am install-data install-data-am \
install-docDATA install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-docDATA
dist-xz dist-zip dist-zstd distcheck distclean \
distclean-generic distclean-hdr distclean-libtool \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-docDATA install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am tags tags-am uninstall uninstall-am uninstall-docDATA

.PRECIOUS: Makefile

Expand All @@ -940,9 +950,18 @@ git_hash.h: FORCE
@$(SHELL_PATH) $(srcdir)/GIT-VERSION-GEN
FORCE:

# example build line
# make CFLAGS="-O2 -s -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -ffile-prefix-map=$(pwd)=" CXXFLAGS='$(CFLAGS)' V=1
# V=1 to show lines
# file-prefix-map to filter out absolute path lines in binary
#
debug:
$(MAKE) all CFLAGS="-Wno-unused-parameter @DEBUG@"

win64:
$(MAKE) all CFLAGS="-O2 -s" CXXFLAGS="-O2 -s"
win32:
$(MAKE) all CFLAGS="-O2 -s" CXXFLAGS="-O2 -s"
profile:
$(MAKE) all CFLAGS="@PROFILE@"

Expand Down
Loading