summaryrefslogtreecommitdiff
path: root/dviware/dvibook/Dvibook/Imakefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/dvibook/Dvibook/Imakefile
Initial commit
Diffstat (limited to 'dviware/dvibook/Dvibook/Imakefile')
-rw-r--r--dviware/dvibook/Dvibook/Imakefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/dviware/dvibook/Dvibook/Imakefile b/dviware/dvibook/Dvibook/Imakefile
new file mode 100644
index 0000000000..c2ae432374
--- /dev/null
+++ b/dviware/dvibook/Dvibook/Imakefile
@@ -0,0 +1,28 @@
+OBJS =dvibook.o
+SRCS =dvibook.c
+
+ LIBTEXROOT= ../
+ LIBTEXSRC = ../libtex
+ LIBTEX = $(LIBTEXSRC)/libtex.a
+ DEPLIBTEX = $(LIBTEX)
+ DEPLIBS = $(DEPLIBTEX) XawClientDepLibs
+LOCAL_LIBRARIES = $(LIBTEX)
+
+ DEFINES = -I$(LIBTEXROOT)
+
+FILES =Imakefile dvibook.man Makefile.raw $(SRCS)
+
+all: dvibook
+
+NormalProgramTarget(dvibook,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYSLIBS))
+InstallProgram(dvibook, $(BINDIR))
+InstallManPage(dvibook,$(MANDIR))
+DependTarget()
+TagsTarget()
+
+tar:
+ cd ../..;\
+ for file in $(FILES); \
+ do \
+ tar rf $(TARFILE) $(PRODUCT)/Dvibook/$$file; \
+ done