summaryrefslogtreecommitdiffstats
blob: 2821d18402ca3135cfe5f320c55855bfc275ef9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SLIMBER_TARGET = Slimber/Slimber.a
SLIMBER_SOURCES = \
	Slimber/LinkLocalPresenceManager.cpp \
	Slimber/FileVCardCollection.cpp \
	Slimber/VCardCollection.cpp \
	Slimber/Server.cpp \
	Slimber/MainController.cpp \
	Slimber/MenuletController.cpp \
	Slimber/Menulet.cpp
SLIMBER_OBJECTS = \
	$(SLIMBER_SOURCES:.cpp=.o)

DEPS += $(SLIMBER_SOURCES:.cpp=.dep)
UNITTEST_LIBS += $(SLIMBER_TARGET)

include Slimber/UnitTest/Makefile.inc
include Slimber/CLI/Makefile.inc
ifeq ($(MACOSX),1)
include Slimber/Cocoa/Makefile.inc
endif

.PHONY: slimber
slimber: $(SLIMBER_TARGETS)

$(SLIMBER_TARGET): $(SLIMBER_OBJECTS)
	$(QUIET_AR)$(AR) $(ARFLAGS) $@ $(SLIMBER_OBJECTS)