mirror of
https://github.com/gpac/gpac.git
synced 2026-01-12 00:05:22 +08:00
99 lines
1.4 KiB
Makefile
99 lines
1.4 KiB
Makefile
include ../config.mak
|
|
|
|
#all OS and lib independent
|
|
PLUGDIRS=validator
|
|
|
|
|
|
ifeq ($(CONFIG_FT),no)
|
|
else
|
|
PLUGDIRS+=ft_font
|
|
endif
|
|
|
|
ifeq ($(CONFIG_FREENECT),no)
|
|
else
|
|
#PLUGDIRS+=freenect
|
|
endif
|
|
|
|
ifeq ($(CONFIG_ALSA),no)
|
|
else
|
|
PLUGDIRS+=alsa
|
|
endif
|
|
|
|
ifeq ($(CONFIG_JACK),no)
|
|
else
|
|
PLUGDIRS+=jack
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SDL),yes)
|
|
PLUGDIRS+=sdl_out
|
|
endif
|
|
|
|
ifeq ($(CONFIG_CACA),yes)
|
|
PLUGDIRS+=caca_out
|
|
endif
|
|
|
|
ifeq ($(CONFIG_PULSEAUDIO),no)
|
|
else
|
|
PLUGDIRS+=pulseaudio
|
|
endif
|
|
|
|
ifeq ($(CONFIG_X11),yes)
|
|
PLUGDIRS+=x11_out
|
|
endif
|
|
|
|
ifeq ($(CONFIG_DIRECTFB),yes)
|
|
PLUGDIRS+=directfb_out
|
|
endif
|
|
|
|
ifeq ($(CONFIG_HID),yes)
|
|
#PLUGDIRS+=psvr
|
|
endif
|
|
|
|
ifeq ($(CONFIG_OPENHEVC),no)
|
|
else
|
|
PLUGDIRS+=dec_openhevc
|
|
endif
|
|
|
|
#w32 plugins
|
|
ifeq ($(CONFIG_WIN32),yes)
|
|
PLUGDIRS+=wav_out
|
|
ifeq ($(CONFIG_DIRECTX),yes)
|
|
PLUGDIRS+=dx_hw
|
|
endif
|
|
endif
|
|
|
|
#other linux
|
|
ifeq ($(CONFIG_LINUX),yes)
|
|
endif
|
|
|
|
|
|
#if static modules are used, disable all previous modules (built-in in libgpac)
|
|
ifeq ($(STATIC_MODULES),yes)
|
|
PLUGDIRS=
|
|
endif
|
|
|
|
#all modules below are not (yet) included in static build
|
|
|
|
#ifeq ($(CONFIG_PLATINUM),yes)
|
|
#PLUGDIRS+=platinum
|
|
#endif
|
|
|
|
ifeq ($(DISABLE_COMPOSITOR),yes)
|
|
PLUGDIRS=
|
|
endif
|
|
|
|
|
|
all: plugs
|
|
|
|
plugs:
|
|
set -e; for i in $(PLUGDIRS) ; do $(MAKE) -C $$i all; done
|
|
|
|
dep:
|
|
set -e; for i in $(PLUGDIRS) ; do $(MAKE) -C $$i dep; done
|
|
|
|
clean:
|
|
set -e; for i in $(PLUGDIRS) ; do $(MAKE) -C $$i clean; done
|
|
|
|
distclean:
|
|
set -e; for i in $(PLUGDIRS) ; do $(MAKE) -C $$i distclean; done
|