Permalink
Browse files

minor chages for the future

  • Loading branch information...
1 parent 86120dc commit 615238b2988203e7d699da495500e7ddc6827d2c @nazarov-andrey nazarov-andrey committed Aug 2, 2012
Showing with 34 additions and 3 deletions.
  1. +13 −0 Makefile.android
  2. +21 −3 Makefile.in
View
@@ -4,3 +4,16 @@ include Makefile.in
INSTALL_OPTS = src/android/libpng/libpng.a
INSTALL_OPTS += src/android/libjpeg/libjpeg.a
INSTALL_OPTS += src/android/libcurl/libcurl.a
+
+#lib::
+# ant -buildfile src/android/java/build.xml release
+#
+#debug::
+# ant -buildfile src/android/java/build.xml debug
+#
+#install::
+# sudo mkdir /usr/share/java/lightning
+# sudo cp src/android/java/bin/classes.jar /usr/share/java/lightning/lightning.jar
+#
+#uninstall::
+# sudo rm -rf /usr/share/java/lightning
View
@@ -1,7 +1,13 @@
-lib:
+#lib::
+# $(MAKE) -C src $(LIB)
+#
+#debug::
+# $(MAKE) -C src debug
+
+lib::
$(MAKE) -C src $(LIB)
-debug:
+debug::
$(MAKE) -C src debug
%.cmo:
@@ -31,6 +37,18 @@ ifneq (,$(findstring syntax,$(LIB)))
INSTALL_FILES += $(SYNTAX_FILES)
endif
+#install:: lib
+# cp $(META) META
+# sudo $(OCAMLFIND) install lightning META $(INSTALL_FILES) src/*.cmi src/*.mli src/containers/*.cmi src/containers/*.mli\
+# src/social/facebook/*.mli src/social/facebook/*.cmi \
+# src/tapjoy/*.cmi src/tapjoy/*.mli \
+# src/flurry/*.cmi src/flurry/*.mli \
+# src/social/oauth/*.cmi src/social/oauth/*.mli \
+# src/social/*.cmi src/social/*.mli $(INSTALL_OPTS)
+#
+#uninstall::
+# sudo $(OCAMLFIND) remove lightning
+
install: lib
cp $(META) META
sudo $(OCAMLFIND) install lightning META $(INSTALL_FILES) src/*.cmi src/*.mli src/containers/*.cmi src/containers/*.mli\
@@ -50,7 +68,7 @@ reinstall: uninstall install
doc:
$(MAKE) -C src doc
-clean:
+clean:
$(MAKE) -C src clean
$(MAKE) -C src/tapjoy clean
$(MAKE) -C src/flurry clean

0 comments on commit 615238b

Please sign in to comment.