Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
85425426
Commit
85425426
authored
May 18, 2006
by
Josh Coalson
Browse files
update iconv settings
parent
03f54be7
Changes
6
Hide whitespace changes
Inline
Side-by-side
build/config.mk
View file @
85425426
...
...
@@ -44,14 +44,13 @@ all default: $(DEFAULT_BUILD)
VERSION
=
\"
CVS
\"
ifeq
($(DARWIN_BUILD),yes)
#CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_SOCKLEN_T -DFLAC__HAS_OGG -DFLAC__SYS_DARWIN
CONFIG_CFLAGS
=
-DHAVE_INTTYPES_H
-DHAVE_ICONV
-DFLAC__HAS_OGG
-DFLAC__SYS_DARWIN
else
CONFIG_CFLAGS
=
-DHAVE_INTTYPES_H
-DHAVE_ICONV
-DHAVE_SOCKLEN_T
-DFLAC__HAS_OGG
endif
#CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -DFLAC__HAS_OGG -DFLAC__SYS_DARWIN
CONFIG_CFLAGS
=
-DHAVE_INTTYPES_H
-DHAVE_ICONV
-DHAVE_LANGINFO_CODESET
-DFLAC__HAS_OGG
-DFLAC__SYS_DARWIN
ICONV_INCLUDE_DIR
=
$(HOME)
/local.i18n/include
ICONV_LIB_DIR
=
$(HOME)
/local.i18n/lib
else
CONFIG_CFLAGS
=
-DHAVE_INTTYPES_H
-DHAVE_ICONV
-DHAVE_LANGINFO_CODESET
-DHAVE_SOCKLEN_T
-DFLAC__HAS_OGG
endif
OGG_INCLUDE_DIR
=
$(HOME)
/local/include
OGG_LIB_DIR
=
$(HOME)
/local/lib
src/flac/Makefile.lite
View file @
85425426
...
...
@@ -29,7 +29,7 @@ INCLUDES = -I./include -I$(topdir)/include -I$(OGG_INCLUDE_DIR)
ifeq
($(DARWIN_BUILD),yes)
EXPLICIT_LIBS
=
$(libdir)
/libgrabbag.a
$(libdir)
/libOggFLAC.a
$(libdir)
/libFLAC.a
$(libdir)
/libreplaygain_analysis.a
$(libdir)
/libreplaygain_synthesis.a
$(libdir)
/libgetopt.a
$(libdir)
/libutf8.a
$(OGG_LIB_DIR)
/libogg.a
-L
$(ICONV_LIB_DIR)
-liconv
-lm
else
LIBS
=
-lgrabbag
-lOggFLAC
-lFLAC
-lreplaygain_analysis
-lreplaygain_synthesis
-lgetopt
-lutf8
-L
$(OGG_LIB_DIR)
-logg
-L
$(ICONV_LIB_DIR)
-liconv
-lm
LIBS
=
-lgrabbag
-lOggFLAC
-lFLAC
-lreplaygain_analysis
-lreplaygain_synthesis
-lgetopt
-lutf8
-L
$(OGG_LIB_DIR)
-logg
-lm
endif
SRCS_C
=
\
...
...
src/metaflac/Makefile.lite
View file @
85425426
...
...
@@ -29,7 +29,7 @@ INCLUDES = -I./include -I$(topdir)/include
ifeq
($(DARWIN_BUILD),yes)
EXPLICIT_LIBS
=
$(libdir)
/libgrabbag.a
$(libdir)
/libFLAC.a
$(libdir)
/libreplaygain_analysis.a
$(libdir)
/libgetopt.a
$(libdir)
/libutf8.a
-L
$(ICONV_LIB_DIR)
-liconv
-lm
else
LIBS
=
-lgrabbag
-lFLAC
-lreplaygain_analysis
-lgetopt
-lutf8
-L
$(ICONV_LIB_DIR)
-liconv
-lm
LIBS
=
-lgrabbag
-lFLAC
-lreplaygain_analysis
-lgetopt
-lutf8
-lm
endif
SRCS_C
=
\
...
...
src/plugin_common/Makefile.lite
View file @
85425426
...
...
@@ -22,7 +22,11 @@
topdir
=
../..
LIB_NAME
=
libplugin_common
ifeq
($(DARWIN_BUILD),yes)
INCLUDES
=
-I
$(topdir)
/include
-I
$(HOME)
/local/include
-I
$(ICONV_INCLUDE_DIR)
else
INCLUDES
=
-I
$(topdir)
/include
-I
$(HOME)
/local/include
endif
DEFINES
=
SRCS_C
=
\
...
...
src/plugin_xmms/Makefile.lite
View file @
85425426
...
...
@@ -24,7 +24,11 @@ topdir = ../..
LIB_NAME
=
libxmms-flac
INCLUDES
=
$(
shell
xmms-config
--cflags
)
-I
./include
-I
$(topdir)
/include
-I
..
# refer to the static libs explicitly
ifeq
($(DARWIN_BUILD),yes)
LIBS
=
$(topdir)
/obj/
$(BUILD)
/lib/libFLAC.a
$(topdir)
/obj/
$(BUILD)
/lib/libplugin_common.a
$(topdir)
/obj/
$(BUILD)
/lib/libgrabbag.a
$(topdir)
/obj/
$(BUILD)
/lib/libreplaygain_analysis.a
$(topdir)
/obj/
$(BUILD)
/lib/libreplaygain_synthesis.a
-L
$(ICONV_LIB_DIR)
-liconv
-lstdc
++
-lz
else
LIBS
=
$(topdir)
/obj/
$(BUILD)
/lib/libFLAC.a
$(topdir)
/obj/
$(BUILD)
/lib/libplugin_common.a
$(topdir)
/obj/
$(BUILD)
/lib/libgrabbag.a
$(topdir)
/obj/
$(BUILD)
/lib/libreplaygain_analysis.a
$(topdir)
/obj/
$(BUILD)
/lib/libreplaygain_synthesis.a
-lstdc
++
-lz
endif
SRCS_C
=
\
charset.c
\
...
...
src/share/utf8/Makefile.lite
View file @
85425426
...
...
@@ -5,7 +5,11 @@
topdir
=
../../..
LIB_NAME
=
libutf8
ifeq
($(DARWIN_BUILD),yes)
INCLUDES
=
-I
$(topdir)
/include
-I
$(topdir)
/include/share
-I
$(ICONV_INCLUDE_DIR)
else
INCLUDES
=
-I
$(topdir)
/include
-I
$(topdir)
/include/share
endif
SRCS_C
=
\
charset.c
\
...
...
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