started to convert to autoconf/automake.

This commit is contained in:
crs
2002-06-18 19:44:34 +00:00
parent fadc73d348
commit 1c604ecc3d
26 changed files with 507 additions and 618 deletions

View File

@@ -1,47 +0,0 @@
DEPTH=..
include $(DEPTH)/Makecommon
#
# target file
#
TARGET = synergy
#
# source files
#
LCXXINCS = \
-I$(DEPTH)/base \
-I$(DEPTH)/mt \
-I$(DEPTH)/io \
-I$(DEPTH)/net \
-I$(DEPTH)/synergy \
-I$(DEPTH)/platform \
$(NULL)
CXXFILES = \
CXWindowsSecondaryScreen.cpp \
CClient.cpp \
client.cpp \
$(NULL)
#
# libraries we depend on
#
DEPLIBS = \
$(LIBDIR)/libplatform.a \
$(LIBDIR)/libsynergy.a \
$(LIBDIR)/libnet.a \
$(LIBDIR)/libio.a \
$(LIBDIR)/libmt.a \
$(LIBDIR)/libbase.a \
$(NULL)
LLDLIBS = \
$(DEPLIBS) \
-lpthread \
$(NULL)
targets: $(BINTARGET)
$(BINTARGET): $(OBJECTS) $(DEPLIBS)
if test ! -d $(BINDIR); then $(MKDIR) $(BINDIR); fi
$(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)

29
client/Makefile.am Normal file
View File

@@ -0,0 +1,29 @@
## Process this file with automake to produce Makefile.in
NULL =
DEPTH = ..
bin_PROGRAMS = synergy
synergy_SOURCES = \
CXWindowsSecondaryScreen.cpp \
CClient.cpp \
client.cpp \
$(NULL)
synergy_LDADD = \
$(DEPTH)/platform/libplatform.a \
$(DEPTH)/synergy/libsynergy.a \
$(DEPTH)/net/libnet.a \
$(DEPTH)/io/libio.a \
$(DEPTH)/mt/libmt.a \
$(DEPTH)/base/libbase.a \
-lX11 \
-lXext \
-lXtst \
$(NULL)
INCLUDES = \
-I$(DEPTH)/base \
-I$(DEPTH)/mt \
-I$(DEPTH)/io \
-I$(DEPTH)/net \
-I$(DEPTH)/synergy \
-I$(DEPTH)/platform \
$(NULL)