summaryrefslogtreecommitdiffstats
blob: 16fcb8fbc4770cec63f28d8cfcf2a45abbc6c656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SLIMBER_TARGET = Slimber/Slimber.a
SLIMBER_SOURCES = \
	Slimber/LinkLocalPresenceManager.cpp \
	Slimber/FileVCardCollection.cpp \
	Slimber/VCardCollection.cpp \
	Slimber/Server.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)