author | kergoth <kergoth> | 2002-03-01 17:36:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-03-01 17:36:00 (UTC) |
commit | e992a79494ea03005223aef1200338760553aa7d (patch) (side-by-side diff) | |
tree | b5ab325e27b2e733ddcc320e9e6524751b458114 | |
parent | 2dfc5c76379baf8ae8ad6aed5f6c44d59d79087b (diff) | |
download | opie-e992a79494ea03005223aef1200338760553aa7d.zip opie-e992a79494ea03005223aef1200338760553aa7d.tar.gz opie-e992a79494ea03005223aef1200338760553aa7d.tar.bz2 |
QPEDIR->OPIEDIR.
-rw-r--r-- | core/applets/screenshotapplet/Makefile.in | 118 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 4 |
2 files changed, 120 insertions, 2 deletions
diff --git a/core/applets/screenshotapplet/Makefile.in b/core/applets/screenshotapplet/Makefile.in new file mode 100644 index 0000000..57331a8 --- a/dev/null +++ b/core/applets/screenshotapplet/Makefile.in @@ -0,0 +1,118 @@ +############################################################################# + +####### Compiler, tools and options + +CXX = $(SYSCONF_CXX) $(QT_CXX_MT) +CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) $(SYSCONF_CXXFLAGS_LIB) +CC = $(SYSCONF_CC) $(QT_C_MT) +CFLAGS = $(SYSCONF_CFLAGS) $(SYSCONF_CFLAGS_LIB) +INCPATH = -I$(OPIEDIR)/include +LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) +LIBS = $(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_QTAPP) +MOC = $(SYSCONF_MOC) +UIC = $(SYSCONF_UIC) + +####### Target + +DESTDIR = ../../plugins/applets/ +VER_MAJ = 1 +VER_MIN = 0 +VER_PATCH = 0 +TARGET = screenshotapplet +TARGET1 = lib$(TARGET).so.$(VER_MAJ) + +####### Files + +HEADERS = screenshot.h \ + screenshotappletimpl.h +SOURCES = screenshot.cpp \ + screenshotappletimpl.cpp +OBJECTS = opieobj/screenshot.o \ + opieobj/screenshotappletimpl.o +INTERFACES = +UICDECLS = +UICIMPLS = +SRCMOC = opieobj/moc_screenshot.cpp +OBJMOC = opieobj/moc_screenshot.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)$(SYSCONF_LINK_TARGET) + +$(DESTDIR)$(SYSCONF_LINK_TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) + $(SYSCONF_LINK_LIB) + +moc: $(SRCMOC) + +tmake: + tmake screenshotapplet.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 + +opieobj/screenshot.o: screenshot.cpp \ + screenshot.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshot.o screenshot.cpp + +opieobj/screenshotappletimpl.o: screenshotappletimpl.cpp \ + screenshot.h \ + screenshotappletimpl.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/screenshotappletimpl.o screenshotappletimpl.cpp + +opieobj/moc_screenshot.o: opieobj/moc_screenshot.cpp \ + screenshot.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o opieobj/moc_screenshot.o opieobj/moc_screenshot.cpp + +opieobj/moc_screenshot.cpp: screenshot.h + $(MOC) screenshot.h -o opieobj/moc_screenshot.cpp + + diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index bec49b7..095cce2 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro @@ -3,10 +3,10 @@ CONFIG += qt warn_on release HEADERS = screenshot.h screenshotappletimpl.h SOURCES = screenshot.cpp screenshotappletimpl.cpp TARGET = screenshotapplet DESTDIR = ../../plugins/applets -INCLUDEPATH += $(QPEDIR)/include -DEPENDPATH += ../$(QPEDIR)/include +INCLUDEPATH += $(OPIEDIR)/include +DEPENDPATH += ../$(OPIEDIR)/include LIBS += -lqpe VERSION = 1.0.0 MOC_DIR=opieobj OBJECTS_DIR=opieobj |