Mercurial > libpst
comparison Makefile @ 2:8dd68d722fa8
add ldif converters
author | carl |
---|---|
date | Sun, 11 Jul 2004 13:31:02 -0700 |
parents | 6b1b602514db |
children | 3e9cea0af4a1 |
comparison
equal
deleted
inserted
replaced
0:6b1b602514db | 2:8dd68d722fa8 |
---|---|
1 GCC_FLAGS=-g ${CFLAGS} | 1 GCC_FLAGS=-g ${CFLAGS} |
2 | 2 |
3 all: readpst getidblock readpstlog dumpblocks | 3 all: readpst pst2ldif nick2ldif getidblock readpstlog dumpblocks |
4 | 4 |
5 libpst.o: libpst.c libpst.h define.h | 5 libpst.o: libpst.c libpst.h define.h |
6 gcc ${GCC_FLAGS} -c libpst.c -o libpst.o | 6 gcc ${GCC_FLAGS} -c libpst.c -o libpst.o |
7 | 7 |
8 libstrfunc.o: libstrfunc.c libstrfunc.h | 8 libstrfunc.o: libstrfunc.c libstrfunc.h |
17 readpst: readpst.c define.h libpst.o timeconv.o libstrfunc.o common.h debug.o lzfu.o | 17 readpst: readpst.c define.h libpst.o timeconv.o libstrfunc.o common.h debug.o lzfu.o |
18 # ccmalloc gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o | 18 # ccmalloc gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o |
19 # gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o -lefence | 19 # gcc -Wall -Werror readpst.c -g -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o -lefence |
20 gcc ${GCC_FLAGS} readpst.c -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o | 20 gcc ${GCC_FLAGS} readpst.c -o readpst libpst.o timeconv.o libstrfunc.o debug.o lzfu.o |
21 | 21 |
22 pst2ldif: pst2ldif.c define.h libpst.o timeconv.o libstrfunc.o common.h debug.o lzfu.o | |
23 gcc ${GCC_FLAGS} pst2ldif.c -o pst2ldif libpst.o timeconv.o libstrfunc.o debug.o lzfu.o | |
24 | |
25 nick2ldif: nick2ldif.cpp define.h libpst.o timeconv.o libstrfunc.o common.h debug.o lzfu.o | |
26 g++ ${GCC_FLAGS} nick2ldif.cpp -o nick2ldif libpst.o timeconv.o libstrfunc.o debug.o lzfu.o | |
27 | |
22 timeconv.o: timeconv.c timeconv.h common.h | 28 timeconv.o: timeconv.c timeconv.h common.h |
23 gcc ${GCC_FLAGS} -c timeconv.c -o timeconv.o | 29 gcc ${GCC_FLAGS} -c timeconv.c -o timeconv.o |
24 | 30 |
25 getidblock: getidblock.c define.h libpst.o common.h debug.o libstrfunc.o | 31 getidblock: getidblock.c define.h libpst.o common.h debug.o libstrfunc.o |
26 gcc ${GCC_FLAGS} getidblock.c -o getidblock libpst.o debug.o timeconv.o libstrfunc.o | 32 gcc ${GCC_FLAGS} getidblock.c -o getidblock libpst.o debug.o timeconv.o libstrfunc.o |
32 gcc ${GCC_FLAGS} readpstlog.c -g -o readpstlog debug.o libstrfunc.o | 38 gcc ${GCC_FLAGS} readpstlog.c -g -o readpstlog debug.o libstrfunc.o |
33 | 39 |
34 dumpblocks: dumpblocks.c define.h libpst.o debug.o | 40 dumpblocks: dumpblocks.c define.h libpst.o debug.o |
35 gcc ${GCC_FLAGS} dumpblocks.c -o dumpblocks libpst.o debug.o libstrfunc.o timeconv.o | 41 gcc ${GCC_FLAGS} dumpblocks.c -o dumpblocks libpst.o debug.o libstrfunc.o timeconv.o |
36 | 42 |
37 clean: | 43 clean: |
38 rm -f core readpst libpst.o timeconv.o libstrfunc.o debug.o getidblock readpstlog testdebug dumpblocks lzfu.o *~ | 44 rm -f core readpst pst2ldif libpst.o timeconv.o libstrfunc.o debug.o getidblock readpstlog testdebug dumpblocks lzfu.o *~ |
39 | 45 |
40 rebuild: clean all | 46 rebuild: clean all |
41 | 47 |
42 install: all | 48 install: all |
43 cp readpst /usr/local/bin | 49 cp readpst /usr/local/bin |
44 cp readpstlog /usr/local/bin/readpstlog | 50 cp pst2ldif /usr/local/bin |
51 cp readpstlog /usr/local/bin | |
45 uninstall: | 52 uninstall: |
46 rm -f /usr/local/bin/readpst | 53 rm -f /usr/local/bin/readpst |
54 rm -f /usr/local/bin/pst2ldif | |
47 rm -f /usr/local/bin/readpstlog | 55 rm -f /usr/local/bin/readpstlog |