source: main/trunk/greenstone2/runtime-src/packages/d2m/Makefile.in@ 22392

Last change on this file since 22392 was 22392, checked in by kjdon, 14 years ago

want to use is/uni/swe/nor/dan/fin MARCs so added them in to Makefile, and into lib.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
RevLine 
[10365]1# ///////////////// d2m : Dublin Core to MARC converter /////////////////////
2#
3#
4# Modified for Greenstone kjdon May 2005.
5# Used by z3950server
6
7CC = @CC@
8AR = ar
9RANLIB = @RANLIB@
10
11o = .@U@o
12
13# This may have to uncomment this on solaris ???
14# LIBS = -lsocket -lnsl
15
[22392]16LIB_OBJS = MARC2709.o MARCtidy.o MARCmake.o usMARC.o danMARC.o finMARC.o norMARC.o sweMARC.o uniMARC.o isMARC.o util.o
[10365]17
18all: libd2m.a
19
20libd2m.a: $(LIB_OBJS)
21 rm -f libd2m.a
22 $(AR) cru libd2m.a $(LIB_OBJS)
23 $(RANLIB) libd2m.a
24
25
26MARCtidy.o: MARCtidy.c d2m.h
27 $(CC) -c MARCtidy.c
28
[22392]29MARCmake.o: MARCmake.c d2m.h
30 $(CC) -c MARCmake.c
31
[10365]32MARC2709.o: MARC2709.c d2m.h
33 $(CC) -c MARC2709.c
34
35util.o: util.c d2m.h
36 $(CC) -c util.c
37
[22392]38danMARC.o: danMARC.c d2m.h
39 $(CC) -c danMARC.c
40
41finMARC.o: finMARC.c d2m.h
42 $(CC) -c finMARC.c
43
44norMARC.o: norMARC.c d2m.h
45 $(CC) -c norMARC.c
46
47sweMARC.o: sweMARC.c d2m.h
48 $(CC) -c sweMARC.c
49
[10365]50usMARC.o: usMARC.c d2m.h
51 $(CC) -c usMARC.c
52
[22392]53isMARC.o: isMARC.c d2m.h
54 $(CC) -c isMARC.c
55
56uniMARC.o: uniMARC.c d2m.h
57 $(CC) -c uniMARC.c
58
[10365]59install:
60
61clean:
62 rm -f *.o libd2m.a
63
64distclean: clean
65 rm -f Makefile config.h
66
Note: See TracBrowser for help on using the repository browser.