summaryrefslogtreecommitdiff
path: root/muse2/common.am
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/common.am')
-rw-r--r--muse2/common.am47
1 files changed, 0 insertions, 47 deletions
diff --git a/muse2/common.am b/muse2/common.am
deleted file mode 100644
index 919f8593..00000000
--- a/muse2/common.am
+++ /dev/null
@@ -1,47 +0,0 @@
-AM_CXXFLAGS = $(MUSECXXFLAGS) -I.. -I$(top_srcdir)/synti -I$(top_srcdir)/muse/widgets
-AM_CXXFLAGS += -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_PLUGIN $(QTDIR_INC) -DQT3_SUPPORT
-AM_CPPFLAGS =
-MOC = $(QTDIR_BIN)/moc
-#UIC = $(QTDIR_BIN)/uic3
-UIC = /usr/bin/uic3
-
-UIFILES = $(wildcard *.ui)
-
-MOCFILES = $(shell for h in $(filter %.h,$(SOURCES)); do \
- if grep -q Q_OBJECT $$h; then \
- echo $$h | sed "s/\(.*\)\.h/moc_\1.cpp/"; \
- fi; \
- done)
-
-BUILT_SOURCES = $(MOCFILES) $(UIFILES:%.ui=%.h)
-
-MOSTLYCLEANFILES = $(MOCFILES) $(UIFILES:%.ui=%.h)
-
-de:
- @for base in $(MOCFILES); do echo -e "\t$${base}.cpp $${base}.h \\"; done
-
-nde:
- @for base in $(MOCFILES); do echo -e "\tmoc_$${base}.cpp \\"; done
-
-SUFFIXES = .ui .h.gch
-
-.ui.o: %.h
- $(UIC) -L $(top_srcdir)/muse/widgets -o $*.cpp -impl $*.h $*.ui
- $(MOC) $*.h >> $*.cpp
- $(CXXCOMPILE) -c $*.cpp -o $*.o
- $(RM) $*.cpp moc_$*.cpp moc_$*.o
-
-.ui.lo: %.h
- $(UIC) -L $(top_srcdir)/muse/widgets -o $*.cpp -impl $*.h $*.ui
- $(MOC) $*.h >> $*.cpp
- $(LTCXXCOMPILE) -c $*.cpp -o $*.lo
- $(RM) $*.cpp moc_$*.cpp moc_$*.lo moc_$*.o
-
-
-moc_%.cpp: %.h
- $(MOC) $< -o $@
-
-%.h: %.ui
- $(UIC) -o $@ $<
-# $(UIC) -L $(top_srcdir)/muse/widgets -o $@ $<
-