From 1786393e759e8bccdb8825d9dd215fd28f55c163 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 8 Nov 2002 05:37:43 +0000 Subject: [PATCH] split up main.c into separate files --- src/metaflac/Makefile.am | 9 ++++++++- src/metaflac/Makefile.lite | 9 ++++++++- src/metaflac/Makefile.vc | 9 ++++++++- src/metaflac/metaflac.dsp | 28 ++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 3 deletions(-) diff --git a/src/metaflac/Makefile.am b/src/metaflac/Makefile.am index 8837e77..80eb723 100644 --- a/src/metaflac/Makefile.am +++ b/src/metaflac/Makefile.am @@ -24,7 +24,14 @@ EXTRA_DIST = \ metaflac.dsp metaflac_SOURCES = \ - main.c + main.c \ + operations.c \ + operations_shorthand_seektable.c \ + operations_shorthand_streaminfo.c \ + operations_shorthand_vorbiscomment.c \ + options.c \ + usage.c \ + utils.c metaflac_LDFLAGS = metaflac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la @SHARE_LIBS@ @LIBICONV@ -lm diff --git a/src/metaflac/Makefile.lite b/src/metaflac/Makefile.lite index f5a01d9..704c315 100644 --- a/src/metaflac/Makefile.lite +++ b/src/metaflac/Makefile.lite @@ -26,7 +26,14 @@ INCLUDES = -I./include -I$(topdir)/include LIBS = -lgrabbag -lFLAC -lgain_analysis -lgetopt -lutf8 -lm OBJS = \ - main.o + main.o \ + operations.o \ + operations_shorthand_seektable.o \ + operations_shorthand_streaminfo.o \ + operations_shorthand_vorbiscomment.o \ + options.o \ + usage.o \ + utils.o include $(topdir)/build/exe.mk diff --git a/src/metaflac/Makefile.vc b/src/metaflac/Makefile.vc index 53ddb9c..975c35b 100644 --- a/src/metaflac/Makefile.vc +++ b/src/metaflac/Makefile.vc @@ -26,7 +26,14 @@ !endif C_FILES= \ - main.c + main.c \ + operations.c \ + operations_shorthand_seektable.c \ + operations_shorthand_streaminfo.c \ + operations_shorthand_vorbiscomment.c \ + options.c \ + usage.c \ + utils.c OBJS= $(C_FILES:.c=.obj) diff --git a/src/metaflac/metaflac.dsp b/src/metaflac/metaflac.dsp index 7ee1882..4c7f380 100644 --- a/src/metaflac/metaflac.dsp +++ b/src/metaflac/metaflac.dsp @@ -91,6 +91,34 @@ LINK32=link.exe SOURCE=.\main.c # End Source File +# Begin Source File + +SOURCE=.\operations.c +# End Source File +# Begin Source File + +SOURCE=.\operations_shorthand_seektable.c +# End Source File +# Begin Source File + +SOURCE=.\operations_shorthand_streaminfo.c +# End Source File +# Begin Source File + +SOURCE=.\operations_shorthand_vorbiscomment.c +# End Source File +# Begin Source File + +SOURCE=.\options.c +# End Source File +# Begin Source File + +SOURCE=.\usage.c +# End Source File +# Begin Source File + +SOURCE=.\utils.c +# End Source File # End Group # Begin Group "Header Files" -- 2.7.4