defs.mk: Now not using gfilt for rpm based builds (still ugly, might be better to use configure

This commit is contained in:
Jan Lindemann 2006-03-17 16:50:28 +00:00 committed by Jan Lindemann
commit 587c7caff8

View file

@ -45,8 +45,6 @@ YTOOLS_VERSION_STR = \"@PACKAGE_VERSION@\"
# TOPDIR := $(MODDIR)
#endif
CPP = g++
EXE_SH += $(wildcard *.sh *.pl)
MKFILES += $(wildcard *.mk)
@ -305,11 +303,8 @@ endif
LDFLAGS += -L$(LIBDIR) $(LOCAL_LDFLAGS) $(PROJECTLIB_LDFLAGS) $(PROJECT_LDFLAGS) $(LPPFLAGS)
LDREST += $(LDAUDIO) $(LDFFTW) -ldl
CC = $(YAMD)gcc
#CPP = $(YAMD)g++
#CPP = gfilt
ifeq ($(USE_RPMLIBS),)
CPP = sh $(MODDIR)/contrib/gfilt/gfilt
else
CPP = sh $(firstword $(wildcard $(MODDIR)/contrib/gfilt/gfilt $(MODDIR)/bin/gfilt))
ifeq ($(strip $(CPP)),sh)
CPP = g++
endif
RM = rm