1 ROOT_PATH
= ..
/..
/..
/..
4 NPT_INCLUDE
= $(NEPTUNE_PATH
)/Source
/Config
-I
$(NEPTUNE_PATH
)/Source
/Core
-I
$(NEPTUNE_PATH
)/Source
/Neptune
5 PLT_INCLUDE
= $(PLATINUM_PATH
)/Source
/Core
-I
$(PLATINUM_PATH
)/Source
/Devices
/MediaServer
6 INCDIR
= $(DEVKIT_TOP
)/include -I
$(NPT_INCLUDE
) -I
$(PLT_INCLUDE
) -I.
/
7 SRC_DIR
= ${PLATINUM_PATH}/Source
12 CFLAGS
= -W
-Wall
$(DBGFLAG
) $(OPTFLAG
) -I
$(INCDIR
)
13 CPPFLAGS
= -W
-Wall
$(DBGFLAG
) $(OPTFLAG
) -I
$(INCDIR
) -DPSP
-DNPT_DEBUG
-MMD
15 LDFLAGS
= $(DBGFLAG
) -Wl
,-export-dynamic
-shared
-mimpure-text
19 VPATH
+= ${SRC_DIR}/Core
20 VPATH
+= ${SRC_DIR}/Devices
/MediaServer
25 PltCtrlPointTask.
cpp \
26 PltDatagramStream.
cpp \
31 PltHttpClientTask.
cpp \
33 PltHttpServerTask.
cpp \
34 PltMetadataHandler.
cpp \
38 PltStateVariable.
cpp \
47 PltMediaPlaylist.
cpp \
49 PltMediaServerSCPDs.
cpp
51 PLT_MS_TARGET
= $(PLATINUM_MS
)
52 PLT_MS_OBJS
= $(PLT_MS_SOURCES
:.
cpp=.o
)
55 OBJS
= $(PLT_SOURCES
:.
cpp=.o
) $(PLT_MS_SOURCES
:.
cpp=.o
)
59 $(PLATINUM
): $(TARGET
).a
62 make
-C
$(NEPTUNE_PATH
)/Build
/Neptune
/Targets
/mipsel-psp-linux
$(NEPTUNE
)
65 rm -f
*.o
$(TARGET
).a
*~
*.bak PathDefs
72 $(PLT_MS_TARGET
).a
: $(PLT_MS_OBJS
)
77 #----------- rules --------------
78 -include $(OBJS
:.o
=.d
)
81 psp-path-setup
> PathDefs ||
(rm -f PathDefs
; exit
1)