lo.mk: Don't generate SO_PREFIX anylonger

- Clean up indentation

  - Don't generate SO_PREFIX anylonger, since that's incompatible
    with not having a .cpp file to parse when linking against
    ytools.rpm
This commit is contained in:
Jan Lindemann 2007-08-18 20:32:41 +00:00 committed by Jan Lindemann
commit 4c2a0c721b

View file

@ -22,11 +22,14 @@ else
LOADABLE_OBJ_LIBS = $(addprefix $(SO_PREFIX), $(addsuffix .dll, $(LOADABLE_OBJS))) LOADABLE_OBJ_LIBS = $(addprefix $(SO_PREFIX), $(addsuffix .dll, $(LOADABLE_OBJS)))
endif endif
BUILD_LOADABLE_OBJ_LIBS = $(addprefix $(LIBDIR)/, $(LOADABLE_OBJ_LIBS)) BUILD_LOADABLE_OBJ_LIBS = $(addprefix $(LIBDIR)/, $(LOADABLE_OBJ_LIBS))
INSTALLED_LOADABLE_OBJ_LIBS = $(addprefix $(INSTALL_LIBDIR)/, $(LOADABLE_OBJ_LIBS))
all: $(LOADABLE_OBJ_LIBS) $(BUILD_LOADABLE_OBJ_LIBS) all: $(LOADABLE_OBJ_LIBS) $(BUILD_LOADABLE_OBJ_LIBS)
clean: install: $(INSTALLED_LOADABLE_OBJ_LIBS)
clean: clean.lo
clean.lo:
rm -f *.o *.cpp *.so *.done *.dll rm -f *.o *.cpp *.so *.done *.dll
install: $(ALL) installso
$(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o $(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o
$(CPP) -shared $^ $(LDFLAGS) -o $@ $(CPP) -shared $^ $(LDFLAGS) -o $@