author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (side-by-side diff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /noncore/tools/calculator/Makefile.in | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
Diffstat (limited to 'noncore/tools/calculator/Makefile.in') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/calculator/Makefile.in | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/noncore/tools/calculator/Makefile.in b/noncore/tools/calculator/Makefile.in new file mode 100644 index 0000000..d62b046 --- a/dev/null +++ b/noncore/tools/calculator/Makefile.in @@ -0,0 +1,139 @@ +############################################################################# + +####### Compiler, tools and options + +CXX = $(SYSCONF_CXX) $(QT_CXX_MT) +CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) +CC = $(SYSCONF_CC) $(QT_C_MT) +CFLAGS = $(SYSCONF_CFLAGS) +INCPATH = -I$(QPEDIR)/include +LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) +LIBS = $(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP) +MOC = $(SYSCONF_MOC) +UIC = $(SYSCONF_UIC) + +####### Target + +DESTDIR = $(QPEDIR)/bin/ +VER_MAJ = 1 +VER_MIN = 0 +VER_PATCH = 0 +TARGET = calculator +TARGET1 = lib$(TARGET).so.$(VER_MAJ) + +####### Files + +HEADERS = calculatorimpl.h +SOURCES = calculatorimpl.cpp \ + main.cpp +OBJECTS = calculatorimpl.o \ + main.o \ + calculator.o +INTERFACES = calculator.ui +UICDECLS = calculator.h +UICIMPLS = calculator.cpp +SRCMOC = moc_calculatorimpl.cpp \ + moc_calculator.cpp +OBJMOC = moc_calculatorimpl.o \ + moc_calculator.o + + +####### 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: $(DESTDIR)$(TARGET) + +$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) + $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) + +moc: $(SRCMOC) + +tmake: + tmake calculator.pro + +clean: + -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) + -rm -f *~ core + -rm -f allmoc.cpp + +####### Extension Modules + +listpromodules: + @echo + +listallmodules: + @echo + +listaddonpromodules: + @echo + +listaddonentmodules: + @echo + + +REQUIRES= + +####### Sub-libraries + + +###### Combined headers + + + +####### Compile + +calculatorimpl.o: calculatorimpl.cpp \ + calculatorimpl.h \ + calculator.h \ + $(QPEDIR)/include/qpe/resource.h \ + $(QPEDIR)/include/qpe/qmath.h \ + $(QPEDIR)/include/qpe/qpeapplication.h + +main.o: main.cpp \ + calculatorimpl.h \ + calculator.h \ + $(QPEDIR)/include/qpe/qpeapplication.h + +calculator.h: calculator.ui + $(UIC) calculator.ui -o calculator.h + +calculator.cpp: calculator.ui + $(UIC) calculator.ui -i calculator.h -o calculator.cpp + +calculator.o: calculator.cpp \ + calculator.h \ + calculator.ui + +moc_calculatorimpl.o: moc_calculatorimpl.cpp \ + calculatorimpl.h \ + calculator.h + +moc_calculator.o: moc_calculator.cpp \ + calculator.h + +moc_calculatorimpl.cpp: calculatorimpl.h + $(MOC) calculatorimpl.h -o moc_calculatorimpl.cpp + +moc_calculator.cpp: calculator.h + $(MOC) calculator.h -o moc_calculator.cpp + + |