mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Standardized
This commit is contained in:
parent
ea67ea66ce
commit
7bbf7c9a41
4 changed files with 13 additions and 23 deletions
|
|
@ -4,12 +4,9 @@
|
|||
# $Id$
|
||||
|
||||
all:
|
||||
ifeq ($(shell pwd | xargs basename),devel)
|
||||
install: $(INSTALLED_DOCS_DEVEL)
|
||||
else
|
||||
install: $(INSTALLED_DOCS_DIST)
|
||||
endif
|
||||
install: install_DOC
|
||||
clean: doc.clean
|
||||
distclean:
|
||||
|
||||
doc.clean:
|
||||
rm -rf *~ .*.swp
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
||||
all:
|
||||
clean:
|
||||
rm -rf *.h *~ .*.swp *.done
|
||||
distclean: clean
|
||||
install: hdrdir.done $(INSTALLED_H)
|
||||
clean: clean.include
|
||||
install: install_HDR
|
||||
|
||||
clean.include:
|
||||
rm -rf *.h *~ .*.swp *.done
|
||||
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
|
|
|||
14
make/lib.mk
14
make/lib.mk
|
|
@ -3,17 +3,14 @@
|
|||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
TESTVAR := $(LDFLAGS)
|
||||
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
|
||||
|
||||
include $(MODDIR)/make/rules.mk
|
||||
|
||||
install: $(LOCAL_TARGETS) all target-dir.done \
|
||||
$(sort $(INSTALLED_LIB_A) $(INSTALLED_LIB_SO) $(INSTALLED_LINKS_SO) $(wildcard *.a))
|
||||
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
|
||||
install: install_LIB
|
||||
clean: libclean local_libclean
|
||||
distclean: clean
|
||||
|
||||
local_libclean: clean.mingw clean.unix clean.all
|
||||
|
||||
clean.unix:
|
||||
|
|
@ -28,8 +25,3 @@ endif
|
|||
|
||||
clean.all:
|
||||
rm -rf *.a *.o *~ st* .*.swp *.done
|
||||
|
||||
target-dir.done:
|
||||
test -d $(INSTALL_LIBDIR) || $(INSTALL) -m $(EXEMODE) -o $(EXEOWNER) -d $(INSTALL_LIBDIR)
|
||||
touch $@
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ LOCAL_LDFLAGS += -rdynamic
|
|||
|
||||
include $(MODDIR)/make/exe.mk
|
||||
|
||||
all:
|
||||
install:
|
||||
all: build_EXE
|
||||
install: install_EXE
|
||||
clean: clean.yapp
|
||||
distclean:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue