--- libaitcfg/src/Makefile.in 2008/09/30 14:52:17 1.1.2.2 +++ libaitcfg/src/Makefile.in 2012/09/18 15:50:59 1.3.14.2 @@ -3,7 +3,7 @@ # AITNET ltd - Sofia/Bulgaria # # $Author: misho $ -# $Id: Makefile.in,v 1.1.2.2 2008/09/30 14:52:17 misho Exp $ +# $Id: Makefile.in,v 1.3.14.2 2012/09/18 15:50:59 misho Exp $ # prefix = @prefix@ @@ -22,11 +22,13 @@ LDADD = ${LIBS} CFLAGS = -I. -I${INC} -g @CFLAGS@ LDFLAGS = -L. -L${LIB} @LDFLAGS@ -SRCS = aitcfg.c parse.c tools.c queue.c -OBJS = aitcfg.o parse.o tools.o queue.o +SRCS = aitcfg.c parse.c queue.c pwd.c pq.c +OBJS = aitcfg.o parse.o queue.o pwd.o pq.o LIBSO = libaitcfg.so +LIBA = libaitcfg.a all: depend \ + ${LIBA} \ ${LIBSO} depend: @@ -39,6 +41,10 @@ install: .c.o: ${CC} -c ${CFLAGS} $< + +${LIBA}: ${OBJS} + ${AR} -rc ${LIB}/$@ ${OBJS} + ${RANLIB} ${LIB}/$@ ${LIBSO}: ${OBJS} ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}