add -T, --tag options
[flac.git] / src / flac / Makefile.lite
index cc8280b..fc3088f 100644 (file)
 PROGRAM_NAME = flac
 ifeq ($(DARWIN_BUILD),yes)
 INCLUDES     = -I./include -I../../include
-LIBS         = -lFLAC -lc -lm
+LIBS         = -lFLAC -lgetopt -lutf8 -lc -lm
 else
 #@@@ TODO: conditionalize ogg includes, defines, and -logg
+ifeq ($(SOLARIS_BUILD),yes)
 INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
-LIBS         = -lFLAC -lm -L$(HOME)/local/lib -logg
+LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
+else
+#@@@ TODO: conditionalize ogg includes, defines, and -logg
+INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
+LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
+endif
 endif
 
 OBJS = \
@@ -34,7 +40,8 @@ OBJS = \
        decode.o \
        encode.o \
        file.o \
-       main.o
+       main.o \
+       vorbiscomment.o
 
 include ../../build/exe.mk