1 # this makefile is included from all the dos*.mak files, do not use directly
2 # NTS: HPS is either \ (DOS) or / (Linux)
3 NOW_BUILDING = EXT_VORBIS_LIB
4 CFLAGS_THIS = -fr=nul -fo=$(SUBDIR)$(HPS).obj -i=.. -i..$(HPS).. -dHAVE_CONFIG_H
6 OBJS = $(SUBDIR)$(HPS)analysis.obj $(SUBDIR)$(HPS)barkmel.obj $(SUBDIR)$(HPS)bitrate.obj $(SUBDIR)$(HPS)block.obj $(SUBDIR)$(HPS)codebook.obj $(SUBDIR)$(HPS)envelope.obj $(SUBDIR)$(HPS)floor0.obj $(SUBDIR)$(HPS)floor1.obj $(SUBDIR)$(HPS)info.obj $(SUBDIR)$(HPS)lookup.obj $(SUBDIR)$(HPS)lpc.obj $(SUBDIR)$(HPS)lsp.obj $(SUBDIR)$(HPS)mapping0.obj $(SUBDIR)$(HPS)mdct.obj $(SUBDIR)$(HPS)psy.obj $(SUBDIR)$(HPS)registry.obj $(SUBDIR)$(HPS)res0.obj $(SUBDIR)$(HPS)sharedbook.obj $(SUBDIR)$(HPS)smallft.obj $(SUBDIR)$(HPS)synthesis.obj $(SUBDIR)$(HPS)vorbisenc.obj $(SUBDIR)$(HPS)vorbisfile.obj $(SUBDIR)$(HPS)window.obj
9 $(EXT_VORBIS_LIB): $(OBJS)
10 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)analysis.obj -+$(SUBDIR)$(HPS)barkmel.obj
11 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)bitrate.obj -+$(SUBDIR)$(HPS)block.obj
12 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)codebook.obj -+$(SUBDIR)$(HPS)envelope.obj
13 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)floor0.obj -+$(SUBDIR)$(HPS)floor1.obj
14 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)info.obj -+$(SUBDIR)$(HPS)lookup.obj
15 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)lpc.obj -+$(SUBDIR)$(HPS)lsp.obj
16 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)mapping0.obj -+$(SUBDIR)$(HPS)mdct.obj
17 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)psy.obj -+$(SUBDIR)$(HPS)synthesis.obj
18 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)registry.obj -+$(SUBDIR)$(HPS)res0.obj
19 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)sharedbook.obj -+$(SUBDIR)$(HPS)smallft.obj
20 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)vorbisenc.obj -+$(SUBDIR)$(HPS)vorbisfile.obj
21 wlib -q -b -c $(EXT_VORBIS_LIB) -+$(SUBDIR)$(HPS)window.obj
24 # NTS we have to construct the command line into tmp.cmd because for MS-DOS
25 # systems all arguments would exceed the pitiful 128 char command line limit
27 %write tmp.cmd $(CFLAGS_THIS) $(CFLAGS) $[@
30 all: lib exe .symbolic
32 lib: $(EXT_VORBIS_LIB) .symbolic
37 del $(SUBDIR)$(HPS)*.obj