From 73253e93327cf4ef0932de1b4afb56af22a0f37e Mon Sep 17 00:00:00 2001 From: pohly Date: Tue, 24 Aug 2004 20:52:45 +0000 Subject: updated source to opie-reader 0.7g --- (limited to 'noncore/apps/opie-reader/AportisCodec.wmak') diff --git a/noncore/apps/opie-reader/AportisCodec.wmak b/noncore/apps/opie-reader/AportisCodec.wmak new file mode 100644 index 0000000..02c9ef0 --- a/dev/null +++ b/noncore/apps/opie-reader/AportisCodec.wmak @@ -0,0 +1,127 @@ +############################################################################# +# Makefile for building libAportis.so.1.0.0 +# Generated by tmake at 23:23, 2004/03/09 +# Project: AportisCodec.wpro +# Template: lib +############################################################################# + +####### Compiler, tools and options + +CC = gcc-2.96 +CXX = g++-2.96 +CFLAGS = -pipe -Wall -W -O2 -fPIC -DNO_DEBUG +CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC -DNO_DEBUG +INCPATH = -IWSREADERINC -I$(QTDIR)/include +LINK = g++-2.96 +LFLAGS = -shared -Wl,-soname,libAportis.so.1 +LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lreader_pdb -lreader_codec -lqte +AR = ar cqs +RANLIB = +MOC = $(QTDIR)/bin/moc +UIC = $(QTDIR)/bin/uic + +TAR = tar -cf +GZIP = gzip -9f + +####### Files + +HEADERS = Aportis.h +SOURCES = Aportis.cpp +OBJECTS = WSREADEROBJS/Aportis.o +INTERFACES = +UICDECLS = +UICIMPLS = +SRCMOC = +OBJMOC = +DIST = +TARGET = libAportis.so.1.0.0 +TARGETA = $(QTDIR)/plugins/reader/codecs/libAportis.a +TARGETD = libAportis.so.1.0.0 +TARGET0 = libAportis.so +TARGET1 = libAportis.so.1 +TARGET2 = libAportis.so.1.0 +INTERFACE_DECL_PATH = . + +####### Implicit rules + +.SUFFIXES: .cpp .cxx .cc .C .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.C.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + + +all: $(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0 + +$(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0: $(OBJECTS) $(OBJMOC) $(SUBLIBS) + -rm -f $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) + $(LINK) $(LFLAGS) -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS) + -ln -s $(TARGET) $(TARGET0) + -ln -s $(TARGET) $(TARGET1) + -ln -s $(TARGET) $(TARGET2) + -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET) + -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET0) + -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET1) + -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET2) + -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/plugins/reader/codecs/ + +staticlib: $(TARGETA) + +$(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) + -rm -f $(TARGETA) + $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) + +moc: $(SRCMOC) + +tmake: AportisCodec.wmak + +AportisCodec.wmak: AportisCodec.wpro + tmake AportisCodec.wpro -o AportisCodec.wmak + +dist: + $(TAR) AportisCodec.wpro.tar AportisCodec.wpro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST) + $(GZIP) AportisCodec.wpro.tar + +clean: + -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET) + -rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) + -rm -f *~ core + +####### Sub-libraries + + +###### Combined headers + + +####### Compile + +WSREADEROBJS/Aportis.o: Aportis.cpp \ + Aportis.h \ + CExpander.h \ + WSREADERINC/useqpe.h \ + config.h \ + ustring.h \ + StyleConsts.h \ + Markups.h \ + names.h \ + linktype.h \ + pdb.h \ + my_list.h \ + Bkmks.h \ + Filedata.h \ + WSREADERINC/static.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o WSREADEROBJS/Aportis.o Aportis.cpp + -- cgit v0.9.0.2