2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
# Makefile.in
|
|
|
|
#
|
|
|
|
# This file is part of a free library building Windows NT drivers.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
|
|
# start config section
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
host_alias = @host@
|
|
|
|
build_alias = @build@
|
|
|
|
target_alias = @target@
|
2006-08-30 21:04:41 +08:00
|
|
|
with_cross_host = @with_cross_host@
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
prefix = @prefix@
|
|
|
|
includedir:=@includedir@
|
|
|
|
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
libdir:=@libdir@
|
|
|
|
bindir = @bindir@
|
|
|
|
ifeq ($(target_alias),$(host_alias))
|
|
|
|
ifeq ($(build_alias),$(host_alias))
|
|
|
|
tooldir:=$(exec_prefix)
|
|
|
|
else
|
|
|
|
tooldir:=$(exec_prefix)/$(target_alias)
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
tooldir:=$(exec_prefix)/$(target_alias)
|
|
|
|
endif
|
|
|
|
datadir = @datadir@
|
|
|
|
infodir = @infodir@
|
|
|
|
ifneq (,$(findstring cygwin,$(target_alias)))
|
|
|
|
inst_includedir:=$(tooldir)/include/w32api
|
|
|
|
inst_libdir:=$(tooldir)/lib/w32api
|
|
|
|
else
|
2006-09-12 08:29:04 +08:00
|
|
|
ifneq (,$(with_cross_host))
|
2006-08-30 21:04:41 +08:00
|
|
|
inst_includedir:=$(tooldir)/include/w32api
|
|
|
|
inst_libdir:=$(tooldir)/lib
|
|
|
|
else
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
inst_includedir:=$(includedir)
|
|
|
|
inst_libdir:=$(libdir)
|
|
|
|
endif
|
2006-08-30 21:04:41 +08:00
|
|
|
endif
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
mkinstalldirs = mkdir -p
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CC_FOR_TARGET = $(CC)
|
|
|
|
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
DLLTOOL_FLAGS = --as=$(AS) -k
|
|
|
|
AS = @AS@
|
|
|
|
AS_FOR_TARGET = $(AS_FOR_TARGET)
|
|
|
|
WINDRES = @WINDRES@
|
|
|
|
|
|
|
|
# Depending on if we build as part of winsup or mingw we need to
|
|
|
|
# add additional include paths in order to get the correct headers
|
|
|
|
# from the C library.
|
|
|
|
BUILDENV = @BUILDENV@
|
|
|
|
|
|
|
|
ifeq ($(BUILDENV), cygwin)
|
|
|
|
# winsup/include
|
|
|
|
# winsup/../newlib/libc/include
|
|
|
|
# winsup/../newlib/libc/sys/cygwin
|
|
|
|
EXTRA_INCLUDES = -I$(srcdir)/../../include -I$(srcdir)/../../../newlib/libc/include -I$(srcdir)/../../../newlib/libc/sys/cygwin
|
|
|
|
endif
|
|
|
|
ifeq ($(BUILDENV), mingw)
|
|
|
|
EXTRA_INCLUDES = -I$(srcdir)/../../mingw/include
|
|
|
|
endif
|
|
|
|
|
|
|
|
INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../include/directx $(EXTRA_INCLUDES)
|
|
|
|
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
ALL_CFLAGS = $(CFLAGS) $(INCLUDES)
|
|
|
|
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
AR = @AR@
|
|
|
|
LD = @LD@
|
|
|
|
|
|
|
|
# end config section
|
|
|
|
|
|
|
|
# headers
|
|
|
|
|
|
|
|
HEADERS = $(notdir $(wildcard $(srcdir)/../../include/directx/*.h))
|
|
|
|
|
|
|
|
# libraries
|
|
|
|
|
|
|
|
DEF_FILES = $(notdir $(wildcard $(srcdir)/*.def))
|
|
|
|
DIST_C_FILES = $(notdir $(wildcard $(srcdir)/*.c))
|
|
|
|
DIST_H_FILES = $(notdir $(wildcard $(srcdir)/*.h))
|
|
|
|
LIBS = libd3d8.a libd3d9.a libd3dim.a libd3drm.a libd3dx8d.a libd3dx9d.a \
|
|
|
|
libd3dxof.a libddraw.a libdinput.a libdinput8.a libdmoguids.a \
|
|
|
|
libdplayx.a libdpnaddr.a libdpnet.a libdpnlobby.a libdpvoice.a \
|
|
|
|
libdsetup.a libdsound.a libdxerr8.a libdxerr9.a libdxguid.a \
|
2006-05-06 03:17:05 +08:00
|
|
|
libksproxy.a libksuser.a libmsdmo.a libstrmiids.a
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
DINPUT_OBJS = dinput_joy.o dinput_joy2.o dinput_kbd.o dinput_mouse.o \
|
|
|
|
dinput_mouse2.o
|
|
|
|
|
|
|
|
DISTFILES = Makefile.in $(DEF_FILES) $(DIST_C_FILES) $(DIST_H_FILES)
|
|
|
|
|
|
|
|
.NOTPARALLEL:
|
|
|
|
|
|
|
|
# targets
|
|
|
|
all: $(LIBS)
|
|
|
|
|
|
|
|
TEST_OPTIONS = $(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
|
|
|
|
.PHONY: test
|
|
|
|
test:
|
|
|
|
@echo "Testing directx..."
|
|
|
|
@for lang in c c++ objective-c ; do \
|
|
|
|
echo "$$lang..."; \
|
|
|
|
$(CC) -x$$lang $(TEST_OPTIONS) ; \
|
|
|
|
echo "$$lang UNICODE..."; \
|
|
|
|
$(CC) -x$$lang -DUNICODE $(TEST_OPTIONS) ; \
|
|
|
|
done
|
|
|
|
@echo "windres..."
|
|
|
|
@$(WINDRES) --include-dir $(INCDIR) -i $(srcdir)/res.rc -o test.o
|
|
|
|
@echo "windres UNICODE..."
|
|
|
|
@$(WINDRES) --define UNICODE --include-dir $(INCDIR) -i $(srcdir)/res.rc -o test.o
|
|
|
|
@rm -f test.o
|
|
|
|
|
|
|
|
# make rules
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o .def .a
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(ALL_CFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
libdxerr8.a: dxerr8.o dxerr8w.o
|
|
|
|
$(AR) r $@ dxerr8.o dxerr8w.o
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
libdxerr9.a: dxerr9.o dxerr9w.o
|
|
|
|
$(AR) r $@ dxerr9.o dxerr9w.o
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
libdinput.a: dinput.def $(DINPUT_OBJS)
|
|
|
|
$(DLLTOOL) $(DLLTOOL_FLAGS) --output-lib $@ --def $(srcdir)/dinput.def
|
|
|
|
$(AR) r $@ $(DINPUT_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
libdinput8.a: dinput8.def $(DINPUT_OBJS)
|
|
|
|
$(DLLTOOL) $(DLLTOOL_FLAGS) --output-lib $@ --def $(srcdir)/dinput8.def
|
|
|
|
$(AR) r $@ $(DINPUT_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
lib%.a: %.def %.o
|
|
|
|
$(DLLTOOL) $(DLLTOOL_FLAGS) --output-lib $@ --def $(srcdir)/$*.def
|
|
|
|
$(AR) r $@ $*.o
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
lib%.a: %.def
|
|
|
|
$(DLLTOOL) $(DLLTOOL_FLAGS) --output-lib $@ --def $<
|
|
|
|
|
|
|
|
lib%.a: %.o
|
|
|
|
$(AR) rc $@ $*.o
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
need-DESTDIR-compatibility = prefix libdir includedir
|
|
|
|
.PHONY: $(need-DESTDIR-compatibility) fail-DESTDIR-compatibility
|
|
|
|
|
|
|
|
$(need-DESTDIR-compatibility):
|
|
|
|
@test -z "$(DESTDIR)" || case "$($@)" in ?:*) \
|
|
|
|
$(MAKE) --no-print-directory reject="$@" fail-DESTDIR-compatibility ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
fail-DESTDIR-compatibility:
|
|
|
|
$(error DESTDIR is not supported when $(reject) contains Win32 path `$($(reject))'; \
|
|
|
|
try `make install $(reject)=$(shell echo '$($(reject))' | sed s,:,:$(DESTDIR),) ...' instead)
|
|
|
|
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
# install headers and libraries in a target specified directory.
|
|
|
|
install: install-libraries install-headers
|
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
install-libraries: all $(need-DESTDIR-compatibility)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(inst_libdir)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
for i in $(LIBS); do \
|
2009-10-30 05:53:47 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(inst_libdir)/$$i ; \
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
done
|
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
install-headers: $(need-DESTDIR-compatibility)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(inst_includedir)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
for i in $(HEADERS); do \
|
2009-10-30 05:53:47 +08:00
|
|
|
$(INSTALL_DATA) $(srcdir)/../../include/directx/$$i $(DESTDIR)$(inst_includedir)/$$i ; \
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
# uninstall headers and libraries from a target specified directory
|
|
|
|
uninstall: uninstall-libraries uninstall-headers
|
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
uninstall-libraries: $(need-DESTDIR-compatibility)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
@for i in $(LIBS); do \
|
2009-10-30 05:53:47 +08:00
|
|
|
rm -f $(DESTDIR)$(inst_libdir)/$$i ; \
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
done
|
2009-10-30 05:53:47 +08:00
|
|
|
rmdir $(DESTDIR)$(inst_libdir)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
uninstall-headers: $(need-DESTDIR-compatibility)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
@for i in $(HEADERS); do \
|
2009-10-30 05:53:47 +08:00
|
|
|
rm -r $(DESTDIR)$(inst_includedir)/$$i ; \
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
done
|
2009-10-30 05:53:47 +08:00
|
|
|
rmdir $(DESTDIR)$(inst_includedir)
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 10:25:37 +08:00
|
|
|
|
|
|
|
|
|
|
|
dist:
|
|
|
|
mkdir $(distdir)/include/directx
|
|
|
|
chmod 755 $(distdir)/include/directx
|
|
|
|
@for i in $(HEADERS); do \
|
|
|
|
cp -p $(srcdir)/../../include/directx/$$i $(distdir)/include/directx/$$i ; \
|
|
|
|
done
|
|
|
|
mkdir $(distdir)/lib/directx
|
|
|
|
chmod 755 $(distdir)/lib/directx
|
|
|
|
@for i in $(DISTFILES); do \
|
|
|
|
cp -p $(srcdir)/$$i $(distdir)/lib/directx/$$i ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
Makefile: Makefile.in ../../config.status ../../configure
|
|
|
|
cd ../..; $(SHELL) config.status
|
|
|
|
|
|
|
|
# clean
|
|
|
|
|
|
|
|
mostlyclean:
|
|
|
|
rm -f *~ *.o *.s
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a *.s *~
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f config.cache config.status config.log Makefile
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|