fixes for 'make install' for wxBase - seems to work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-10 17:12:43 +00:00
parent 6c8f8bc534
commit dad6c0ea77
5 changed files with 350 additions and 322 deletions

View File

@@ -1,5 +1,5 @@
# #
# This file was automatically generated by tmake at 19:06, 2000/01/05 # This file was automatically generated by tmake at 18:11, 2000/01/10
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T! # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
# #
@@ -96,6 +96,8 @@ host_triplet = @host@
target_alias = @target_alias@ target_alias = @target_alias@
target_triplet = @target@ target_triplet = @target@
USE_GUI=@USE_GUI@
############################# Dirs ################################# ############################# Dirs #################################
WXDIR = $(top_srcdir) WXDIR = $(top_srcdir)
@@ -132,7 +134,8 @@ DISTDIR = ./_dist_dir/wx$(TOOLKIT)
BASE_HEADERS = \ BASE_HEADERS = \
app.h \ app.h \
cmdline.cpp \ buffer.h \
cmdline.h \
date.h \ date.h \
datetime.h \ datetime.h \
debug.h \ debug.h \
@@ -146,14 +149,15 @@ BASE_HEADERS = \
fileconf.h \ fileconf.h \
hash.h \ hash.h \
intl.h \ intl.h \
ioswrap.h \
list.h \ list.h \
log.h \ log.h \
longlong.h \ longlong.h \
memory.h \
mimetype.h \ mimetype.h \
module.h \ module.h \
object.h \ object.h \
process.h \ process.h \
setup.h \
strconv.h \ strconv.h \
stream.h \ stream.h \
string.h \ string.h \
@@ -188,7 +192,7 @@ WX_HEADERS = \
choicdlg.h \ choicdlg.h \
choice.h \ choice.h \
clipbrd.h \ clipbrd.h \
cmdline.cpp \ cmdline.h \
cmndata.h \ cmndata.h \
colordlg.h \ colordlg.h \
colour.h \ colour.h \
@@ -2184,6 +2188,14 @@ lexer.c: $(COMMDIR)/lexer.l
-include $(DEPFILES) -include $(DEPFILES)
afminstall:
$(INSTALL) -d $(datadir)
$(INSTALL) -d $(datadir)/wx
$(INSTALL) -d $(datadir)/wx/afm
$(INSTALL) -d $(datadir)/wx/gs_afm
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
@echo " " @echo " "
@echo " Installing wxWindows..." @echo " Installing wxWindows..."
@@ -2192,7 +2204,6 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
$(INSTALL) -d $(prefix) $(INSTALL) -d $(prefix)
$(INSTALL) -d $(bindir) $(INSTALL) -d $(bindir)
$(INSTALL) -d $(libdir) $(INSTALL) -d $(libdir)
$(INSTALL) -d $(datadir)
$(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@ $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
@@ -2203,20 +2214,11 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@ $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
$(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
$(INSTALL) -d $(datadir)/wx
$(INSTALL) -d $(datadir)/wx/afm
$(INSTALL) -d $(datadir)/wx/gs_afm
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
$(INSTALL) -d $(includedir)/wx $(INSTALL) -d $(includedir)/wx
$(INSTALL) -d $(includedir)/wx/msw @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
$(INSTALL) -d $(includedir)/wx/gtk @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/protocol; fi
$(INSTALL) -d $(includedir)/wx/motif @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/unix; fi
$(INSTALL) -d $(includedir)/wx/html @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
$(INSTALL) -d $(includedir)/wx/protocol
$(INSTALL) -d $(includedir)/wx/unix
$(INSTALL) -d $(includedir)/wx/generic
@list='$(HEADERS)'; for p in $$list; do \ @list='$(HEADERS)'; for p in $$list; do \
$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \ $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \ echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
@@ -2234,7 +2236,7 @@ write_message:
@echo " Read the wxWindows Licence on licencing conditions." @echo " Read the wxWindows Licence on licencing conditions."
@echo " " @echo " "
install: preinstall @WX_ALL_INSTALLED@ write_message install: preinstall @AFMINSTALL@ @WX_ALL_INSTALLED@ write_message
uninstall: uninstall:
@echo " " @echo " "

580
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1445,8 +1445,12 @@ dnl ----------------------------------------------------------------
dnl search for toolkit (widget sets) dnl search for toolkit (widget sets)
dnl ---------------------------------------------------------------- dnl ----------------------------------------------------------------
AFMINSTALL=
if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_GUI" = "yes"; then
USE_GUI=1
TOOLKIT= TOOLKIT=
TOOLKIT_INCLUDE= TOOLKIT_INCLUDE=
@@ -1518,6 +1522,8 @@ dnl )
GUI_TK_LIBRARY="$GTK_LIBS -lgthread" GUI_TK_LIBRARY="$GTK_LIBS -lgthread"
TOOLKIT=GTK TOOLKIT=GTK
AFMINSTALL=afminstall
GUIOBJS="\$(GTK_GUIOBJS)" GUIOBJS="\$(GTK_GUIOBJS)"
GUIHEADERS="\$(GTK_HEADERS)" GUIHEADERS="\$(GTK_HEADERS)"
COMMONOBJS="\$(GTK_COMMONOBJS)" COMMONOBJS="\$(GTK_COMMONOBJS)"
@@ -1598,6 +1604,8 @@ if test "$wxUSE_MOTIF" = 1; then
GUI_TK_LIBRARY="$X_LIBS" GUI_TK_LIBRARY="$X_LIBS"
TOOLKIT_INCLUDE="$X_CFLAGS" TOOLKIT_INCLUDE="$X_CFLAGS"
AFMINSTALL=afminstall
dnl manual check for X11 headers/libs dnl manual check for X11 headers/libs
dnl dnl
dnl AC_MSG_CHECKING(for X11 headers) dnl AC_MSG_CHECKING(for X11 headers)
@@ -1734,6 +1742,8 @@ WX_LIBRARY="wx_${TOOLKIT_DIR}"
else else
dnl leave all TOOLKIT_XXX vars empty dnl leave all TOOLKIT_XXX vars empty
USE_GUI=0
dnl the sources, their dependenices and the headers dnl the sources, their dependenices and the headers
ALL_OBJECTS="\$(BASE_OBJS)" ALL_OBJECTS="\$(BASE_OBJS)"
ALL_DEPFILES="\${BASE_DEPS}" ALL_DEPFILES="\${BASE_DEPS}"
@@ -3223,6 +3233,8 @@ dnl debugging options
AC_SUBST(WXDEBUG_DEFINE) AC_SUBST(WXDEBUG_DEFINE)
dnl toolkit options dnl toolkit options
AC_SUBST(USE_GUI)
AC_SUBST(AFMINSTALL)
AC_SUBST(TOOLKIT) AC_SUBST(TOOLKIT)
AC_SUBST(TOOLKIT_DEF) AC_SUBST(TOOLKIT_DEF)
AC_SUBST(TOOLKIT_DIR) AC_SUBST(TOOLKIT_DIR)

View File

@@ -521,7 +521,7 @@ app.h W B
bitmap.h W bitmap.h W
bmpbuttn.h W bmpbuttn.h W
brush.h W brush.h W
buffer.h W buffer.h W B
busyinfo.h W busyinfo.h W
button.h W button.h W
calctrl.h W calctrl.h W
@@ -531,7 +531,7 @@ checklst.h W
choicdlg.h W choicdlg.h W
choice.h W choice.h W
clipbrd.h W clipbrd.h W
cmdline.cpp W B cmdline.h W B
cmndata.h W cmndata.h W
colordlg.h W colordlg.h W
colour.h W colour.h W
@@ -607,7 +607,7 @@ imagtiff.h W
imagjpeg.h W imagjpeg.h W
imaglist.h W imaglist.h W
intl.h W B intl.h W B
ioswrap.h W ioswrap.h W B
ipcbase.h W ipcbase.h W
joystick.h W joystick.h W
layout.h W layout.h W
@@ -619,7 +619,7 @@ log.h W B
longlong.h W B longlong.h W B
matrix.h W matrix.h W
mdi.h W mdi.h W
memory.h W memory.h W B
menu.h W menu.h W
menuitem.h W menuitem.h W
metafile.h W metafile.h W
@@ -657,7 +657,7 @@ scrolbar.h W
scrolwin.h W scrolwin.h W
serbase.h W serbase.h W
settings.h W settings.h W
setup.h W B setup.h W
sizer.h W sizer.h W
slider.h W slider.h W
socket.h W socket.h W

View File

@@ -305,6 +305,8 @@ host_triplet = @host@
target_alias = @target_alias@ target_alias = @target_alias@
target_triplet = @target@ target_triplet = @target@
USE_GUI=@USE_GUI@
############################# Dirs ################################# ############################# Dirs #################################
WXDIR = $(top_srcdir) WXDIR = $(top_srcdir)
@@ -675,6 +677,14 @@ lexer.c: $(COMMDIR)/lexer.l
-include $(DEPFILES) -include $(DEPFILES)
afminstall:
$(INSTALL) -d $(datadir)
$(INSTALL) -d $(datadir)/wx
$(INSTALL) -d $(datadir)/wx/afm
$(INSTALL) -d $(datadir)/wx/gs_afm
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
@echo " " @echo " "
@echo " Installing wxWindows..." @echo " Installing wxWindows..."
@@ -683,7 +693,6 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
$(INSTALL) -d $(prefix) $(INSTALL) -d $(prefix)
$(INSTALL) -d $(bindir) $(INSTALL) -d $(bindir)
$(INSTALL) -d $(libdir) $(INSTALL) -d $(libdir)
$(INSTALL) -d $(datadir)
$(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config $(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@ $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
@@ -694,20 +703,11 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@ $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
$(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
$(INSTALL) -d $(datadir)/wx
$(INSTALL) -d $(datadir)/wx/afm
$(INSTALL) -d $(datadir)/wx/gs_afm
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
$(INSTALL) -d $(includedir)/wx $(INSTALL) -d $(includedir)/wx
$(INSTALL) -d $(includedir)/wx/msw @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
$(INSTALL) -d $(includedir)/wx/gtk @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/protocol; fi
$(INSTALL) -d $(includedir)/wx/motif @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/unix; fi
$(INSTALL) -d $(includedir)/wx/html @if test "$USE_GUI" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
$(INSTALL) -d $(includedir)/wx/protocol
$(INSTALL) -d $(includedir)/wx/unix
$(INSTALL) -d $(includedir)/wx/generic
@list='$(HEADERS)'; for p in $$list; do \ @list='$(HEADERS)'; for p in $$list; do \
$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \ $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \ echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
@@ -725,7 +725,7 @@ write_message:
@echo " Read the wxWindows Licence on licencing conditions." @echo " Read the wxWindows Licence on licencing conditions."
@echo " " @echo " "
install: preinstall @WX_ALL_INSTALLED@ write_message install: preinstall @AFMINSTALL@ @WX_ALL_INSTALLED@ write_message
uninstall: uninstall:
@echo " " @echo " "