Mercurial > mplayer.hg
comparison Makefile @ 27404:778fac8c186f
Add separate variables for CFLAGS that are specific to internal libraries
and only add them to CFLAGS when compiling objects from those libraries.
author | diego |
---|---|
date | Thu, 07 Aug 2008 21:46:06 +0000 |
parents | 0439868f668d |
children | c38f90ae922a |
comparison
equal
deleted
inserted
replaced
27403:e44346d95663 | 27404:778fac8c186f |
---|---|
781 codec-cfg.d: codecs.conf.h | 781 codec-cfg.d: codecs.conf.h |
782 mencoder.d mplayer.d vobsub.d gui/win32/gui.d libmpdemux/muxer_avi.d osdep/mplayer-rc.o stream/network.d stream/stream_cddb.d: version.h | 782 mencoder.d mplayer.d vobsub.d gui/win32/gui.d libmpdemux/muxer_avi.d osdep/mplayer-rc.o stream/network.d stream/stream_cddb.d: version.h |
783 $(DEPS): help_mp.h | 783 $(DEPS): help_mp.h |
784 | 784 |
785 dvdread/%.o dvdread/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_LIBDVDCSS_DVDREAD) | 785 dvdread/%.o dvdread/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_LIBDVDCSS_DVDREAD) |
786 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" | 786 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" $(CFLAGS_LIBDVDCSS) |
787 libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H | 787 libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_FAAD_FIXED) |
788 | 788 |
789 loader/% loader/%: CFLAGS += -Iloader -fno-omit-frame-pointer $(CFLAGS_NO_OMIT_LEAF_FRAME_POINTER) | 789 loader/% loader/%: CFLAGS += -Iloader -fno-omit-frame-pointer $(CFLAGS_NO_OMIT_LEAF_FRAME_POINTER) |
790 #loader/%.o loader/%.d: CFLAGS += -Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT | 790 #loader/%.o loader/%.d: CFLAGS += -Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT |
791 loader/win32.o loader/win32.d: CFLAGS += $(CFLAGS_STACKREALIGN) | 791 loader/win32.o loader/win32.d: CFLAGS += $(CFLAGS_STACKREALIGN) |
792 | 792 |
793 mp3lib/decode_i586.o: CFLAGS += -fomit-frame-pointer | 793 mp3lib/decode_i586.o: CFLAGS += -fomit-frame-pointer |
794 | |
795 tremor/%.o tremor/%.d: CFLAGS += $(CFLAGS_TREMOR_LOW) | |
794 | 796 |
795 vidix/%: CFLAGS += $(CFLAGS_DHAHELPER) $(CFLAGS_SVGALIB_HELPER) | 797 vidix/%: CFLAGS += $(CFLAGS_DHAHELPER) $(CFLAGS_SVGALIB_HELPER) |
796 | 798 |
797 VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \ | 799 VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \ |
798 vidix/pci_names.h vidix/pci_vendors.h | 800 vidix/pci_names.h vidix/pci_vendors.h |