Initial Commit
[packages] / mule-packages / mule-base / lib-src / Makefile.in.in
1 /* Extra targets from the Mule lib-src/Makefile.in.in.  Put them
2    here until we figure out what to do with them. */
3
4 srcdir=@srcdir@
5 SHELL=/bin/sh
6
7 CC=@CC@
8 CFLAGS=@CFLAGS@
9 CPP=@CPP@
10 RANLIB=@RANLIB@
11
12 xesrcdir = ${srcdir}/../../src
13 xeobjdir = ../../src
14
15 INCLUDES = -I. -I${srcdir}/.. -I${xesrcdir}
16 @SET_MAKE@
17
18 RM = rm -f
19
20 #define THIS_IS_YMAKEFILE
21 #define NOT_C_CODE
22 #include "../../src/config.h"
23
24 #ifdef MULE
25 PROGS = coco m2ps
26 #else
27 PROGS =
28 #endif
29
30 all :: $(PROGS)
31
32 FRC.mostlyclean:
33 mostlyclean: FRC.mostlyclean
34         -$(RM) *.o \#* $(PROGS)
35 clean: mostlyclean
36 distclean: clean
37         -$(RM) Makefile Makefile.in
38 realclean: distclean
39 extraclean: distclean
40         -$(RM) *~
41
42 IMPORT_H = ${xeobjdir}/config.h ${xeobjdir}/paths.h \
43            ${xesrcdir}/mule-charset.h ${xesrcdir}/mule-coding.h
44
45 bdf.o: ${srcdir}/bdf.c ${srcdir}/bdf.h ${srcdir}/mulelib.h Makefile $(IMPORT_H)
46         $(CC) -c $(INCLUDES) ${srcdir}/bdf.c
47
48 m2ps.o: ${srcdir}/m2ps.c ${srcdir}/bdf.h ${srcdir}/mulelib.h $(IMPORT_H)
49         $(CC) -c $(INCLUDES) ${srcdir}/m2ps.c
50
51 fakelisp.o: ${srcdir}/fakelisp.c ${srcdir}/fakelisp.h
52         $(CC) -c $(INCLUDES) ${srcdir}/fakelisp.c
53
54 mule-charset.o: ${xesrcdir}/mule-charset.c ${xesrcdir}/mule-charset.h ${srcdir}/fakelisp.h
55         $(CC) -c $(INCLUDES) ${xesrcdir}/mule-charset.c
56
57 mule-coding.o: ${xesrcdir}/mule-coding.c ${xesrcdir}/mule-coding.h ${xesrcdir}/mule-charset.h\
58                 ${srcdir}/fakelisp.h
59         $(CC) -c $(INCLUDES) ${xesrcdir}/mule-coding.c
60
61 mule-ccl.o: ${xesrcdir}/mule-ccl.c ${xesrcdir}/mule-charset.h ${xesrcdir}/mule-coding.h
62         $(CC) -c $(INCLUDES) ${xesrcdir}/mule-ccl.c
63
64 mulelib.o: ${srcdir}/mulelib.c ${srcdir}/mulelib.h ${srcdir}/fakelisp.h $(IMPORT_H)
65         $(CC) -c $(INCLUDES) ${srcdir}/mulelib.c
66
67 M2PSOBJ = bdf.o m2ps.o fakelisp.o mule-charset.o mule-coding.o mule-ccl.o mulelib.o
68
69 m2ps: $(M2PSOBJ)
70         $(CC) $(LINK_CFLAGS) $(M2PSOBJ) $(LOADLIBES) -o $@
71
72 coco.o: ${srcdir}/coco.c ${srcdir}/mulelib.h $(IMPORT_H)
73         $(CC) -c $(INCLUDES) ${srcdir}/coco.c
74
75 COCOOBJ = coco.o fakelisp.o mule-charset.o mule-coding.o mule-ccl.o mulelib.o
76
77 coco: $(COCOOBJ)
78         $(CC) $(LINK_CFLAGS) $(COCOOBJ) $(LOADLIBES) -o $@