version 1.1.2.2, 2008/09/30 14:52:17
|
version 1.4.8.1, 2014/01/21 16:05:55
|
Line 8
|
Line 8
|
|
|
prefix = @prefix@ |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
exec_prefix = @exec_prefix@ |
|
includedir = @includedir@ |
|
libdir = @libdir@ |
|
|
LIBS = @LIBS@ |
LIBS = @LIBS@ |
|
|
Line 19 LIB = ../lib
|
Line 21 LIB = ../lib
|
|
|
LDADD = ${LIBS} |
LDADD = ${LIBS} |
|
|
CFLAGS = -I. -I${INC} -g @CFLAGS@ | CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@ |
LDFLAGS = -L. -L${LIB} @LDFLAGS@ | LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@ |
|
|
SRCS = aitcfg.c parse.c tools.c queue.c | SRCS = aitcfg.c parse.c queue.c pwd.c pq.c |
OBJS = aitcfg.o parse.o tools.o queue.o | OBJS = aitcfg.o parse.o queue.o pwd.o pq.o |
LIBSO = libaitcfg.so |
LIBSO = libaitcfg.so |
|
LIBA = libaitcfg.a |
|
|
all: depend \ |
all: depend \ |
|
${LIBA} \ |
${LIBSO} |
${LIBSO} |
|
|
depend: |
depend: |
Line 39 install:
|
Line 43 install:
|
|
|
.c.o: |
.c.o: |
${CC} -c ${CFLAGS} $< |
${CC} -c ${CFLAGS} $< |
|
|
|
${LIBA}: ${OBJS} |
|
${AR} -rc ${LIB}/$@ ${OBJS} |
|
${RANLIB} ${LIB}/$@ |
|
|
${LIBSO}: ${OBJS} |
${LIBSO}: ${OBJS} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |