summaryrefslogtreecommitdiff
path: root/ptranslate-build/translators-posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ptranslate-build/translators-posix/Makefile')
-rw-r--r--ptranslate-build/translators-posix/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/ptranslate-build/translators-posix/Makefile b/ptranslate-build/translators-posix/Makefile
new file mode 100644
index 0000000..95f3505
--- /dev/null
+++ b/ptranslate-build/translators-posix/Makefile
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+#name = ptranslate-unix
+#ver = 1.9.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# DO NOT edit this file, it has been generated by configure, and will
+# be overwritten. Instead, edit the file `Makefile.in'
+
+mysrcdir = $(srcdir)/translators-posix
+
+all : x-bzip2 x-gzip x-tar
+install : mime install-x-bzip2 install-x-gzip install-x-tar
+.PHONY : install-x-bzip2 install-x-gzip install-x-tar
+.SUFFIXES :
+VPATH = $(mysrcdir)
+$(info $(VPATH))
+
+mime :
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/application
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/audio
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/image
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/message
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/model
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/multipart
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/text
+ $(MKDIR) $(DESTDIR)$(libexecdir)/media-types/video
+
+
+install-x-bzip2: $(DESTDIR)$(libexecdir)/media-types/application/x-bzip2
+install-x-gzip : $(DESTDIR)$(libexecdir)/media-types/application/x-gzip
+install-x-tar : $(DESTDIR)$(libexecdir)/media-types/application/x-tar
+
+$(DESTDIR)$(libexecdir)/media-types/application/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/audio/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/image/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/message/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/model/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/multipart/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/text/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(DESTDIR)$(libexecdir)/media-types/video/% : % mime; $(INSTALL_PROGRAM) $< $@
+
+uninstall :
+ $(RM) -r $(DESTDIR)$(libexecdir)/media-types
+