Makefile 966 Bytes
Newer Older
jgladish's avatar
jgladish committed
1 2
SRCS=DeviceProviders/AllJoynProvider.cpp \
     DeviceProviders/AllJoynService.cpp \
gladish's avatar
gladish committed
3
     Bridge/AllJoynAbout.cpp \
4
     Bridge/Bridge.cpp \
5 6
     Bridge/BridgeConfig.cpp \
     Bridge/BridgeDevice.cpp \
gladish's avatar
gladish committed
7
     Bridge/ConfigManager.cpp \
gladish's avatar
gladish committed
8 9 10 11 12
     Common/Log.cpp \
     Adapters/MockAdapter/MockAdapter.cpp \
     Adapters/MockAdapter/MockDevices.cpp \
     Adapters/MockAdapter/MockAdapterDevice.cpp \
     main.cpp
jgladish's avatar
jgladish committed
13

14 15
LIBXML_INC=/usr/include/libxml2

jgladish's avatar
jgladish committed
16 17
ALLJOYN_INSTALL_DIR=/Users/jgladi200/Work/alljoyn/alljoyn-15.04.00-src/build/darwin/x86/debug/dist/cpp

18 19
CXXFLAGS=-D QCC_OS_GROUP_POSIX -Wall -Wextra -g -std=c++0x -I.  -I$(ALLJOYN_INSTALL_DIR)/inc -I$(LIBXML_INC)
LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto -lxml2
jgladish's avatar
jgladish committed
20 21 22
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o,$(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)

gladish's avatar
gladish committed
23
all: moc-adapter 
jgladish's avatar
jgladish committed
24 25

clean:
26
	$(RM) MockAdapter core DeviceProviders/*.o Bridge/*.o Common/*.o Adapters/MockAdapter/*.o
jgladish's avatar
jgladish committed
27

gladish's avatar
gladish committed
28 29

moc-adapter: $(OBJS)
jgladish's avatar
jgladish committed
30 31 32
	$(CXX) -o $@ $^ $(LDFLAGS)