|
|
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.4 root 16: # DECLARE_EVENT_TABLE 内に override があるのでそれが回避できない
17: CPPFLAGS+= -Wno-inconsistent-missing-override
1.1 root 18:
19: LDFLAGS+= -pthread
20: LIBS+= @WXWIDGETS_LIBS@
21:
22: CXXSRCS= \
1.1.1.9 root 23: fontmanager.cpp \
1.1 root 24: kaname12.cpp \
1.1.1.7 root 25: privatechar.cpp \
1.1 root 26: wxapp.cpp \
1.1.1.9 root 27: wxbitmappanel.cpp \
1.1 root 28: wxdumpmonitor.cpp \
1.1.1.4 root 29: wxlcdwindow.cpp \
1.1 root 30: wxlogmonitor.cpp \
1.1.1.9 root 31: wxlogsetting.cpp \
1.1 root 32: wxmainframe.cpp \
33: wxmainview.cpp \
34: wxmonitor.cpp \
1.1.1.3 root 35: wxmpumonitor.cpp \
1.1.1.10! root 36: wxplanemonitor.cpp \
! 37: wxromwindow.cpp \
1.1.1.9 root 38: wxscrollbar.cpp \
1.1 root 39: wxsoftkey.cpp \
1.1.1.6 root 40: wxstatuspanel.cpp \
1.1 root 41: wxsubwindow.cpp \
42: wxtextpanel.cpp \
43: wxtextscreen.cpp \
1.1.1.8 root 44: wxuimessage.cpp \
1.1.1.3 root 45: wxversion.cpp \
1.1 root 46:
47: OBJS= ${CXXSRCS:.cpp=.o}
48:
49: CLEANDIRFILES= Makefile
50:
51: nono: ${MYLIBS} ${OBJS}
1.1.1.2 root 52: ${CXX} ${LDFLAGS} -o $@ ${OBJS} ${MYLIBS_GROUP} ${LIBS}
1.1.1.3 root 53:
1.1.1.5 root 54: install: nono
55: ${INSTALL} -d ${DESTDIR}${BINDIR}
56: ${INSTALL} -m 755 -o 0 -g 0 nono ${DESTDIR}${BINDIR}
1.1.1.3 root 57:
58: # make pot はトップディレクトリで行う必要がある (実行した位置からの相対パスが
59: # ファイルにコメントで残されるため、毎回違うと diff が出てしまう)。
60: # しかし今の所 wx/ にしかカタログ対象がないのでここにもショートカットを用意
61: # しておく。他ディレクトリにも対象が増えたら考え直すこと。
62: pot:
63: (cd ..; ${MAKE} pot)
64:
65: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.