root/trunk/gsdl/packages/d2m/Makefile.in @ 10365

Revision 10365, 0.7 KB (checked in by kjdon, 15 years ago)

changed my mind, now adding these all individually instead of in a tar file

  • Property svn:keywords set to Author Date Id Revision
Line 
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
16LIB_OBJS = MARC2709.o MARCtidy.o usMARC.o util.o
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
29MARC2709.o: MARC2709.c d2m.h
30    $(CC) -c MARC2709.c
31
32util.o: util.c d2m.h
33    $(CC) -c util.c
34
35usMARC.o: usMARC.c d2m.h
36    $(CC) -c usMARC.c
37
38install:
39
40clean:
41    rm -f *.o libd2m.a
42
43distclean: clean
44    rm -f Makefile config.h
45
Note: See TracBrowser for help on using the browser.