diff options
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/arch/bb10.mk | 42 | ||||
-rw-r--r-- | makefiles/arch/desktop.mk | 23 | ||||
-rw-r--r-- | makefiles/arch/ebr.mk | 19 | ||||
-rw-r--r-- | makefiles/arch/iphone.mk | 21 | ||||
-rw-r--r-- | makefiles/arch/macosx.mk | 34 | ||||
-rw-r--r-- | makefiles/arch/maemo.mk | 33 | ||||
-rw-r--r-- | makefiles/arch/moto.mk | 23 | ||||
-rw-r--r-- | makefiles/arch/opensimpad-0.9.0.mk | 26 | ||||
-rw-r--r-- | makefiles/arch/openzaurus.mk | 33 | ||||
-rw-r--r-- | makefiles/arch/pdaxrom.mk | 29 | ||||
l--------- | makefiles/arch/pepperpad3.mk | 1 | ||||
-rw-r--r-- | makefiles/arch/pma400.mk | 19 | ||||
-rw-r--r-- | makefiles/arch/pocketpc.mk | 32 | ||||
-rw-r--r-- | makefiles/arch/qvfb.mk | 19 | ||||
-rw-r--r-- | makefiles/arch/unix.mk | 0 | ||||
-rw-r--r-- | makefiles/arch/win32.mk | 34 | ||||
-rw-r--r-- | makefiles/arch/zaurus.mk | 23 | ||||
-rw-r--r-- | makefiles/config.mk | 54 | ||||
-rw-r--r-- | makefiles/gtksubdir.mk | 24 | ||||
-rw-r--r-- | makefiles/packaging.mk | 101 | ||||
-rw-r--r-- | makefiles/platforms.mk | 13 | ||||
-rw-r--r-- | makefiles/qsubdir.mk | 24 | ||||
-rw-r--r-- | makefiles/subdir.mk | 41 | ||||
-rw-r--r-- | makefiles/target.mk | 4 |
24 files changed, 0 insertions, 672 deletions
diff --git a/makefiles/arch/bb10.mk b/makefiles/arch/bb10.mk deleted file mode 100644 index ef8dbd3..0000000 --- a/makefiles/arch/bb10.mk +++ /dev/null @@ -1,42 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -QNX_HOST = /Applications/bbndk/host_10_0_9_52/darwin/x86 -QNX_TARGET = /Applications/bbndk/target_10_0_9_386/qnx6 -BB10_SDK_BIN_FOLDER = $(QNX_HOST)/usr/bin - -#BINDIR = $(INSTALLDIR)/Contents/MacOS -#SHAREDIR = $(INSTALLDIR)/Contents/Resources -#IMAGEDIR = $(SHAREDIR)/icons -#APPIMAGEDIR = $(IMAGEDIR) -# -## ~~ is a macros that will be expanded at runtime into QApplication::applicationDirPath() + "/.." -#SHAREDIR_MACRO = ~~/Resources -#IMAGEDIR_MACRO = $(SHAREDIR_MACRO)/icons -#APPIMAGEDIR_MACRO = $(IMAGEDIR_MACRO) -# -ZLSHARED = no - -CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it -CC = QNX_HOST=$(QNX_HOST) QNX_TARGET=$(QNX_TARGET) $(CCACHE) $(BB10_SDK_BIN_FOLDER)/qcc -AR = $(BB10_SDK_BIN_FOLDER)/ntoarmv7-ar rsu -LD = QNX_HOST=$(QNX_HOST) QNX_TARGET=$(QNX_TARGET) $(BB10_SDK_BIN_FOLDER)/qcc -MOC = $(BB10_SDK_BIN_FOLDER)/moc - -ARCH_FLAGS = -Vgcc_ntoarmv7le -CFLAGS = $(ARCH_FLAGS) -Wall -Wno-ctor-dtor-privacy -W -LDFLAGS = $(ARCH_FLAGS) - -EXTERNAL_LIBS = -lcpp-ne -liconv - -QTINCLUDE = -I $(QNX_TARGET)/usr/include/qt4 -UILIBS = -L $(QNX_TARGET)/armle-v7/usr/lib/qt4/lib -lQtCore -lQtGui -lQtNetwork - -#ifeq "$(UI_TYPE)" "qt4" -# QTBASEDIR = ~/QtSDK/Desktop/Qt/4.8.1/gcc -# QTINCLUDE = -I $(QTBASEDIR)/include -# MOC = $(QTBASEDIR)/bin/moc -# UILIBS = -F $(QTBASEDIR)/lib -framework QtCore -framework QtGui -framework QtNetwork -#endif -# -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/desktop.mk b/makefiles/arch/desktop.mk deleted file mode 100644 index aa76dc1..0000000 --- a/makefiles/arch/desktop.mk +++ /dev/null @@ -1,23 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -ifeq "$(INSTALLDIR)" "" - INSTALLDIR=/usr -endif -IMAGEDIR = $(INSTALLDIR)/share/pixmaps -APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME% - - -CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it -CC = $(CCACHE) gcc -AR = ar rsu -LD = g++ - -CFLAGS += -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -EXTERNAL_INCLUDE = $(shell $(PKG_CONFIG) --cflags fribidi) - -MOC = "$(shell $(PKG_CONFIG) --variable=host_bins Qt5Core)/moc" -QTINCLUDE = $(shell $(PKG_CONFIG) --cflags Qt5Gui Qt5Widgets Qt5Network) -UILIBS = $(shell $(PKG_CONFIG) --libs Qt5Gui Qt5Widgets Qt5Network) - -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/ebr.mk b/makefiles/arch/ebr.mk deleted file mode 100644 index d115143..0000000 --- a/makefiles/arch/ebr.mk +++ /dev/null @@ -1,19 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /mnt/ext2 -ZLSHARED = no - -SDK_DIR = /usr/local/arm/3.4.1 -SDK_BIN_DIR = $(SDK_DIR)/arm-linux/bin - -CC = $(SDK_BIN_DIR)/gcc -AR = $(SDK_BIN_DIR)/ar rsu -LD = $(SDK_BIN_DIR)/g++ - -CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -I $(ROOTDIR)/../ebr/microwin/src/include -I $(ROOTDIR)/../ebr/ext/include -DXMLCONFIGHOMEDIR=\"/mnt/ext2\" -DDO_ICONV_CAST -LDFLAGS = -L $(ROOTDIR)/../ebr/microwin/lib/jpeg -L $(ROOTDIR)/../ebr/microwin/lib/mfont -L $(ROOTDIR)/../ebr/microwin/src/lib -L $(ROOTDIR)/../ebr/ext/lib - -UILIBS = -lnano-X -ljpeg -lmfont - -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/iphone.mk b/makefiles/arch/iphone.mk deleted file mode 100644 index 07f79a1..0000000 --- a/makefiles/arch/iphone.mk +++ /dev/null @@ -1,21 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -ifeq "$(INSTALLDIR)" "" - INSTALLDIR=/usr -endif -IMAGEDIR = $(INSTALLDIR)/share/pixmaps -APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME% - -ZLSHARED = no - -CC = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-g++-4.2.1 -AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar rsu -LD = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-g++-4.2.1 - -CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/ -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.2.1/ -LDFLAGS = -EXTERNAL_INCLUDE = -EXTERNAL_LIBS = - -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/macosx.mk b/makefiles/arch/macosx.mk deleted file mode 100644 index 83b1385..0000000 --- a/makefiles/arch/macosx.mk +++ /dev/null @@ -1,34 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -BINDIR = $(INSTALLDIR)/Contents/MacOS -SHAREDIR = $(INSTALLDIR)/Contents/Resources -IMAGEDIR = $(SHAREDIR)/icons -APPIMAGEDIR = $(IMAGEDIR) - -# ~~ is a macros that will be expanded at runtime into QApplication::applicationDirPath() + "/.." -SHAREDIR_MACRO = ~~/Resources -IMAGEDIR_MACRO = $(SHAREDIR_MACRO)/icons -APPIMAGEDIR_MACRO = $(IMAGEDIR_MACRO) - -ZLSHARED = no - -CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it -CC = $(CCACHE) gcc -AR = ar rsu -LD = g++ - -ARCH_FLAGS = -arch x86_64 -mmacosx-version-min=10.5 -CFLAGS = $(ARCH_FLAGS) -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -LDFLAGS = $(ARCH_FLAGS) - -EXTERNAL_LIBS = -liconv - -ifeq "$(UI_TYPE)" "qt4" - QTBASEDIR = ~/QtSDK/Desktop/Qt/4.8.1/gcc - QTINCLUDE = -I $(QTBASEDIR)/include - MOC = $(QTBASEDIR)/bin/moc - UILIBS = -F $(QTBASEDIR)/lib -framework QtCore -framework QtGui -framework QtNetwork -endif - -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/maemo.mk b/makefiles/arch/maemo.mk deleted file mode 100644 index 336996b..0000000 --- a/makefiles/arch/maemo.mk +++ /dev/null @@ -1,33 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /usr -IMAGEDIR = $(INSTALLDIR)/share/%APPLICATION_NAME%/icons -APPIMAGEDIR = $(IMAGEDIR) - -CC = ccache gcc -AR = ar rsu - -DEPGEN = $(CC) -MM -RM = rm -rvf -RM_QUIET = rm -rf - -LD = g++ -ifeq "$(UI_TYPE)" "maemo5" - CFLAGS = -pipe -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -pthread -DMAEMO_VERSION=5 - GTKINCLUDE = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DMAEMO_CHANGES -I/usr/include/hildon-1 -I/usr/include/hildon-fm-2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/conic - UILIBS = -lhildon-1 -lhildonfm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -losso -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lconic -else ifeq "$(UI_TYPE)" "maemo4" - CFLAGS = -pipe -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -pthread -mthumb -DMAEMO_VERSION=4 - GTKINCLUDE = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DMAEMO_CHANGES -I/usr/include/hildon-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/conic - UILIBS = -lhildon-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -losso -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lconic -else # ifeq "$(UI_TYPE)" "maemo2/3" - CFLAGS = -pipe -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -pthread -mthumb - GTKINCLUDE = -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/hildon-widgets -I/usr/include/hildon-lgpl -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/conic - UILIBS = -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lhildonwidgets -losso - ifeq "$(UI_TYPE)" "maemo2" - CFLAGS += -DMAEMO_VERSION=2 - else # ifeq "$(UI_TYPE)" "maemo3" - CFLAGS += -DMAEMO_VERSION=3 - UILIBS += -lconic - endif -endif diff --git a/makefiles/arch/moto.mk b/makefiles/arch/moto.mk deleted file mode 100644 index 8296b7a..0000000 --- a/makefiles/arch/moto.mk +++ /dev/null @@ -1,23 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /mmc/mmca1/.system/QTDownLoad/fbreader -IMAGEDIR = $(INSTALLDIR)/pics -APPIMAGEDIR = $(IMAGEDIR)/%APPLICATION_NAME% - -ARM_PATH = /usr/local/a1200/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux -TOOLS_PATH = $(ARM_PATH)/arm-linux/bin -QT_PATH = $(ARM_PATH)/qt - -CC = $(TOOLS_PATH)/gcc -AR = $(TOOLS_PATH)/ar rsu -LD = $(TOOLS_PATH)/g++ -MOC = $(QT_PATH)/bin/moc - -RM = rm -rvf -RM_QUIET = rm -rf - -QTINCLUDE = -I $(QT_PATH)/include -I $(QT_PATH)/include/ezx -UILIBS = -L$(QT_PATH)/lib -L$(QT_PATH)/lib/ezx -lqte-mt -lezxappbase -lezxappsdk -lezxopenwindow -lipp-miscGen -lipp-jp -lezxjpeg -lezxpm - -CFLAGS = -pipe -Duint16_t="unsigned short" -Duint32_t="unsigned int" -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -mcpu=iwmmxt -mtune=iwmmxt -Wno-ctor-dtor-privacy -W -ftemplate-depth-30 -LDFLAGS = diff --git a/makefiles/arch/opensimpad-0.9.0.mk b/makefiles/arch/opensimpad-0.9.0.mk deleted file mode 100644 index 9818ad3..0000000 --- a/makefiles/arch/opensimpad-0.9.0.mk +++ /dev/null @@ -1,26 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR=/opt/QtPalmtop -IMAGEDIR = $(INSTALLDIR)/pics -APPIMAGEDIR = $(IMAGEDIR)/%application_name% - -BASEPATH = /stuff/build/opensimpad-0.9.0 - -TOOLSPATH = $(BASEPATH)/cross/arm-linux/bin -OEPATH = $(BASEPATH)/staging/arm-linux -QTPATH = $(BASEPATH)/staging/arm-linux/qt2 - -MOC = $(BASEPATH)/staging/i686-linux/bin/moc -RM = rm -rvf -RM_QUIET = rm -rf -QTINCLUDE = -I $(QTPATH)/include -UILIBS = -L $(QTPATH)/lib -lqte -L $(OEPATH)/lib -lqpe -ljpeg -lpng12 -lz -lts -CC = $(TOOLSPATH)/gcc -I $(OEPATH)/include -AR = $(TOOLSPATH)/ar rsu -LD = $(TOOLSPATH)/g++ - -XML_LIBS = -L $(OEPATH)/lib -lexpat -ARCHIVER_LIBS = -L $(OEPATH)/lib -lz -lbz2 - -CFLAGS = -pipe -DOPIE_NO_DEBUG -DQT_NO_DEBUG -DQWS -fno-exceptions -fno-rtti -march=armv4 -mtune=xscale -mfloat-abi=soft --param large-function-growth=2000 --param inline-unit-growth=200 -Wall -Wno-ctor-dtor-privacy -W -Winline -LDFLAGS = -Wl,-rpath,$(LIBDIR) diff --git a/makefiles/arch/openzaurus.mk b/makefiles/arch/openzaurus.mk deleted file mode 100644 index ba22b08..0000000 --- a/makefiles/arch/openzaurus.mk +++ /dev/null @@ -1,33 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -ifeq "$(UI_TYPE)" "opie" - INSTALLDIR = /opt/QtPalmtop - IMAGEDIR = $(INSTALLDIR)/pics -else # UI_TYPE == gpe - INSTALLDIR = /usr - IMAGEDIR = /usr/share/pixmaps -endif -APPIMAGEDIR = $(IMAGEDIR)/%application_name% - -BASEPATH = /opt/openzaurus-3.5.4/usr/local/arm/oe -TOOLSPATH = $(BASEPATH)/bin -INCPATH = $(BASEPATH)/arm-linux/include -LIBPATH = $(BASEPATH)/arm-linux/lib - -RM = rm -rvf -RM_QUIET = rm -rf -QTINCLUDE = -I $(INCPATH)/qt2 -GTKINCLUDE = -I$(LIBPATH)/glib-2.0/include -I$(LIBPATH)/gtk-2.0/include -I$(INCPATH)/glib-2.0 -I$(INCPATH)/gtk-2.0 -I$(INCPATH)/pango-1.0 -I$(INCPATH)/atk-1.0 -MOC = $(TOOLSPATH)/moc -CC = $(TOOLSPATH)/arm-linux-gcc -AR = $(TOOLSPATH)/arm-linux-ar rsu -LD = $(TOOLSPATH)/arm-linux-g++ - -ifeq "$(UI_TYPE)" "opie" - UILIBS = -lqte -lqpe -else - UILIBS = -lgpewidget -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -endif - -CFLAGS = -pipe -DOPIE_NO_DEBUG -DQT_NO_DEBUG -DQWS -fno-exceptions -fno-rtti -march=armv4 -mtune=xscale --param inline-unit-growth=200 --param large-function-growth=2000 -Wall -Wno-ctor-dtor-privacy -W -Winline -LDFLAGS = -Wl,-rpath,$(LIBDIR) diff --git a/makefiles/arch/pdaxrom.mk b/makefiles/arch/pdaxrom.mk deleted file mode 100644 index a11e78a..0000000 --- a/makefiles/arch/pdaxrom.mk +++ /dev/null @@ -1,29 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /usr -IMAGEDIR = /usr/share/pixmaps -APPIMAGEDIR = $(IMAGEDIR)/%APPLICATION_NAME% - -BASEPATH = /opt/cross/arm/3.4.4-xscale-softvfp -USRPATH = $(BASEPATH)/armv5tel-cacko-linux -CC = $(BASEPATH)/bin/armv5tel-linux-gcc -I $(BASEPATH)/include -AR = $(BASEPATH)/bin/armv5tel-linux-ar rsu -LD = $(BASEPATH)/bin/armv5tel-linux-g++ - -DEPGEN = $(CC) -MM -CFLAGS = -pipe -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG - -MOC = $(BASEPATH)/bin/moc -QTINCLUDE = -I $(USRPATH)/qt/include - -INCPATH = $(USRPATH)/include -GTKINCLUDE = -I$(INCPATH)/libxml2 -I$(INCPATH)/libglade-2.0 -I$(INCPATH)/gtk-2.0 -I$(USRPATH)/lib/gtk-2.0/include -I$(USRPATH)/X11R6/include -I$(INCPATH)/atk-1.0 -I$(INCPATH)/pango-1.0 -I$(INCPATH)/freetype2 -I$(INCPATH)/glib-2.0 -I$(USRPATH)/lib/glib-2.0/include - -ifeq "$(UI_TYPE)" "qt" - UILIBS = -L $(USRPATH)/qt/lib -lqt-mt -L $(USRPATH)/X11R6/lib -lXext -lXrender -lXrandr -lXcursor -lX11 -lXft -lSM -lICE -else - UILIBS = -L $(USRPATH)/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -L $(USRPATH)/X11R6/lib -lXext -lXrender -lXrandr -lXcursor -lX11 -lXft -lSM -lICE -endif - -RM = rm -rvf -RM_QUIET = rm -rf diff --git a/makefiles/arch/pepperpad3.mk b/makefiles/arch/pepperpad3.mk deleted file mode 120000 index 284fd11..0000000 --- a/makefiles/arch/pepperpad3.mk +++ /dev/null @@ -1 +0,0 @@ -desktop.mk
\ No newline at end of file diff --git a/makefiles/arch/pma400.mk b/makefiles/arch/pma400.mk deleted file mode 100644 index 7ccbef4..0000000 --- a/makefiles/arch/pma400.mk +++ /dev/null @@ -1,19 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /opt/QtPalmtop -IMAGEDIR = $(INSTALLDIR)/pics -APPIMAGEDIR = $(IMAGEDIR)/%APPLICATION_NAME% - -QTPATH = /opt/Qtopia/sharp -TOOLSPATH = /opt/Embedix/tools/arm-linux/bin -MOC = $(QTPATH)/bin/moc -RM = rm -rvf -RM_QUIET = rm -rf -QTINCLUDE = -I $(QTPATH)/include -UILIBS = -L $(QTPATH)/lib -lqte -lqpe -CC = $(TOOLSPATH)/gcc -AR = $(TOOLSPATH)/ar rsu -LD = $(TOOLSPATH)/g++ - -CFLAGS = -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -ftemplate-depth-30 -DXMLCONFIGHOMEDIR=\"~/Documents\" -DEPGEN = $(CC) -MM diff --git a/makefiles/arch/pocketpc.mk b/makefiles/arch/pocketpc.mk deleted file mode 100644 index 5df05e1..0000000 --- a/makefiles/arch/pocketpc.mk +++ /dev/null @@ -1,32 +0,0 @@ -SHAREDIR = %APPLICATION_PATH%\\\\share -IMAGEDIR = $(SHAREDIR)\\\\icons -APPIMAGEDIR = $(IMAGEDIR) -FILENAMEDELIMITER = "\\\\" -PATHDELIMITER = ";" -EOLCHARS = "\\r\\n" - -ZLSHARED = no - -PREFIX = /usr/ppc/arm-wince-cegcc/bin/ -CC = $(PREFIX)gcc -AR = $(PREFIX)ar rsu -LD = $(PREFIX)g++ -RESOURCE_COMPILER = /usr/arm-wince-mingw32ce/bin/arm-wince-mingw32ce-windres - -CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DUNICODE -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -DNOMINMAX -#LDFLAGS = -mwindows - -#UILIBS = -lgdi32 -lcomctl32 -lcomdlg32 -lpng12 -ljpeg -lungif -ltiff -UILIBS = -lcoredll -lpng -ljpeg -lungif -ltiff - -RM = rm -rvf -RM_QUIET = rm -rf - -BUILD_RESOURCE_OBJECT = yes - -.resources: - @echo -n 'Creating resource object...' - @echo 'ApplicationIcon ICON icons/win32/$(TARGET).ico' > $(TARGET).rc - @$(RESOURCE_COMPILER) $(TARGET).rc -o src/$(TARGET)_rc.o - @$(RM_QUIET) $(TARGET).rc - @echo ' OK' diff --git a/makefiles/arch/qvfb.mk b/makefiles/arch/qvfb.mk deleted file mode 100644 index 04084ce..0000000 --- a/makefiles/arch/qvfb.mk +++ /dev/null @@ -1,19 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /opt/opie/opie -IMAGEDIR = $(INSTALLDIR)/pics -APPIMAGEDIR = $(IMAGEDIR)/%application_name% - -QTPATH = /opt/opie/qt-2.3.10 -OPIEPATH = /opt/opie/opie -MOC = $(QTPATH)/bin/moc -RM = rm -rvf -RM_QUIET = rm -rf -QTINCLUDE = -I $(QTPATH)/include -I $(OPIEPATH)/include -UILIBS = -L $(QTPATH)/lib -lqte -L $(OPIEPATH)/lib -lqpe -CC = gcc -AR = ar rsu -LD = g++ - -CFLAGS = -pipe -DOPIE_NO_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 -DQT_NO_DEBUG -DQWS -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DEPGEN = $(CC) -MM diff --git a/makefiles/arch/unix.mk b/makefiles/arch/unix.mk deleted file mode 100644 index e69de29..0000000 --- a/makefiles/arch/unix.mk +++ /dev/null diff --git a/makefiles/arch/win32.mk b/makefiles/arch/win32.mk deleted file mode 100644 index 49692e6..0000000 --- a/makefiles/arch/win32.mk +++ /dev/null @@ -1,34 +0,0 @@ -SHAREDIR = /share -IMAGEDIR = $(SHAREDIR)/icons -APPIMAGEDIR = $(IMAGEDIR) - -SHAREDIR_MACRO = ~~\\\\share -IMAGEDIR_MACRO = $(SHAREDIR_MACRO)\\\\icons -APPIMAGEDIR_MACRO = $(IMAGEDIR_MACRO) - -ZLSHARED = no - -CC = i586-mingw32msvc-gcc -AR = i586-mingw32msvc-ar rsu -LD = i586-mingw32msvc-g++ -RESOURCE_COMPILER = i586-mingw32msvc-windres - -CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DUNICODE -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -DXMLCONFIGHOMEDIR=\"~\\\\..\" -LDFLAGS = -mwindows -#LDFLAGS = -mconsole - -UILIBS = -lgdi32 -lcomctl32 -lcomdlg32 -lpng12 -ljpeg -lungif -ltiff -NETWORK_LIBS ?= -lcurl -lcurldll - -RM = rm -rvf -RM_QUIET = rm -rf - -BUILD_RESOURCE_OBJECT = yes - -.resources: - @echo -n 'Creating resource object...' - @echo 'ApplicationIcon ICON data/icons/application/win32.ico' > $(TARGET).rc - @echo '1 24 win32/manifest' >> $(TARGET).rc - @$(RESOURCE_COMPILER) $(TARGET).rc -o src/$(TARGET)_rc.o - @$(RM_QUIET) $(TARGET).rc - @echo ' OK' diff --git a/makefiles/arch/zaurus.mk b/makefiles/arch/zaurus.mk deleted file mode 100644 index 4a900ff..0000000 --- a/makefiles/arch/zaurus.mk +++ /dev/null @@ -1,23 +0,0 @@ -include $(ROOTDIR)/makefiles/arch/unix.mk - -INSTALLDIR = /opt/QtPalmtop -ifeq "$(UI_TYPE)" "qtopia-240x320" - IMAGEDIR = $(INSTALLDIR)/pics -else # UI_TYPE == qtopia-640x480 - IMAGEDIR = $(INSTALLDIR)/pics144 -endif -APPIMAGEDIR = $(IMAGEDIR)/%APPLICATION_NAME% - -QTPATH = /opt/Qtopia/sharp -TOOLSPATH = /opt/Embedix/tools/arm-linux/bin -MOC = $(QTPATH)/bin/moc -RM = rm -rvf -RM_QUIET = rm -rf -QTINCLUDE = -I $(QTPATH)/include -UILIBS = -L $(QTPATH)/lib -lqte -lqpe -CC = $(TOOLSPATH)/gcc -AR = $(TOOLSPATH)/ar rsu -LD = $(TOOLSPATH)/g++ - -CFLAGS = -pipe -Duint16_t="unsigned short" -Duint32_t="unsigned int" -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DUSE_ZAURUS_FONTHACK -ftemplate-depth-30 -LDFLAGS = -Wl,-rpath,$(LIBDIR),-rpath,/usr/lib diff --git a/makefiles/config.mk b/makefiles/config.mk deleted file mode 100644 index 12b9cc1..0000000 --- a/makefiles/config.mk +++ /dev/null @@ -1,54 +0,0 @@ -include $(ROOTDIR)/makefiles/platforms.mk - -VERSION = $(shell cat $(ROOTDIR)/fbreader/VERSION) -MAKE = make ROOTDIR=$(ROOTDIR) -LIBMAKE = $(MAKE) ZLSHARED=$(ZLSHARED) - -include $(ROOTDIR)/makefiles/arch/$(TARGET_ARCH).mk - -BINDIR ?= $(INSTALLDIR)/bin -LIBDIR ?= $(INSTALLDIR)/lib -INCDIR ?= $(INSTALLDIR)/include -SHAREDIR ?= $(INSTALLDIR)/share - -INSTALLDIR_MACRO ?= $(INSTALLDIR) -LIBDIR_MACRO ?= $(LIBDIR) -SHAREDIR_MACRO ?= $(SHAREDIR) -IMAGEDIR_MACRO ?= $(IMAGEDIR) -APPIMAGEDIR_MACRO ?= $(APPIMAGEDIR) - -XML_LIBS ?= -lexpat -ARCHIVER_LIBS ?= -lz -lbz2 - -CFLAGS += -DINSTALLDIR=\"$(INSTALLDIR_MACRO)\" -DBASEDIR=\"$(SHAREDIR_MACRO)\" -DLIBDIR=\"$(LIBDIR_MACRO)\" -DIMAGEDIR=\"$(IMAGEDIR_MACRO)\" -DAPPIMAGEDIR=\"$(APPIMAGEDIR_MACRO)\" -DVERSION=\"$(VERSION)\" -ifeq "$(ZLSHARED)" "yes" - CFLAGS += -fPIC -DZLSHARED -endif - -ifeq "$(TARGET_STATUS)" "release" - CFLAGS += -O3 -endif -ifeq "$(TARGET_STATUS)" "debug" - CFLAGS += -O0 -g -endif -ifeq "$(TARGET_STATUS)" "profile" - CFLAGS += -O3 -g -pg - LDFLAGS += -pg -endif - -ZINCLUDE = -I $(ROOTDIR)/zlibrary/core/include -I $(ROOTDIR)/zlibrary/text/include - -ZLSHARED ?= yes - -ifeq "$(ZLSHARED)" "yes" - CORE_LIBS = -lm -L$(ROOTDIR)/zlibrary/core -lzlcore - TEXT_LIBS = -L$(ROOTDIR)/zlibrary/text -lzltext - ZLUI_LIB = -L$(ROOTDIR)/zlibrary/ui -lzlui -else - CORE_LIBS = -lm -L$(ROOTDIR)/zlibrary/ui -L$(ROOTDIR)/zlibrary/core -lzlcore -lzlui -lzlcore $(UILIBS) $(XML_LIBS) $(ARCHIVER_LIBS) - TEXT_LIBS = -L$(ROOTDIR)/zlibrary/text -lzltext $(EXTERNAL_LIBS) -lunibreak -lfribidi -endif - -ifneq "$(BUILD_RESOURCE_OBJECT)" "yes" -.resources: -endif diff --git a/makefiles/gtksubdir.mk b/makefiles/gtksubdir.mk deleted file mode 100644 index 23f51da..0000000 --- a/makefiles/gtksubdir.mk +++ /dev/null @@ -1,24 +0,0 @@ -include $(ROOTDIR)/makefiles/config.mk - -INCLUDE = $(ZINCLUDE) $(EXTERNAL_INCLUDE) $(GTKINCLUDE) - -HEADERS = $(wildcard *.h) -CSOURCES = $(wildcard *.c) -SOURCES = $(wildcard *.cpp) -OBJECTS = $(patsubst %.c, %.o, $(CSOURCES)) -OBJECTS += $(patsubst %.cpp, %.o, $(SOURCES)) - -.SUFFIXES: .c .cpp .o .h - -.c.o: - $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $(INCLUDE) $< - -.cpp.o: - $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(INCLUDE) $< - -all: $(OBJECTS) - -clean: - @$(RM) *.o *.d - --include *.d diff --git a/makefiles/packaging.mk b/makefiles/packaging.mk deleted file mode 100644 index 468e764..0000000 --- a/makefiles/packaging.mk +++ /dev/null @@ -1,101 +0,0 @@ -VERSION = $(shell cat fbreader/VERSION) -SOVERSIONCORE = $(shell cat zlibrary/core/SOVERSION) -SOVERSIONTEXT = $(shell cat zlibrary/text/SOVERSION) -TMPDIR = $(CURDIR)/fbreader-$(VERSION) - -motopkg: - @echo -n 'Building $(ARCHITECTURE) $@ package...' - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules build 1> $(ARCHITECTURE)-$@.log 2>&1 - @mkdir $(TMPDIR) - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) install 1>> $(ARCHITECTURE)-$@.log 2>&1 - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) package 1>> $(ARCHITECTURE)-$@.log 2>&1 - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules clean 1> /dev/null 2>&1 - @rm -rf $(TMPDIR) - @rm -f $(CURDIR)/$(ARCHITECTURE)-$@.log - @echo ' OK' - -tarball: - @echo -n 'Building $(ARCHITECTURE) $@ package...' - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules build 1> $(ARCHITECTURE)-$@.log 2>&1 - @mkdir $(TMPDIR) - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) install 1>> $(ARCHITECTURE)-$@.log 2>&1 - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) package 1>> $(ARCHITECTURE)-$@.log 2>&1 - @make -f $(DIST_DIR)/$@/$(ARCHITECTURE)/rules clean 1> /dev/null 2>&1 - @rm -rf $(TMPDIR) - @rm -f $(CURDIR)/$(ARCHITECTURE)-$@.log - @echo ' OK' - -debian: - @echo -n 'Building $(ARCHITECTURE) debian package...' - @mkdir $(TMPDIR) - @cp -a Makefile zlibrary fbreader makefiles ChangeLog $(TMPDIR) - @rm -rf `find $(TMPDIR) -name ".svn"` - @mkdir $(TMPDIR)/debian - @for file in $(DIST_DIR)/debian/$(ARCHITECTURE)/*; do \ - if [ -f $$file ]; then \ - sed -e "s#@SOVERSIONCORE@#$(SOVERSIONCORE)#g" $$file | \ - sed -e "s#@SOVERSIONTEXT@#$(SOVERSIONTEXT)#g" | \ - sed -e "s#@VERSION@#$(VERSION)#g" > $(TMPDIR)/debian/`basename $$file`; \ - chmod --reference $$file $(TMPDIR)/debian/`basename $$file`; \ - else \ - cp -r $$file $(TMPDIR)/debian/`basename $$file`; \ - fi; \ - done - @cd $(TMPDIR); dpkg-buildpackage -rfakeroot -us -uc 1> $(CURDIR)/$(ARCHITECTURE)-debian.log 2>&1; cd $(CURDIR) - @rm -rf $(TMPDIR) - @rm -f $(CURDIR)/$(ARCHITECTURE)-debian.log - @echo ' OK' - -ipk: - @echo -n 'Building $(ARCHITECTURE) ipk package...' - @make -f $(DIST_DIR)/ipk/$(ARCHITECTURE)/rules build 1> $(ARCHITECTURE)-ipk.log 2>&1 - @for controlfile in $(DIST_DIR)/ipk/$(ARCHITECTURE)/*.control; do \ - controlname=`basename $$controlfile .control`; \ - mkdir $(TMPDIR); \ - mkdir $(TMPDIR)/data; \ - make -f $(DIST_DIR)/ipk/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR)/data install-$$controlname 1>> $(ARCHITECTURE)-ipk.log 2>&1; \ - sed \ - -e "s#@VERSION@#$(VERSION)#" \ - -e "s#@SIZE@#`du -s -b $(TMPDIR)/data | cut -f1`#" \ - $$controlfile > $(TMPDIR)/control; \ - tar czf $(TMPDIR)/control.tar.gz -C $(TMPDIR) ./control; \ - tar czf $(TMPDIR)/data.tar.gz -C $(TMPDIR)/data .; \ - echo 2.0 > $(TMPDIR)/debian-binary; \ - tar czf `egrep ^Filename: $(TMPDIR)/control | cut -d' ' -f2` -C $(TMPDIR) ./debian-binary ./control.tar.gz ./data.tar.gz; \ - rm -rf $(TMPDIR); \ - done - @make -f $(DIST_DIR)/ipk/$(ARCHITECTURE)/rules clean 1> /dev/null 2>&1; - @rm -f $(CURDIR)/$(ARCHITECTURE)-ipk.log - @echo ' OK' - -debipk: - @echo -n 'Building $(ARCHITECTURE) debipk package...' - @make -f $(DIST_DIR)/debipk/$(ARCHITECTURE)/rules build 1> $(ARCHITECTURE)-debipk.log 2>&1 - @for controlfile in $(DIST_DIR)/debipk/$(ARCHITECTURE)/*.control; do \ - controlname=`basename $$controlfile .control`; \ - mkdir $(TMPDIR); \ - make -f $(DIST_DIR)/debipk/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) install-$$controlname 1>> $(ARCHITECTURE)-debipk.log 2>&1; \ - mkdir $(TMPDIR)/DEBIAN; \ - sed \ - -e "s#@VERSION@#$(VERSION)#" \ - -e "s#@SIZE@#`du -s -b $(TMPDIR) | cut -f1`#" \ - $$controlfile > $(TMPDIR)/DEBIAN/control; \ - dpkg -b $(TMPDIR) `sed "s#@VERSION@#$(VERSION)#" $(DIST_DIR)/debipk/$(ARCHITECTURE)/$$controlname.name` 1>> $(ARCHITECTURE)-debipk.log 2>&1; \ - rm -rf $(TMPDIR); \ - done - @make -f $(DIST_DIR)/debipk/$(ARCHITECTURE)/rules clean 1> /dev/null 2>&1 - @rm -f $(CURDIR)/$(ARCHITECTURE)-debipk.log - @echo ' OK' - -nsi: - @echo -n 'Building $(ARCHITECTURE) nsi package...' - @make -f $(DIST_DIR)/nsi/$(ARCHITECTURE)/rules build 1> $(ARCHITECTURE)-nsi.log 2>&1 - @mkdir $(TMPDIR) - @make -f $(DIST_DIR)/nsi/$(ARCHITECTURE)/rules DESTDIR=$(TMPDIR) install 1>> $(ARCHITECTURE)-nsi.log 2>&1 - @sed "s#@VERSION@#$(VERSION)#" $(DIST_DIR)/nsi/$(ARCHITECTURE)/control.nsi > $(TMPDIR)/control.nsi - @cd $(TMPDIR); makensis control.nsi 1>> $(CURDIR)/$(ARCHITECTURE)-nsi.log 2>&1 - @mv $(TMPDIR)/*.exe . - @make -f $(DIST_DIR)/nsi/$(ARCHITECTURE)/rules clean 1> /dev/null 2>&1 - @rm -rf $(TMPDIR) - @rm -f $(CURDIR)/$(ARCHITECTURE)-nsi.log - @echo ' OK' diff --git a/makefiles/platforms.mk b/makefiles/platforms.mk deleted file mode 100644 index 129463b..0000000 --- a/makefiles/platforms.mk +++ /dev/null @@ -1,13 +0,0 @@ -ifeq "$(TARGET_ARCH)$(UI_TYPE)" "" - include $(ROOTDIR)/makefiles/target.mk -endif - -ifeq "$(TARGET_ARCH)" "" -$(error TARGET_ARCH is not defined. Please edit $(ROOTDIR)/makefiles/target.mk) -endif - -ifeq "$(UI_TYPE)" "" -$(error UI_TYPE is not defined. Please edit $(ROOTDIR)/makefiles/target.mk) -endif - -TARGET_STATUS = "" # Debian packaging always set flags itself diff --git a/makefiles/qsubdir.mk b/makefiles/qsubdir.mk deleted file mode 100644 index f6ec87b..0000000 --- a/makefiles/qsubdir.mk +++ /dev/null @@ -1,24 +0,0 @@ -include $(ROOTDIR)/makefiles/config.mk --include moc.mk - -INCLUDE = $(QTINCLUDE) $(ZINCLUDE) $(EXTERNAL_INCLUDE) - -HEADERS = $(wildcard *.h) -SOURCES = $(wildcard *.cpp) -OBJMOC = $(patsubst %.cpp, %.o, $(SRCMOC)) -OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES)) - -.SUFFIXES: .cpp .moc.cpp .moc.o .o .h - -.cpp.o: - $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(INCLUDE) $< - -.h.moc.cpp: - $(MOC) $< -o $@ - -all: $(OBJECTS) $(OBJMOC) - -clean: - @$(RM) *.o *.moc.cpp *.d - --include *.d diff --git a/makefiles/subdir.mk b/makefiles/subdir.mk deleted file mode 100644 index 63e66bf..0000000 --- a/makefiles/subdir.mk +++ /dev/null @@ -1,41 +0,0 @@ -include $(ROOTDIR)/makefiles/config.mk - -INCLUDE = $(ZINCLUDE) $(EXTERNAL_INCLUDE) - -HEADERS = $(wildcard *.h) -SOURCES_CPP = $(wildcard *.cpp) -SOURCES_OBJCPP = $(wildcard *.M) -SOURCES_OBJC = $(wildcard *.m) -OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES_CPP)) $(patsubst %.M, %.o, $(SOURCES_OBJCPP)) $(patsubst %.m, %.o, $(SOURCES_OBJC)) - -.SUFFIXES: .cpp .M .m .o .h - -.cpp.o: - $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(INCLUDE) $< - -.M.o: - @echo -n 'Compiling $@ ...' -ifdef CFLAGS_NOARCH - @$(CC) -MM $(CFLAGS_PRE) $(INCLUDE) $< -o `basename $< .M`.d - @$(CC) -c $(CFLAGS) $(INCLUDE) $< -else - @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $< -endif - @echo ' OK' - -.m.o: - @echo -n 'Compiling $@ ...' -ifdef CFLAGS_NOARCH - @$(CC) -MM $(CFLAGS_PRE) $(INCLUDE) $< -o `basename $< .m`.d - @$(CC) -c $(CFLAGS) $(INCLUDE) $< -else - @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $< -endif - @echo ' OK' - -all: $(OBJECTS) - -clean: - @$(RM) *.o *.s *.ld *.d - --include *.d diff --git a/makefiles/target.mk b/makefiles/target.mk deleted file mode 100644 index 2f4d572..0000000 --- a/makefiles/target.mk +++ /dev/null @@ -1,4 +0,0 @@ -TARGET_ARCH = desktop -UI_TYPE = qt4 -#TARGET_STATUS = debug -#ZLSHARED = no |