diff options
author | Earnie Boyd <earnie@users.sf.net> | 2002-10-14 19:59:04 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2002-10-14 19:59:04 +0000 |
commit | c14ae835c5cf49ffd575455e6cd328f8ada7fd20 (patch) | |
tree | 2f99f8f9824b82bc78e2015dc210c6a8b5b3458b /winsup/w32api/lib/Makefile.in | |
parent | ad1d049af90ce1f0bb4b3c9304f31ccba6909236 (diff) | |
download | cygnal-c14ae835c5cf49ffd575455e6cd328f8ada7fd20.tar.gz cygnal-c14ae835c5cf49ffd575455e6cd328f8ada7fd20.tar.bz2 cygnal-c14ae835c5cf49ffd575455e6cd328f8ada7fd20.zip |
* Makefile.in: Add components for lib/ddk. Adjust for autoconf-2.53.
* configure.in: Ditto.
* lib/Makefile.in: Ditto.
* lib/ddk/Makefile.in: Correct installation procedure. Adjust for
autoconf-2.53.
* configure: Regenerate.
Diffstat (limited to 'winsup/w32api/lib/Makefile.in')
-rw-r--r-- | winsup/w32api/lib/Makefile.in | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in index 9e9506872..8e1a55188 100644 --- a/winsup/w32api/lib/Makefile.in +++ b/winsup/w32api/lib/Makefile.in @@ -15,9 +15,12 @@ SHELL = @SHELL@ srcdir = @srcdir@ VPATH = @srcdir@ -host_alias = @host_alias@ -build_alias = @build_alias@ -target_alias = @target_alias@ +SUBDIRS := ddk +subdirs := ddk + +host_alias = @host@ +build_alias = @build@ +target_alias = @target@ prefix = @prefix@ includedir:=@includedir@ @@ -82,6 +85,21 @@ RANLIB = @RANLIB@ AR = @AR@ LD = @LD@ +FLAGS_TO_PASS = \ + AS="$(AS)" \ + CC="$(CC)" \ + CPPFLAGS="$(CPPFLAGS)" \ + CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(CXXFLAGS)" \ + AR="$(AR)" \ + RANLIB="$(RANLIB)" \ + LD="$(LD)" \ + DLLTOOL="$(DLLTOOL)" \ + TAR="$(TAR)" \ + TARFLAGS="$(TARFLAGS)" \ + TARFILEEXT="$(TARFILEEXT)" \ + WINDRES="$(WINDRES)" + # end config section # headers @@ -105,7 +123,15 @@ DISTFILES = Makefile.in $(DEF_FILES) $(SOURCES) .NOTPARALLEL: # targets -all: $(LIBS) $(EXTRA_OBJS) +all: $(LIBS) $(EXTRA_OBJS) ddk + +%-subdirs: + for i in $(SUBDIRS); do \ + $(MAKE) $(FLAGS_TO_PASS) -C $$i $*; \ + done + +ddk: + $(MAKE) $(FLAGS_TO_PASS) -C $@ TEST_OPTIONS = $(ALL_CFLAGS) -DWINVER=0x0666 \ -Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o @@ -146,8 +172,9 @@ lib%.a: %.o $(AR) rc $@ $*.o $(RANLIB) $@ +.PHONY: install install-libraries install-headers install-pdk # install headers and libraries in a target specified directory. -install: install-libraries install-headers +install: install-libraries install-headers install-ddk install-libraries: all $(mkinstalldirs) $(inst_libdir) @@ -165,8 +192,11 @@ install-headers: $(INSTALL_DATA) $(srcdir)/../include/GL/$$i $(inst_includedir)/GL/$$i ; \ done +install-ddk: install-libraries install-headers + (cd ddk; $(MAKE) install) + # uninstall headers and libraries from a target specified directory -uninstall: uninstall-libraries uninstall-headers +uninstall: uninstall-pdk uninstall-libraries uninstall-headers uninstall-libraries: @for i in $(LIBS); do \ @@ -180,6 +210,8 @@ uninstall-headers: done rmdir $(inst_includedir) +uninstall-pdk: + cd ddk && $(MAKE) -C uninstall dist: mkdir $(distdir)/include @@ -208,3 +240,4 @@ distclean: clean rm -f config.cache config.status config.log Makefile maintainer-clean: distclean + |