diff options
Diffstat (limited to 'q15/qt.FreeBSD.mk')
-rw-r--r-- | q15/qt.FreeBSD.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/q15/qt.FreeBSD.mk b/q15/qt.FreeBSD.mk new file mode 100644 index 00000000..7afc941b --- /dev/null +++ b/q15/qt.FreeBSD.mk @@ -0,0 +1,24 @@ +# $Id: qt.FreeBSD.mk,v 1.0 2004/11/05 10:22:11 denis Exp $ + +QTDIR= /usr/X11R6 +MOC= ${QTDIR}/bin/moc +LUPDATE= ${QTDIR}/bin/lupdate +LRELEASE= ${QTDIR}/bin/lrelease +QTCFLAGS= ${QTDIR}/include -DQT_NO_COMPAT -pthread +QTLFLAGS= -L${QTDIR}/lib -lqt-mt -pthread + +CXXFLAGS+= -I${QTCFLAGS} +LDADD+= ${QTLFLAGS} + +SRCMOC= ${MOCS:M*.h:R:S/$/.cxx/g} +OBJMOC= ${MOCS:M*.h:R:S/$/.mo/g} +OBJS+= ${OBJMOC} +CLEANFILES+= ${SRCMOC} + +.SUFFIXES: .h .cxx .mo + +.h.cxx: + ${MOC} ${.IMPSRC} -o ${.TARGET} + +.cxx.mo: + ${CXX} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} |