From dc0c5c4cfeefae2abc41d2475ed69e8fa26af1ee Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 28 Aug 2005 16:22:42 +0000 Subject: the whole libconfig + my development tree for ACL/ config git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@20 7dcaeef0-15fb-0310-b436-a5af3365683c --- sftp_server/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'sftp_server/Makefile') diff --git a/sftp_server/Makefile b/sftp_server/Makefile index ca0a1b1c..acc1c6a2 100644 --- a/sftp_server/Makefile +++ b/sftp_server/Makefile @@ -1,5 +1,4 @@ - -OBJECTS= main.o +OBJECTS= main.o config.o list.o SHELL = /bin/sh @@ -15,16 +14,21 @@ libdir = $(prefix)/lib/ mandir = $(prefix)/man/man1 CC = gcc -CFLAGS = -g -O2 -Wall -g -I../include/ -LDFLAGS = -L../libssh/ -lssh -LIBS = -lz -lcrypto +CFLAGS = -g -O2 -Wall -g -I../include/ -Ilibconfig/ +LDFLAGS = -L../libssh/ -lssh -Llibconfig/ +LIBS = -lz -lcrypto -lconfig INSTALL = /usr/bin/install -c DYLIB_EXTENSION = so LIBSSH_LDFLAGS = -shared all: sftp_server +main.o: server.h +list.o: server.h +config.o: server.h + sftp_server: $(OBJECTS) ../libssh/libssh.$(DYLIB_EXTENSION) + make -C libconfig/ $(CC) -o sftp_server $(OBJECTS) $(LIBS) $(LDFLAGS) install: all $(top_srcdir)/mkinstalldirs $(incldir) -- cgit