Skip to content

Commit 03d75b9

Browse files
committed
buildsystem: merge libpad and libpadx
1 parent 5d715c4 commit 03d75b9

File tree

9 files changed

+8
-9
lines changed

9 files changed

+8
-9
lines changed

ee/rpc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ SUBDIRS += memorycard
1717
SUBDIRS += mouse
1818
SUBDIRS += multitap
1919
SUBDIRS += pad
20-
SUBDIRS += padx
2120
SUBDIRS += poweroff
2221
SUBDIRS += ps2snd
2322
SUBDIRS += remote

ee/rpc/pad/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Licenced under Academic Free License version 2.0
77
# Review ps2sdk README & LICENSE files for further details.
88

9+
EE_LIB_ALTNAMES ?= libpadx.a
10+
911
EE_OBJS = libpad.o erl-support.o
1012

1113
include $(PS2SDKSRC)/Defs.make

ee/rpc/pad/samples/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# ____| | ____| | | |____|
33
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
44
#-----------------------------------------------------------------------
5-
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
5+
# Copyright ps2dev - http://www.ps2dev.org
66
# Licenced under Academic Free License version 2.0
77
# Review ps2sdk README & LICENSE files for further details.
88

9-
SAMPLE_DIR = rpc/pad
9+
SUBDIRS = pad padx
1010

1111
include $(PS2SDKSRC)/Defs.make
12-
include $(PS2SDKSRC)/samples/Rules.samples
12+
include $(PS2SDKSRC)/Rules.make
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
# Licenced under Academic Free License version 2.0
77
# Review ps2sdk README & LICENSE files for further details.
88

9-
EE_SRC_DIR = $(PS2SDKSRC)/ee/rpc/pad/src/
10-
EE_INC_DIR = $(PS2SDKSRC)/ee/rpc/pad/include/
9+
SAMPLE_DIR = rpc/pad
1110

12-
EE_CFLAGS += -D_XPAD
13-
14-
include $(PS2SDKSRC)/ee/rpc/pad/Makefile
11+
include $(PS2SDKSRC)/Defs.make
12+
include $(PS2SDKSRC)/samples/Rules.samples

0 commit comments

Comments
 (0)