mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-03 14:04:19 +08:00
started to convert to autoconf/automake.
This commit is contained in:
@@ -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
29
client/Makefile.am
Normal 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)
|
||||
Reference in New Issue
Block a user