jw-pkg/Makefile
2016-12-03 15:32:14 +00:00

60 lines
1.1 KiB
Makefile

# jan's utility modules
# (c) 2001-2005 jannet it services
# contact@jannet.de
# $Id$
TOPDIR = .
SUBDIRS = inst/pre \
make \
pkgconfig \
contrib \
devutil \
initrd \
doc \
htdocs tmpl \
base \
YMisc \
YFamily \
hashfunc \
lbuffer cache \
YMem YOptString \
gtopts \
misc \
parser \
lock sigsync shmem \
contr/YMtBuf \
contr/YRrBuf \
contr/YRrLogBuf \
contr/YStringTree \
cfgfile \
YStopWatch \
YEvent \
contr \
YLoadableObject \
msgfmt eloop statecheck \
YCbContr YThread \
YStopWatchList YStopWatchQueue YStopWatchThreadList \
YApplication \
YOsc os \
lib include bin \
util \
conf \
inst/post
RPM_UPLOAD_URLPREFIX ?= rsync_ssh://$(JANWARE_USER)@ftp.janware.com:/srv/ftp/pub/packages/jw-foss/$(RPM_UPLOAD_OS_NAME)/$(RPM_UPLOAD_OS_VERSION)
include $(TOPDIR)/make/proj.mk
include $(MODDIR)/make/topdir-autoconf.mk
define symversion
nm $(LIB_A) | sed '/^[0-9]\{8\} T / !d; s/^[0-9]\{8\} T //' | sort -u
endef
SYMBOLS: $(LIB_A)
$(symversion) > $@.tmp
mv $@.tmp $@
check_symversion:
$(symversion) | diff SYMBOLS - | sed '/^</ !d'