build: use git to generate lists of sources for makefile.
This commit is contained in:
parent
26b9f2cf6b
commit
0d40ca5b6b
|
@ -1,17 +1,17 @@
|
|||
# -*- mode: makefile; -*-
|
||||
|
||||
FL_SRCS= \
|
||||
FL/Fl_Scalepack.C \
|
||||
FL/Fl_Arc_Dial.C \
|
||||
FL/Fl_Text_Edit_Window.C \
|
||||
FL/Boxtypes.C \
|
||||
FL/.sources:
|
||||
@ echo "FL_SRCS=\\" > FL/.sources
|
||||
@ git ls-files 'FL/*.C' | tr '\n' ' ' >> FL/.sources
|
||||
@ git ls-files 'FL/*.fl' | tr '\n' ' ' >> FL/.sources
|
||||
|
||||
FL_OBJS := $(FL_SRCS:.C=.o)
|
||||
include FL/.sources
|
||||
|
||||
FL_SRCS:=$(FL_SRCS:.fl=.C)
|
||||
FL_OBJS:=$(FL_SRCS:.C=.o)
|
||||
|
||||
all: FL/libfl_widgets.a
|
||||
|
||||
# $(OBJS): Makefile
|
||||
|
||||
FL/libfl_widgets.a: $(FL_OBJS)
|
||||
@ ar rcs $@ $(FL_OBJS)
|
||||
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
# -*- mode: makefile; -*-
|
||||
|
||||
Mixer_SRCS= \
|
||||
Mixer/DPM.C \
|
||||
Mixer/Mixer_Strip.C \
|
||||
Mixer/Panner.C \
|
||||
Mixer/Mixer.C \
|
||||
Mixer/.sources:
|
||||
@ echo "Mixer_SRCS=\\" > Mixer/.sources
|
||||
@ git ls-files 'Mixer/*.C' | tr '\n' ' ' >> Mixer/.sources
|
||||
@ git ls-files 'Mixer/*.fl' | tr '\n' ' ' >> Mixer/.sources
|
||||
|
||||
Mixer_OBJS := $(Mixer_SRCS:.C=.o)
|
||||
include Mixer/.sources
|
||||
|
||||
Mixer_SRCS += util/debug.C
|
||||
|
||||
Mixer_SRCS:=$(Mixer_SRCS:.fl=.C)
|
||||
Mixer_OBJS:=$(Mixer_SRCS:.C=.o)
|
||||
|
||||
Mixer_LIBS := $(FLTK_LIBS)
|
||||
|
||||
|
|
|
@ -2,55 +2,18 @@
|
|||
|
||||
Timeline_VERSION := 0.5.0
|
||||
|
||||
Timeline_SRCS= \
|
||||
Timeline/Annotation_Region.C \
|
||||
Timeline/Audio_Region.C \
|
||||
Timeline/Audio_Sequence.C \
|
||||
Timeline/Control_Point.C \
|
||||
Timeline/Control_Sequence.C \
|
||||
Timeline/Fl_Menu_Settings.C \
|
||||
Timeline/LASH.C \
|
||||
Timeline/LASH_Client.C \
|
||||
Timeline/Loggable.C \
|
||||
Timeline/Project.C \
|
||||
Timeline/Sequence.C \
|
||||
Timeline/Sequence_Point.C \
|
||||
Timeline/Sequence_Region.C \
|
||||
Timeline/Sequence_Widget.C \
|
||||
Timeline/TLE.C \
|
||||
Timeline/Tempo_Point.C \
|
||||
Timeline/Tempo_Sequence.C \
|
||||
Timeline/Time_Point.C \
|
||||
Timeline/Time_Sequence.C \
|
||||
Timeline/Timeline.C \
|
||||
Timeline/Track.C \
|
||||
Timeline/Transport.C \
|
||||
Timeline/Waveform.C \
|
||||
Timeline/main.C \
|
||||
util/debug.C \
|
||||
|
||||
Timeline_SRCS+=\
|
||||
Timeline/Engine/Audio_File.C \
|
||||
Timeline/Engine/Audio_File_SF.C \
|
||||
Timeline/Engine/Audio_Region.C \
|
||||
Timeline/Engine/Audio_Sequence.C \
|
||||
Timeline/Engine/Disk_Stream.C \
|
||||
Timeline/Engine/Engine.C \
|
||||
Timeline/Engine/Peaks.C \
|
||||
Timeline/Engine/Playback_DS.C \
|
||||
Timeline/Engine/Port.C \
|
||||
Timeline/Engine/Record_DS.C \
|
||||
Timeline/Engine/Timeline.C \
|
||||
Timeline/Engine/Track.C \
|
||||
Timeline/Engine/dsp.C \
|
||||
Timeline/.sources:
|
||||
@ echo "Timeline_SRCS=\\" > Timeline/.sources
|
||||
@ git ls-files 'Timeline/*.C' | tr '\n' ' ' >> Timeline/.sources
|
||||
@ git ls-files 'Timeline/*.fl' | tr '\n' ' ' >> Timeline/.sources
|
||||
|
||||
include Timeline/.sources
|
||||
|
||||
Timeline_SRCS += util/debug.C
|
||||
|
||||
Timeline_SRCS:=$(Timeline_SRCS:.fl=.C)
|
||||
Timeline_OBJS:=$(Timeline_SRCS:.C=.o)
|
||||
|
||||
# $(Timeline_OBJS): Makefile
|
||||
# $(Timeline_OBJS): make.conf
|
||||
|
||||
Timeline_LIBS := $(FLTK_LIBS) $(JACK_LIBS) $(SNDFILE_LIBS) $(LASH_LIBS)
|
||||
|
||||
Timeline/timeline: $(Timeline_OBJS) FL
|
||||
|
|
Loading…
Reference in New Issue