aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..f656bce
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,38 @@
+#
+# Ivy, Java interface
+#
+# Copyright (C) 1998-1999
+# Centre d'Études de la Navigation Aérienne
+#
+# Makefile
+#
+# Authors: Francois-Regis Colin <colin@cenatoulouse.dgac.fr>
+# Yannick Jestin <jestin@cenatoulouse.dgac.fr>
+#
+# $Id$
+#
+SHELL = /bin/sh
+VERSION = 1.0
+
+all:
+
+install:
+ test -d $(PREFIX)/tmp/fr/dgac/ivy || mkdirhier $(PREFIX)/tmp/fr/dgac/ivy
+ for f in `find *.class -type f -maxdepth 1`; do \
+ cp $$f $(PREFIX)/tmp/fr/dgac/ivy; \
+ done
+ cd $(PREFIX)/tmp && jar cvf ivy-java.jar fr/
+
+ test -d $(PREFIX)/usr/lib || mkdirhier $(PREFIX)/usr/lib
+ install -m 644 $(PREFIX)/tmp/ivy-java.jar $(PREFIX)/usr/lib
+ \rm -rf $(PREFIX)/tmp/
+ test -d $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy || mkdirhier $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy
+ for f in `find *.java -type f -maxdepth 1`; do \
+ install -m 644 $$f $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy; \
+ done
+ test -d $(PREFIX)/usr/man/man1 || mkdirhier $(PREFIX)/usr/man/man1
+ for f in `find ../doc/*.1 -type f -maxdepth 1`; do \
+ install -m 644 $$f $(PREFIX)/usr/man/man1; \
+ done
+rpm::
+ /usr/bin/rpmize