|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
DEFINES=-DTEST_APP -D_REENTRANT_ -DQT_THREAD_SUPPORT
|
|
|
|
|
|
|
|
|
|
CXX=g++
|
|
|
|
|
TQMOC=/usr/lib/qt-3.3/bin/tqmoc
|
|
|
|
|
TQMOC=/usr/lib/qt-3.3/bin/moc
|
|
|
|
|
|
|
|
|
|
CXXFLAGS=-g -fpic -pipe -Wall -Wreturn-type -fno-exceptions --permissive -fno-rtti -Wno-ctor-dtor-privacy -march=pentium -mcpu=pentium -O2 $(INCLUDES) $(DEFINES)
|
|
|
|
|
|
|
|
|
|
SRCS=main.cpp hxsplay.cpp
|
|
|
|
|
LIBSRCS=helix-engine.cpp helix-config.cpp hxsplay.cpp
|
|
|
|
|
TQMOCSRCS=helix-engine.tqmoc helix-config.tqmoc
|
|
|
|
|
TQMOCHDRS=$(TQMOCSRCS:.tqmoc=.h)
|
|
|
|
|
TQMOCSRCS=helix-engine.moc helix-config.moc
|
|
|
|
|
TQMOCHDRS=$(TQMOCSRCS:.moc=.h)
|
|
|
|
|
|
|
|
|
|
OBJS=$(SRCS:.cpp=.o)
|
|
|
|
|
LIBOBJS=$(LIBSRCS:.cpp=.o)
|
|
|
|
@ -30,7 +30,7 @@ INCLUDES=\
|
|
|
|
|
|
|
|
|
|
LIBRARIES=-Lhelix-sp -lhelix-sp --lstdc++ -ldl -lm -L/usr/lib/qt-3.3/lib -lqt-mt
|
|
|
|
|
|
|
|
|
|
.SUFFIXES: .cpp .so .h .tqmoc
|
|
|
|
|
.SUFFIXES: .cpp .so .h .moc
|
|
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
|
$(CC) $(CCFLAGS) -o $@ -c $<
|
|
|
|
@ -38,7 +38,7 @@ LIBRARIES=-Lhelix-sp -lhelix-sp --lstdc++ -ldl -lm -L/usr/lib/qt-3.3/lib -lqt-mt
|
|
|
|
|
.cpp.o:
|
|
|
|
|
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
|
|
|
|
|
|
.h.tqmoc:
|
|
|
|
|
.h.moc:
|
|
|
|
|
$(TQMOC) $< -o $@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -69,7 +69,7 @@ uninstall:
|
|
|
|
|
rm -f /usr/share/services/amarok_helixengine_plugin.desktop
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -f $(PROGRAM) $(SLIBRARY) $(LIBOBJS) $(OBJS) helix-engine.tqmoc *~
|
|
|
|
|
rm -f $(PROGRAM) $(SLIBRARY) $(LIBOBJS) $(OBJS) helix-engine.moc *~
|
|
|
|
|
|
|
|
|
|
depend:
|
|
|
|
|
makedepend $(DEFINES) $(INCLUDES) -o.o -- $(SRCS)
|
|
|
|
@ -116,4 +116,4 @@ hxsplay.o: /usr/lib/qt-3.3/include/qwinexport.h /usr/include/string.h
|
|
|
|
|
hxsplay.o: /usr/lib/qt-3.3/include/qnamespace.h
|
|
|
|
|
hxsplay.o: /usr/lib/qt-3.3/include/qmutex.h
|
|
|
|
|
hxsplay.o: /usr/lib/qt-3.3/include/qsemaphore.h
|
|
|
|
|
hxsplay.o: /usr/lib/qt-3.3/include/qwaitcondition.h hxsplay.h hxsplay.tqmoc
|
|
|
|
|
hxsplay.o: /usr/lib/qt-3.3/include/qwaitcondition.h hxsplay.h hxsplay.moc
|
|
|
|
|