File:
[ELWIX - Embedded LightWeight unIX -] /
libaitcli /
src /
Makefile.in
Revision
1.4:
download - view:
text,
annotated -
select for diffs -
revision graph
Thu Aug 18 09:27:37 2016 UTC (8 years, 5 months ago) by
misho
Branches:
MAIN
CVS tags:
cli4_6,
cli4_5,
cli4_4,
cli4_3,
cli4_2,
cli4_1,
HEAD,
CLI4_5,
CLI4_4,
CLI4_3,
CLI4_2,
CLI4_1,
CLI4_0
version 4.0
#
# (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.4 2016/08/18 09:27:37 misho Exp $
#
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
LIBS = @LIBS@
CC = @CC@
RANLIB = @RANLIB@
MKDEP = @MKDEP@
INC = ../inc
LIB = ../lib
LDADD = ${LIBS}
CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
SRCS = aitcli.c cli.c telnet.c
OBJS = aitcli.o cli.o telnet.o
LIBSO = libaitcli.so
LIBA = libaitcli.a
all: depend \
${LIBA} \
${LIBSO}
depend:
${MKDEP} ${CFLAGS} ${SRCS}
clean:
@rm -f *.o *~ .depend
install:
.c.o:
${CC} -c ${CFLAGS} $<
${LIBA}: ${OBJS}
${AR} -rc ${LIB}/$@ ${OBJS}
${RANLIB} ${LIB}/$@
${LIBSO}: ${OBJS}
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>