2000-02-17 20:38:33 +01:00
|
|
|
#
|
|
|
|
# Makefile.in
|
|
|
|
#
|
|
|
|
# This file is part of a free library for the Win32 API.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
2000-10-20 06:39:21 +02:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2000-02-17 20:38:33 +01:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
# start config section
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2001-02-12 20:45:33 +01:00
|
|
|
build_alias = @build_alias@
|
|
|
|
host_alias = @host_alias@
|
2000-02-17 20:38:33 +01:00
|
|
|
target_alias = @target_alias@
|
|
|
|
prefix = @prefix@
|
|
|
|
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
|
|
datadir = @datadir@
|
|
|
|
infodir = @infodir@
|
|
|
|
includedir = @includedir@
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CC_FOR_TARGET = $(CC)
|
2000-10-20 06:39:21 +02:00
|
|
|
CFLAGS = @CFLAGS@
|
2000-02-17 20:38:33 +01:00
|
|
|
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
AS = @AS@
|
|
|
|
AS_FOR_TARGET = $(AS_FOR_TARGET)
|
|
|
|
WINDRES = @WINDRES@
|
|
|
|
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
AR = @AR@
|
|
|
|
LD = @LD@
|
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
TAR = tar
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
FLAGS_TO_PASS = \
|
|
|
|
AS="$(AS)" \
|
|
|
|
CC="$(CC)" \
|
|
|
|
CPPFLAGS="$(CPPFLAGS)" \
|
|
|
|
CFLAGS="$(CFLAGS)" \
|
|
|
|
CXXFLAGS="$(CXXFLAGS)" \
|
|
|
|
AR="$(AR)" \
|
|
|
|
RANLIB="$(RANLIB)" \
|
|
|
|
LD="$(LD)" \
|
|
|
|
DLLTOOL="$(DLLTOOL)" \
|
|
|
|
WINDRES="$(WINDRES)"
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
# end config section
|
2000-02-17 20:38:33 +01:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
SUBDIRS = lib
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
PACKAGE = w32api
|
2001-01-31 23:41:22 +01:00
|
|
|
VERSION = 0.5
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
DIST_FILES = Makefile.in configure.in configure config.guess config.sub \
|
2000-11-01 01:37:23 +01:00
|
|
|
install-sh README ChangeLog TODO CONTRIBUTIONS
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
all: lib
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
%-subdirs:
|
|
|
|
for i in $(SUBDIRS); do \
|
|
|
|
$(MAKE) $(FLAGS_TO_PASS) -C $$i $*; \
|
2000-10-19 22:56:51 +02:00
|
|
|
done
|
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
lib:
|
|
|
|
$(MAKE) $(FLAGS_TO_PASS) -C $@
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
test:
|
|
|
|
$(MAKE) -C lib test $(FLAGS_TO_PASS)
|
2000-10-19 22:56:51 +02:00
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
install uninstall:
|
|
|
|
for i in $(SUBDIRS); do \
|
|
|
|
(cd $$i; $(MAKE) $@); \
|
2000-10-19 22:56:51 +02:00
|
|
|
done
|
|
|
|
|
2001-03-01 21:32:34 +01:00
|
|
|
ifdef SNAPDATE
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)-$(SNAPDATE)
|
|
|
|
else
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
endif
|
2000-02-17 20:38:33 +01:00
|
|
|
|
2000-11-06 17:17:16 +01:00
|
|
|
dist: srcdist bindist
|
|
|
|
|
|
|
|
srcdist:
|
2000-10-20 06:39:21 +02:00
|
|
|
rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
chmod 755 $(distdir)
|
|
|
|
for i in $(DIST_FILES); do \
|
|
|
|
cp -p $(srcdir)/$$i $(distdir)/$$i ; \
|
2000-02-17 20:38:33 +01:00
|
|
|
done
|
2000-10-20 06:39:21 +02:00
|
|
|
for i in $(SUBDIRS); do \
|
|
|
|
(cd $$i; $(MAKE) distdir=../$(distdir) dist); \
|
2000-02-17 20:38:33 +01:00
|
|
|
done
|
2000-10-20 06:39:21 +02:00
|
|
|
rm -f $(distdir)-src.tar.gz
|
|
|
|
$(TAR) czf $(distdir)-src.tar.gz $(distdir)
|
|
|
|
|
|
|
|
bindist:
|
|
|
|
rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
chmod 755 $(distdir)
|
|
|
|
$(MAKE) install prefix=../$(distdir)
|
|
|
|
rm -f $(distdir).tar.gz
|
|
|
|
cd $(distdir); $(TAR) czf ../$(distdir).tar.gz .
|
|
|
|
|
2001-03-01 21:32:34 +01:00
|
|
|
snapshot:
|
|
|
|
make dist SNAPDATE=$(shell date '+%Y%m%d')
|
|
|
|
|
2000-10-20 06:39:21 +02:00
|
|
|
Makefile: Makefile.in config.status configure
|
|
|
|
$(SHELL) config.status
|
|
|
|
|
|
|
|
mostlyclean-top:
|
|
|
|
rm -f *~
|
2000-11-06 17:17:16 +01:00
|
|
|
clean-top: mostlyclean-top
|
2000-10-20 06:39:21 +02:00
|
|
|
rm -rf $(distdir)
|
2000-11-06 17:17:16 +01:00
|
|
|
rm -f $(distdir)*.tar.gz
|
2000-10-20 06:39:21 +02:00
|
|
|
maintainer-clean-top:
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-top mostlyclean-subdirs
|
|
|
|
clean: mostlyclean-top clean-subdirs
|
|
|
|
distclean: clean-top
|
|
|
|
rm -f Makefile config.status config.log config.cache TAGS *~
|
|
|
|
$(MAKE) -C lib distclean
|
|
|
|
maintainer-clean: maintainer-clean-subdirs
|
|
|
|
|
2000-11-06 17:17:16 +01:00
|
|
|
.PHONY: lib test
|