Fix typo
[moonshot-ui.git] / Makefile.am
index 8b5b014..dc854b5 100644 (file)
@@ -79,6 +79,13 @@ libmoonshot/libmoonshot.lib: libmoonshot/libmoonshot.def
 
 endif
 
+if  OS_MACOS
+
+AM_CPPFLAGS += -DOS_MACOS
+AM_VALAFLAGS += --define=OS_MACOS
+
+endif
+
 if OS_LINUX
 
 ## Installing mime type data
@@ -211,3 +218,27 @@ moonshot.msi: windows/app.wxs windows/config.wxi $(bin_PROGRAMS)
        "${WIX_LIGHT}" -b ${prefix} -b ${prefix}/mingw -o moonshot.msi app.wixobj
 
 endif
+
+if  OS_MACOS
+## Mac-specific targets
+
+## 1. Icons. 
+
+icons:
+       mkdir -p share/icons
+       cp mac/icons/process-stop.png share/icons
+       cp mac/icons/edit-find.png share/icons
+       cp mac/icons/avatar-default.png share/icons
+       
+## 2. App bundle
+## gtk-app-bundler must be installed
+app-bundle:
+       gtk-mac-bundler ./mac/moonshot-ui.bundle
+
+## 3: Installer Package
+installer:
+
+## 4: Disk Image
+disk-image:
+
+endif