barrier/synergy/Makefile
crs 23f948d55a checkpoint. first cut of client and server apps. not tested
yet but they compile and *should* work as is.
2001-10-08 19:24:46 +00:00

50 lines
898 B
Makefile

DEPTH=..
include $(DEPTH)/Makecommon
#
# source files
#
LCXXINCS = \
-I$(DEPTH)/base \
-I$(DEPTH)/mt \
-I$(DEPTH)/io \
-I$(DEPTH)/net \
$(NULL)
CXXFILES = \
CInputPacketStream.cpp \
COutputPacketStream.cpp \
CTCPSocketFactory.cpp \
CProtocolUtil.cpp \
CClient.cpp \
CServerProtocol.cpp \
CServerProtocol1_0.cpp \
CScreenMap.cpp \
CServer.cpp \
CXWindowsPrimaryScreen.cpp \
CXWindowsSecondaryScreen.cpp \
XSynergy.cpp \
$(NULL)
#
# libraries we depend on
#
DEPLIBS = \
$(LIBDIR)/libnet.a \
$(LIBDIR)/libio.a \
$(LIBDIR)/libmt.a \
$(LIBDIR)/libbase.a \
$(NULL)
LLDLIBS = \
$(DEPLIBS) \
-lpthread \
$(NULL)
targets: server client
server: server.o $(OBJECTS) $(DEPLIBS)
$(CXX) $(CXXFLAGS) -o $@ server.o $(OBJECTS) $(LDFLAGS)
client: client.o $(OBJECTS) $(DEPLIBS)
$(CXX) $(CXXFLAGS) -o $@ client.o $(OBJECTS) $(LDFLAGS)