File:  [ELWIX - Embedded LightWeight unIX -] / libaitpelco / src / Makefile.in
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Apr 27 16:31:32 2014 UTC (10 years, 1 month ago) by misho
Branches: MAIN
CVS tags: pelco2_3, pelco2_2, PELCO2_2, PELCO2_1, HEAD
version 2.1

    1: #
    2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
    3: #   AITNET ltd - Sofia/Bulgaria
    4: #
    5: # $Author: misho $
    6: # $Id: Makefile.in,v 1.2 2014/04/27 16:31:32 misho Exp $
    7: #
    8: 
    9: prefix = @prefix@
   10: exec_prefix = @exec_prefix@
   11: includedir = @includedir@
   12: libdir = @libdir@
   13: 
   14: LIBS = @LIBS@
   15: 
   16: CC = @CC@
   17: MKDEP = @MKDEP@
   18: RANLIB = @RANLIB@
   19: 
   20: INC = ../inc
   21: LIB = ../lib
   22: 
   23: LDADD = ${LIBS}
   24: 
   25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
   26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
   27: 
   28: SRCS = aitpelco.c get.c set.c
   29: OBJS = aitpelco.o get.o set.o
   30: LIBA = libaitpelco.a
   31: LIBSO = libaitpelco.so
   32: 
   33: 
   34: all: depend \
   35: 		${LIBA} \
   36: 		${LIBSO}
   37: 
   38: depend:
   39: 	${MKDEP} ${CFLAGS} ${SRCS}
   40: 
   41: clean:
   42: 	@rm -f *.o .depend *~
   43: 
   44: install:
   45: 
   46: .c.o:
   47: 	${CC} ${CFLAGS} -c $<
   48: 
   49: ${LIBA}: ${OBJS}
   50: 	${AR} -rc ${LIB}/$@ ${OBJS}
   51: 	${RANLIB} ${LIB}/$@
   52: 
   53: ${LIBSO}: ${OBJS}
   54: 	${CC} ${LDFLAGS} -o ${LIB}/$@ -shared -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>