Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
24 lines (18 loc) · 735 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (18 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ifndefORBISDEV
$(error ORBISDEV, is not set)
endif
target := ps4_lib
OutPath := lib
TargetFile := libSQLite
AllTarget = $(OutPath)/$(TargetFile).a
include$(ORBISDEV)/make/ps4sdklib.mk
CompilerFlags += -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DNDEBUG -D_BSD_SOURCE -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_OS_OTHER=1 -DSQLITE_OMIT_WAL
CompilerFlagsCpp += -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DNDEBUG -D_BSD_SOURCE
#IncludePath += -I$(ORBISDEV)/usr/include -Iinclude/nfsc
$(OutPath)/$(TargetFile).a: $(ObjectFiles)
$(dirp)
$(archive)
install:
@cp $(OutPath)/$(TargetFile).a $(DESTDIR)$(ORBISDEV)/usr/lib
@cp include/sqlite3.h $(DESTDIR)$(ORBISDEV)/usr/include/orbis
@echo "$(TargetFile) Installed!"