mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 21:37:39 +01:00
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:
parent
85ebee471b
commit
4c2a0c721b
1 changed files with 13 additions and 10 deletions
|
|
@ -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 $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue