Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download)
Sun Aug 7 23:24:19 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
CVS Tags: dev-1_0-0016
Changes since 1.8: +5 -2 lines
for Mac OS X

1 if IS_DARWIN
2 noinst_PROGRAMS = mnote app
3 else
4 bin_PROGRAMS = mnote
5 endif
6
7 EXTRA_DIST = mnView.wxg mnDialog.wxg TODO Info.plist mnote.ico mnote.icns malon-small-logo.ico README.euc README.txt
8
9 if IS_MINGW
10 RESOBJ = resource.o
11 RESSRC = mn.rc
12 else
13 RESOBJ =
14 RESSRC =
15 endif
16
17 LIBS = `wx-config --libs` -L/usr/local/lib ${RESOBJ} ${LIBICONV}
18 mnote_DEPENDENCIES = ${RESOBJ}
19
20 mnote_CXXFLAGS = -g `wx-config --cxxflags`
21
22 mnote_SOURCES = \
23 main.cpp \
24 mnFrame.cpp \
25 mnFrame.h \
26 mnModel.cpp \
27 mnModel.h \
28 mnController.cpp \
29 mnController.h \
30 mnID.h \
31 mnDef.h \
32 mnDialog.h \
33 mnDialog.cpp \
34 mnHtmlWindow.cpp \
35 mnHtmlWindow.h \
36 ${RESSRC}
37
38 readme:README.txt README.euc
39
40 README.euc:README
41 iconv -f sjis -t eucJP README > README.euc
42
43 README.txt:README
44 cp -p README README.txt
45
46 MY_DIST_DIR=MalonNote-${PACKAGE_VERSION}
47
48 if IS_DARWIN
49 APP=mnote.app
50 app: mnote
51 rm -fr ./${APP}
52 mkdir -p ./${APP}/Contents/MacOS/
53 mkdir -p ./${APP}/Contents/Resources/
54 cp -p mnote ./${APP}/Contents/MacOS/
55 cp -p Info.plist ./${APP}/Contents/
56 cp -p mnote.icns ./${APP}/Contents/Resources/
57 echo -n "APPL????" > ./${APP}/Contents/PkgInfo
58
59 appinst:
60 cp -pr mnote.app /Applications/
61
62 distsrc:
63 cvs2cl.pl
64 make dist
65 mv ${DIST_ARCHIVES} ${MY_DIST_DIR}-src.tar.gz
66
67 distosx:
68 mkdir ${MY_DIST_DIR}
69 cp -r ${APP} ${MY_DIST_DIR}
70 cp README* ${MY_DIST_DIR}
71 cp COPYING ${MY_DIST_DIR}/LICENSE
72 tar zcvf ${MY_DIST_DIR}-osx.tar.gz ${MY_DIST_DIR}
73 rm -fr ${MY_DIST_DIR}
74 endif
75
76 distgtk:
77 mkdir ${MY_DIST_DIR}
78 cp mnote ${MY_DIST_DIR}
79 cp README* ${MY_DIST_DIR}
80 cp COPYING ${MY_DIST_DIR}/LICENSE
81 tar zcvf ${MY_DIST_DIR}-gtk.tar.gz ${MY_DIST_DIR}
82 rm -fr ${MY_DIST_DIR}
83
84 distwin:
85 mkdir ${MY_DIST_DIR}
86 cp mnote.exe ${MY_DIST_DIR}
87 cp README* ${MY_DIST_DIR}
88 cp COPYING ${MY_DIST_DIR}/LICENSE
89 zip -r ${MY_DIST_DIR}-win.zip ${MY_DIST_DIR}
90 rm -fr ${MY_DIST_DIR}
91
92 if IS_MINGW
93 ${RESOBJ}: mn.rc mnote.ico malon-small-logo.ico
94 windres `wx-config --cflags` mn.rc -o $@
95 endif
96
97
98

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26