2001-11-18 23:14:28 +00:00
|
|
|
DEPTH=..
|
|
|
|
include $(DEPTH)/Makecommon
|
|
|
|
|
|
|
|
#
|
|
|
|
# target file
|
|
|
|
#
|
2001-11-19 00:33:36 +00:00
|
|
|
TARGETS = server
|
2001-11-18 23:14:28 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# source files
|
|
|
|
#
|
|
|
|
LCXXINCS = \
|
|
|
|
-I$(DEPTH)/base \
|
|
|
|
-I$(DEPTH)/mt \
|
|
|
|
-I$(DEPTH)/io \
|
|
|
|
-I$(DEPTH)/net \
|
|
|
|
-I$(DEPTH)/synergy \
|
|
|
|
$(NULL)
|
|
|
|
CXXFILES = \
|
|
|
|
CScreenMap.cpp \
|
|
|
|
CServerProtocol.cpp \
|
|
|
|
CServerProtocol1_0.cpp \
|
|
|
|
CXWindowsPrimaryScreen.cpp \
|
|
|
|
CServer.cpp \
|
|
|
|
server.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
#
|
|
|
|
# libraries we depend on
|
|
|
|
#
|
|
|
|
DEPLIBS = \
|
|
|
|
$(LIBDIR)/libsynergy.a \
|
|
|
|
$(LIBDIR)/libnet.a \
|
|
|
|
$(LIBDIR)/libio.a \
|
|
|
|
$(LIBDIR)/libmt.a \
|
|
|
|
$(LIBDIR)/libbase.a \
|
|
|
|
$(NULL)
|
|
|
|
LLDLIBS = \
|
|
|
|
$(DEPLIBS) \
|
|
|
|
-lpthread \
|
|
|
|
$(NULL)
|
|
|
|
|
2001-11-19 00:33:36 +00:00
|
|
|
targets: $(TARGETS)
|
2001-11-18 23:14:28 +00:00
|
|
|
|
2001-11-19 00:33:36 +00:00
|
|
|
$(TARGETS): $(OBJECTS) $(DEPLIBS)
|
2001-11-18 23:14:28 +00:00
|
|
|
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
|
|
|
|
|