diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-08-28 16:22:42 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-08-28 16:22:42 +0000 |
commit | dc0c5c4cfeefae2abc41d2475ed69e8fa26af1ee (patch) | |
tree | ace40eae799ba4d63692b69449d5ca7f3329432e /sftp_server/Makefile | |
parent | c76e6e496d6065b8cb61c5ea25df6a38619cfdf4 (diff) | |
download | libssh-dc0c5c4cfeefae2abc41d2475ed69e8fa26af1ee.tar.gz libssh-dc0c5c4cfeefae2abc41d2475ed69e8fa26af1ee.tar.xz libssh-dc0c5c4cfeefae2abc41d2475ed69e8fa26af1ee.zip |
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
Diffstat (limited to 'sftp_server/Makefile')
-rw-r--r-- | sftp_server/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
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) |