summaryrefslogtreecommitdiff
path: root/sim/ucsim/doc/Makefile
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /sim/ucsim/doc/Makefile
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'sim/ucsim/doc/Makefile')
-rw-r--r--sim/ucsim/doc/Makefile86
1 files changed, 86 insertions, 0 deletions
diff --git a/sim/ucsim/doc/Makefile b/sim/ucsim/doc/Makefile
new file mode 100644
index 0000000..a5c28a2
--- /dev/null
+++ b/sim/ucsim/doc/Makefile
@@ -0,0 +1,86 @@
+#
+# uCsim doc/Makefile
+#
+# (c) Drotos Daniel, Talker Bt. 1997
+#
+
+STARTYEAR = 1997
+
+SHELL = /bin/sh
+INSTALL = /usr/bin/install -c
+
+top_builddir = ..
+top_srcdir = ..
+
+prefix = /usr/local
+exec_prefix = ${prefix}
+bindir = ${exec_prefix}/bin
+libdir = ${exec_prefix}/lib
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+includedir = ${prefix}/include
+mandir = ${datarootdir}/man
+man1dir = $(mandir)/man1
+man2dir = $(mandir)/man2
+infodir = ${datarootdir}/info
+srcdir = .
+
+#docdir = $(prefix)/share/doc/ucsim
+docdir = ${datarootdir}/doc/${PACKAGE}/ucsim
+
+
+# Compiling entire program or any subproject
+# ------------------------------------------
+all: doc
+
+doc: checkconf
+
+# Compiling and installing everything and runing test
+# ---------------------------------------------------
+install: all installdirs
+ cp $(srcdir)/*.html $(DESTDIR)$(docdir)
+ cp $(srcdir)/*.svg $(DESTDIR)$(docdir)
+ cp $(srcdir)/*.jpg $(DESTDIR)$(docdir)
+ cp $(srcdir)/*.fig $(DESTDIR)$(docdir)
+
+
+# Deleting all the installed files
+# --------------------------------
+uninstall:
+ rm -rf $(DESTDIR)$(docdir)
+
+
+# Performing self-test
+# --------------------
+check:
+
+test:
+
+
+# Performing installation test
+# ----------------------------
+installcheck:
+
+
+# Creating installation directories
+# ---------------------------------
+installdirs:
+ test -d $(DESTDIR)$(docdir) || $(INSTALL) -d $(DESTDIR)$(docdir)
+ test -d $(DESTDIR)$(man1dir) || $(INSTALL) -d $(DESTDIR)$(man1dir)
+
+
+# Creating dependencies
+# ---------------------
+include $(srcdir)/clean.mk
+
+# My rules
+# --------
+
+# Remaking configuration
+# ----------------------
+checkconf:
+ @if [ -f $(top_builddir)/devel ]; then\
+ $(MAKE) -C $(top_builddir) -f conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" freshconf;\
+ fi
+
+# End of s51.src/Makefile.in