mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 01:21:47 +00:00
Move more to Makefile.common
This commit is contained in:
parent
dd4bbdbd89
commit
064bddc84e
14
Makefile
14
Makefile
@ -70,13 +70,6 @@ endif
|
||||
OBJ += playlist.o \
|
||||
movie.o
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
OBJ += autosave.o thread.o gfx/video_thread_wrapper.o audio/thread_wrapper.o
|
||||
ifeq ($(findstring Haiku,$(OS)),)
|
||||
LIBS += -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_NETPLAY), 1)
|
||||
OBJ += netplay.o
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
@ -341,13 +334,6 @@ ifeq ($(HAVE_DYLIB), 1)
|
||||
OBJ += gfx/filter.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_FREETYPE), 1)
|
||||
OBJ += gfx/fonts/freetype.o
|
||||
LIBS += $(FREETYPE_LIBS)
|
||||
DEFINES += $(FREETYPE_CFLAGS)
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(HAVE_ZLIB), 1)
|
||||
HAVE_COMPRESSION = 1
|
||||
ZLIB_OBJS = deps/rzlib/unzip.o \
|
||||
|
@ -69,3 +69,17 @@ ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
frontend/menu/menu_action.o \
|
||||
frontend/menu/menu_entries.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_FREETYPE), 1)
|
||||
OBJ += gfx/fonts/freetype.o
|
||||
LIBS += $(FREETYPE_LIBS)
|
||||
DEFINES += $(FREETYPE_CFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
OBJ += autosave.o thread.o gfx/video_thread_wrapper.o audio/thread_wrapper.o
|
||||
DEFINES += -DHAVE_THREADS
|
||||
ifeq ($(findstring Haiku,$(OS)),)
|
||||
LIBS += -lpthread
|
||||
endif
|
||||
endif
|
||||
|
14
Makefile.win
14
Makefile.win
@ -31,6 +31,9 @@ ifeq ($(SLIM),)
|
||||
HAVE_FFMPEG = 1
|
||||
endif
|
||||
|
||||
FREETYPE_CFLAGS := -DHAVE_FREETYPE -Ifreetype2
|
||||
FREETYPE_LIBS := -lfreetype
|
||||
|
||||
OBJDIR := obj-w32
|
||||
|
||||
OBJ :=
|
||||
@ -105,11 +108,6 @@ ifeq ($(HAVE_SDL), 1)
|
||||
DEFINES += -ISDL -DHAVE_SDL
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
OBJ += autosave.o thread.o gfx/video_thread_wrapper.o audio/thread_wrapper.o
|
||||
DEFINES += -DHAVE_THREADS
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_OPENGL), 1)
|
||||
OBJ += gfx/gl.o gfx/math/matrix.o gfx/fonts/gl_font.o gfx/fonts/gl_raster_font.o gfx/gfx_context.o gfx/context/wgl_ctx.o gfx/shader_glsl.o gfx/glsym/rglgen.o gfx/glsym/glsym_gl.o
|
||||
DEFINES += -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_GL_SYNC
|
||||
@ -191,12 +189,6 @@ ifeq ($(HAVE_NETPLAY), 1)
|
||||
LIBS += -lws2_32
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_FREETYPE), 1)
|
||||
OBJ += gfx/fonts/freetype.o
|
||||
DEFINES += -DHAVE_FREETYPE -Ifreetype2
|
||||
LIBS += -lfreetype -lz
|
||||
endif
|
||||
|
||||
ifeq ($(DYNAMIC), 1)
|
||||
DEFINES += -DHAVE_DYNAMIC
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user