annotate src/daap/Makefile @ 1450:69bff388b0f8

now it compiles
author Cristi Magherusan <majeru@atheme-project.org>
date Wed, 08 Aug 2007 22:06:42 +0300
parents 776dd8fc2b38
children 57ee341c180f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1407
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
1 include ../../mk/rules.mk
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
2 include ../../mk/init.mk
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
3
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
4 OBJECTIVE_LIBS = libdaap$(SHARED_SUFFIX)
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
5
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
6 SUBDIRS = xmms2-daap
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
7
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
8 LIBDIR = $(plugindir)/$(TRANSPORT_PLUGIN_DIR)
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
9
1450
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
10 #For the moment i'm hardcoding it but it will be configurable
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
11 #MDNS_LIBS=-ldns_sd
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
12 MDNS_LIBS=-lavahi-glib -lavahi-common -lavahi-client
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
13 #MDNS_LIBS=
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
14
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
15
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
16
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
17
69bff388b0f8 now it compiles
Cristi Magherusan <majeru@atheme-project.org>
parents: 1407
diff changeset
18 LIBADD += ./xmms2-daap/xmms2-daap.a $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(MDNS_LIBS)
1407
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
19
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
20 SOURCES = daap.c
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
21
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
22 OBJECTS = ${SOURCES:.c=.o}
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
23
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
24 LIBDEP = ./xmms2-daap/xmms2-daap.a
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
25
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
26 INC = -I../.. -I./xmms2-daap
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
27
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
28 WARN = -Wall -pedantic -std=c99
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
29
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
30 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(INC) $(WARN) $(GCC42_CFLAGS)
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
31
776dd8fc2b38 DAAP plugin (work in progress)
Cristi Magherusan <majeru@atheme-project.org>
parents:
diff changeset
32 include ../../mk/objective.mk