version 1.1.2.1, 2008/09/30 14:33:36
|
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 = -I. -I${INC} -I${includedir} -Wall @CFLAGS@ |
LDFLAGS = -L. -L${LIB} | 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 \ |
${OBJS} \ | ${LIBA} \ |
${LIBSO} |
${LIBSO} |
|
|
depend: |
depend: |
Line 41 install:
|
Line 44 install:
|
.c.o: |
.c.o: |
${CC} -c ${CFLAGS} $< |
${CC} -c ${CFLAGS} $< |
|
|
${LIBSO}: | ${LIBA}: ${OBJS} |
| ${AR} -rc ${LIB}/$@ ${OBJS} |
| ${RANLIB} ${LIB}/$@ |
| |
| ${LIBSO}: ${OBJS} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |