mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 18:31:05 +00:00
Make history.c no longer dependent on menu
This commit is contained in:
parent
42c48b715c
commit
9c96b3ada2
4
Makefile
4
Makefile
@ -111,8 +111,10 @@ ifeq ($(HAVE_LAKKA), 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
OBJ += history.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o frontend/menu/history.o
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
|
@ -79,8 +79,10 @@ ifeq ($(HAVE_RGUI), 1)
|
||||
HAVE_MENU_COMMON = 1
|
||||
endif
|
||||
|
||||
OBJ += history.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o frontend/menu/history.o
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SDL), 1)
|
||||
|
@ -125,8 +125,10 @@ ifeq ($(HAVE_LAKKA), 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
OBJ += history.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o frontend/menu/history.o
|
||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SDL), 1)
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "miscellaneous.h"
|
||||
#include "gfx/filter.h"
|
||||
|
||||
#include "frontend/menu/history.h"
|
||||
#include "history.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
|
@ -596,6 +596,12 @@ SCREENSHOTS
|
||||
#include "../screenshot.c"
|
||||
#endif
|
||||
|
||||
|
||||
/*============================================================
|
||||
HISTORY
|
||||
============================================================ */
|
||||
#include "../history.c"
|
||||
|
||||
/*============================================================
|
||||
MENU
|
||||
============================================================ */
|
||||
@ -603,7 +609,6 @@ MENU
|
||||
#include "../frontend/menu/menu_input_line_cb.c"
|
||||
#include "../frontend/menu/menu_common.c"
|
||||
#include "../frontend/menu/menu_navigation.c"
|
||||
#include "../frontend/menu/history.c"
|
||||
#include "../frontend/menu/file_list.c"
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
|
@ -16,11 +16,11 @@
|
||||
*/
|
||||
|
||||
#include "history.h"
|
||||
#include "../../msvc/msvc_compat.h"
|
||||
#include "../../compat/posix_string.h"
|
||||
#include "../../boolean.h"
|
||||
#include "../../general.h"
|
||||
#include "../../file.h"
|
||||
#include "msvc/msvc_compat.h"
|
||||
#include "compat/posix_string.h"
|
||||
#include "boolean.h"
|
||||
#include "general.h"
|
||||
#include "file.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
@ -217,7 +217,7 @@
|
||||
<ClCompile Include="..\..\deps\rzlib\unzip.c" />
|
||||
<ClCompile Include="..\..\deps\rzlib\zutil.c" />
|
||||
<ClCompile Include="..\..\file_extract.c" />
|
||||
<ClCompile Include="..\..\frontend\menu\history.c" />
|
||||
<ClCompile Include="..\..\history.c" />
|
||||
<ClCompile Include="..\..\frontend\menu\file_list.c" />
|
||||
<ClCompile Include="..\..\frontend\menu\backend\menu_common_backend.c" />
|
||||
<ClCompile Include="..\..\frontend\menu\disp\rgui.c" />
|
||||
|
Loading…
Reference in New Issue
Block a user