Skip to content

Commit

Permalink
Release 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed Apr 25, 2016
1 parent ae118b4 commit bdc59db
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
27 changes: 22 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
ARCHS=armv7 arm64

ifeq ($(shell uname),Linux)
# LINUX: GNU / ANDROID
# __
# -=(o '.
# \.-.\
# /| \\
# '| ||
# _\_):,_

CFLAGS+=-Wall

Expand All @@ -14,10 +21,13 @@ PREFIX?=/usr

clean:
rm -f fsmon

.PHONY: all fsmon clean install uninstall

else
# APPLE: OSX / IOS / IWATCH
# _
# _\)/_
# / \
# \ /
# \_._/

DESTDIR?=
PREFIX?=/usr/local
Expand Down Expand Up @@ -79,7 +89,7 @@ clean:
rm -f fsmon-osx fsmon-ios
rm -rf fsmon*.dSYM

.PHONY: all ios osx wch fat clean
.PHONY: cydia ios osx fat wch

endif

Expand All @@ -91,6 +101,11 @@ uninstall:
rm -f /usr/local/bin/fsmon
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/fsmon.1

# ANDROID
#
# \.-----./
# / o o \
# `-------'
LOLLIPOP_CFLAGS=-DHAVE_FANOTIFY=1 -DHAVE_SYS_FANOTIFY=0
KITKAT_CFLAGS=-DHAVE_FANOTIFY=0 -DHAVE_SYS_FANOTIFY=0

Expand All @@ -104,4 +119,6 @@ kitkat:
./ndk-gcc 19 -fPIC -pie $(KITKAT_CFLAGS) $(CFLAGS) $(LDFLAGS) -o fsmon-and \
main.c fsmon-linux.c util.c

.PHONY: android lollipop kitkat cydia
.PHONY: android lollipop kitkat
.PHONY: install uninstall
.PHONY: all fsmon clean
2 changes: 1 addition & 1 deletion cydia/CONFIG
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE=fsmon
VERSION=1.0
VERSION=1.1
ARCH=iphoneos-arm
SECTION=user/shell
PRIORITY=optional
Expand Down
3 changes: 2 additions & 1 deletion cydia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ PACKAGE_DIR?=${PWD}
all:
$(SUDO) $(MAKE) mrproper
mkdir -p data root/usr/bin
cp -rf ../fsmon-ios root/usr/bin/fsmon
cp -f ../fsmon-ios root/usr/bin/fsmon
cp -f ../fsmon.1 root/usr/share/man/man1/fsmon.1
$(SUDO) $(MAKE) debroot

clean:
Expand Down
2 changes: 1 addition & 1 deletion fsmon.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _FSMON_H_
#define _FSMON_H_

#define FSMON_VERSION "1.0"
#define FSMON_VERSION "1.1"

#include <stdint.h>
#include "fsev.h"
Expand Down

0 comments on commit bdc59db

Please sign in to comment.