|
|
1.1 root 1: #
2: # nono
1.1.1.3 root 3: # Copyright (C) 2020 nono project
4: # Licensed under nono-license.txt
5: #
6:
1.1 root 7: #
8: # wxWidgets executable
9: #
10:
1.1.1.3 root 11: .include "../Makefile.inc"
12:
1.1 root 13: TARGETS= nono
14:
15: CPPFLAGS+= @WXWIDGETS_CPPFLAGS@
1.1.1.12! root 16: # wxWidgets-3.0 用のハック。
! 17: # (wxWidgets-3.2 以降では wxWidgets 側がやってるので不要になる)
! 18: WX_MAJORMINOR= @WX_MAJORMINOR@
! 19: .if "${WX_MAJORMINOR}" == "30"
1.1.1.11 root 20: .if ${WARNFLAGS_CXX:M-Winconsistent-missing-override}
21: CXXFLAGS+= -Wno-inconsistent-missing-override
22: .endif
23: .if ${WARNFLAGS_CXX:M-Wsuggest-override}
24: CXXFLAGS+= -Wno-suggest-override
25: .endif
1.1.1.12! root 26: .endif
1.1 root 27:
28: LDFLAGS+= -pthread
29: LIBS+= @WXWIDGETS_LIBS@
30:
31: CXXSRCS= \
1.1.1.9 root 32: fontmanager.cpp \
1.1 root 33: kaname12.cpp \
1.1.1.7 root 34: privatechar.cpp \
1.1 root 35: wxapp.cpp \
1.1.1.9 root 36: wxbitmappanel.cpp \
1.1.1.11 root 37: wxbutton.cpp \
38: wxdipswwindow.cpp \
1.1 root 39: wxdumpmonitor.cpp \
1.1.1.4 root 40: wxlcdwindow.cpp \
1.1 root 41: wxlogmonitor.cpp \
1.1.1.9 root 42: wxlogsetting.cpp \
1.1 root 43: wxmainframe.cpp \
44: wxmainview.cpp \
45: wxmonitor.cpp \
1.1.1.3 root 46: wxmpumonitor.cpp \
1.1.1.11 root 47: wxpalettemonitor.cpp \
1.1.1.10 root 48: wxplanemonitor.cpp \
49: wxromwindow.cpp \
1.1.1.9 root 50: wxscrollbar.cpp \
1.1 root 51: wxsoftkey.cpp \
1.1.1.6 root 52: wxstatuspanel.cpp \
1.1 root 53: wxsubwindow.cpp \
54: wxtextpanel.cpp \
55: wxtextscreen.cpp \
1.1.1.8 root 56: wxuimessage.cpp \
1.1.1.3 root 57: wxversion.cpp \
1.1 root 58:
59: OBJS= ${CXXSRCS:.cpp=.o}
60:
61: CLEANDIRFILES= Makefile
62:
63: nono: ${MYLIBS} ${OBJS}
1.1.1.2 root 64: ${CXX} ${LDFLAGS} -o $@ ${OBJS} ${MYLIBS_GROUP} ${LIBS}
1.1.1.3 root 65:
1.1.1.5 root 66: install: nono
67: ${INSTALL} -d ${DESTDIR}${BINDIR}
68: ${INSTALL} -m 755 -o 0 -g 0 nono ${DESTDIR}${BINDIR}
1.1.1.3 root 69:
70: # make pot はトップディレクトリで行う必要がある (実行した位置からの相対パスが
71: # ファイルにコメントで残されるため、毎回違うと diff が出てしまう)。
72: # しかし今の所 wx/ にしかカタログ対象がないのでここにもショートカットを用意
73: # しておく。他ディレクトリにも対象が増えたら考え直すこと。
74: pot:
75: (cd ..; ${MAKE} pot)
76:
77: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.