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.8 - (show annotations) (download)
Fri Aug 5 01:11:07 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
CVS Tags: dev-1_0-0014, dev-1_0-0015
Changes since 1.7: +1 -1 lines
for AM_ICONV #4

1 if IS_DARWIN
2 noinst_PROGRAMS = mnote
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:
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 distsrc:
60 cvs2cl.pl
61 make dist
62 mv ${DIST_ARCHIVES} ${MY_DIST_DIR}-src.tar.gz
63
64 distosx:
65 mkdir ${MY_DIST_DIR}
66 cp -r ${APP} ${MY_DIST_DIR}
67 cp README* ${MY_DIST_DIR}
68 cp COPYING ${MY_DIST_DIR}/LICENSE
69 tar zcvf ${MY_DIST_DIR}-osx.tar.gz ${MY_DIST_DIR}
70 rm -fr ${MY_DIST_DIR}
71 endif
72
73 distgtk:
74 mkdir ${MY_DIST_DIR}
75 cp mnote ${MY_DIST_DIR}
76 cp README* ${MY_DIST_DIR}
77 cp COPYING ${MY_DIST_DIR}/LICENSE
78 tar zcvf ${MY_DIST_DIR}-gtk.tar.gz ${MY_DIST_DIR}
79 rm -fr ${MY_DIST_DIR}
80
81 distwin:
82 mkdir ${MY_DIST_DIR}
83 cp mnote.exe ${MY_DIST_DIR}
84 cp README* ${MY_DIST_DIR}
85 cp COPYING ${MY_DIST_DIR}/LICENSE
86 zip -r ${MY_DIST_DIR}-win.zip ${MY_DIST_DIR}
87 rm -fr ${MY_DIST_DIR}
88
89 if IS_MINGW
90 ${RESOBJ}: mn.rc mnote.ico malon-small-logo.ico
91 windres `wx-config --cflags` mn.rc -o $@
92 endif
93
94
95

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