|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
DEFINES=-DTEST_APP -D_REENTRANT_ -DQT_THREAD_SUPPORT
|
|
|
|
|
|
|
|
|
|
CXX=g++
|
|
|
|
|
TQMOC=/usr/lib/qt-3.3/bin/moc
|
|
|
|
|
MOC=/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.moc helix-config.moc
|
|
|
|
|
TQMOCHDRS=$(TQMOCSRCS:.moc=.h)
|
|
|
|
|
MOCSRCS=helix-engine.moc helix-config.moc
|
|
|
|
|
MOCHDRS=$(MOCSRCS:.moc=.h)
|
|
|
|
|
|
|
|
|
|
OBJS=$(SRCS:.cpp=.o)
|
|
|
|
|
LIBOBJS=$(LIBSRCS:.cpp=.o)
|
|
|
|
@ -39,13 +39,13 @@ LIBRARIES=-Lhelix-sp -lhelix-sp --lstdc++ -ldl -lm -L/usr/lib/qt-3.3/lib -lqt-mt
|
|
|
|
|
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
|
|
|
|
|
|
.h.moc:
|
|
|
|
|
$(TQMOC) $< -o $@
|
|
|
|
|
$(MOC) $< -o $@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PROGRAM=splay
|
|
|
|
|
SLIBRARY=libamarok_helixengine_plugin.so
|
|
|
|
|
|
|
|
|
|
all: $(TQMOCSRCS) $(SLIBRARY) $(OBJS) $(LIBOBJS) $(PROGRAM)
|
|
|
|
|
all: $(MOCSRCS) $(SLIBRARY) $(OBJS) $(LIBOBJS) $(PROGRAM)
|
|
|
|
|
|
|
|
|
|
$(PROGRAM): $(OBJS)
|
|
|
|
|
$(CXX) -o $(PROGRAM) $(OBJS) $(LIBRARIES)
|
|
|
|
@ -55,7 +55,7 @@ $(SLIBRARY): $(LIBOBJS)
|
|
|
|
|
|
|
|
|
|
$(OBJS): $(SRCS)
|
|
|
|
|
|
|
|
|
|
$(TQMOCSRCS): $(TQMOCHDRS)
|
|
|
|
|
$(MOCSRCS): $(MOCHDRS)
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
install -p -C -m 755 $(SLIBRARY) /usr/lib/trinity/$(SLIBRARY)
|
|
|
|
|