aboutsummaryrefslogtreecommitdiffstats
path: root/troff/troff.d/dpost.d/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'troff/troff.d/dpost.d/Makefile.mk')
-rw-r--r--troff/troff.d/dpost.d/Makefile.mk42
1 files changed, 42 insertions, 0 deletions
diff --git a/troff/troff.d/dpost.d/Makefile.mk b/troff/troff.d/dpost.d/Makefile.mk
new file mode 100644
index 000000000000..36847f46d999
--- /dev/null
+++ b/troff/troff.d/dpost.d/Makefile.mk
@@ -0,0 +1,42 @@
+BST = ../../../stuff/bst
+
+OBJ = dpost.o draw.o color.o pictures.o ps_include.o afm.o \
+ makedev.o glob.o misc.o request.o version.o getopt.o \
+ asciitype.o otf.o ../fontmap.o $(BST)/bst.o
+
+FLAGS = -I. -I.. -DFNTDIR='"$(FNTDIR)"' -DPSTDIR='"$(PSTDIR)"' $(EUC) \
+ $(DEFINES) -I../../../include -I.. -I$(BST)
+
+.c.o:
+ $(CC) $(CFLAGS) $(WARN) $(CPPFLAGS) $(FLAGS) -c $<
+
+all: dpost
+
+dpost: $(OBJ)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o dpost
+
+install:
+ $(INSTALL) -c dpost $(ROOT)$(BINDIR)/dpost
+ $(STRIP) $(ROOT)$(BINDIR)/dpost
+ mkdir -p $(ROOT)$(MANDIR)/man1
+ $(INSTALL) -c -m 644 dpost.1 $(ROOT)$(MANDIR)/man1/dpost.1
+
+clean:
+ rm -f $(OBJ) dpost core log *~
+
+mrproper: clean
+
+color.o: color.c gen.h ext.h
+dpost.o: dpost.c comments.h gen.h path.h ext.h ../dev.h dpost.h ../afm.h \
+ asciitype.h
+draw.o: draw.c gen.h ext.h
+glob.o: glob.c gen.h
+misc.o: misc.c gen.h ext.h path.h asciitype.h
+pictures.o: pictures.c comments.h gen.h path.h
+ps_include.o: ps_include.c ext.h gen.h asciitype.h path.h
+request.o: request.c gen.h request.h path.h
+afm.o: afm.c ../dev.h ../afm.h ../afm.c
+otf.o: otf.c ../dev.h ../afm.h ../otf.c
+makedev.o: makedev.c ../dev.h ../makedev.c
+asciitype.o: asciitype.h
+version.o: version.c ../../version.c