Merge pull request #26354 from ksooo/pvr-fix-listitem-titleextrainfo
[xbmc.git] / lib / libUPnP / Platinum / Build / Targets / mipsel-psp-linux / Makefile
blob18258a4b078d5d7bb405a63ad29469cc73819c67
1 ROOT_PATH = ../../../..
2 include Common.mak
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
9 DBGFLAG = -g
10 # OPTFLAG = -O2
11 OPTFLAG =
12 CFLAGS = -W -Wall $(DBGFLAG) $(OPTFLAG) -I$(INCDIR)
13 CPPFLAGS = -W -Wall $(DBGFLAG) $(OPTFLAG) -I$(INCDIR) -DPSP -DNPT_DEBUG -MMD
14 ASFLAGS = $(DBGFLAG)
15 LDFLAGS = $(DBGFLAG) -Wl,-export-dynamic -shared -mimpure-text
16 LDLIBS =
17 LOADLIBES =
19 VPATH += ${SRC_DIR}/Core
20 VPATH += ${SRC_DIR}/Devices/MediaServer
21 PLT_SOURCES = \
22 PltAction.cpp \
23 PltArgument.cpp \
24 PltCtrlPoint.cpp \
25 PltCtrlPointTask.cpp \
26 PltDatagramStream.cpp \
27 PltDeviceData.cpp \
28 PltDeviceHost.cpp \
29 PltDownloader.cpp \
30 PltEvent.cpp \
31 PltHttpClientTask.cpp \
32 PltHttpServer.cpp \
33 PltHttpServerTask.cpp \
34 PltMetadataHandler.cpp \
35 PltScheduler.cpp \
36 PltService.cpp \
37 PltSsdp.cpp \
38 PltStateVariable.cpp \
39 PltTask.cpp \
40 PltUPnP.cpp \
41 PltXML.cpp
43 PLT_MS_SOURCES = \
44 PltDidl.cpp \
45 PltMediaBrowser.cpp \
46 PltMediaItem.cpp \
47 PltMediaPlaylist.cpp \
48 PltMediaServer.cpp \
49 PltMediaServerSCPDs.cpp
51 PLT_MS_TARGET = $(PLATINUM_MS)
52 PLT_MS_OBJS = $(PLT_MS_SOURCES:.cpp=.o)
54 TARGET = $(PLATINUM)
55 OBJS = $(PLT_SOURCES:.cpp=.o) $(PLT_MS_SOURCES:.cpp=.o)
57 all: deps $(TARGET).a
59 $(PLATINUM): $(TARGET).a
61 deps:
62 make -C $(NEPTUNE_PATH)/Build/Neptune/Targets/mipsel-psp-linux $(NEPTUNE)
64 clean:
65 rm -f *.o $(TARGET).a *~ *.bak PathDefs
67 $(TARGET).a: $(OBJS)
68 $(RM) $@
69 $(AR) r $@ $^
70 $(RANLIB) $@
72 $(PLT_MS_TARGET).a: $(PLT_MS_OBJS)
73 $(RM) $@
74 $(AR) r $@ $^
75 $(RANLIB) $@
77 #----------- rules --------------
78 -include $(OBJS:.o=.d)
79 -include PathDefs
80 PathDefs:
81 psp-path-setup > PathDefs || (rm -f PathDefs ; exit 1)