f56b833007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
459 lines
7.9 KiB
Plaintext
459 lines
7.9 KiB
Plaintext
|
|
# This file was automatically generated by tmake at 23:03, 1999/07/29
|
|
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
|
|
|
#
|
|
# File: makefile.unx
|
|
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
|
# Created: 1993
|
|
# Updated: 1999
|
|
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
|
# Copyright:(c) 1999, Vadim Zeitlin
|
|
# Copyright:(c) 1999, Robert Roebling
|
|
#
|
|
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
|
|
|
|
########################### VERSION #################################
|
|
|
|
LIBS = @LIBS@
|
|
|
|
TOOLKIT = @TOOLKIT@
|
|
|
|
WXLIB = @WX_LIBRARY@
|
|
|
|
########################### VERSION #################################
|
|
|
|
WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
|
|
WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
|
|
WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
|
|
|
|
########################### Misc #################################
|
|
|
|
SHELL = @SHELL@
|
|
|
|
########################### Paths #################################
|
|
|
|
srcdir = @srcdir@/src/gtk
|
|
|
|
top_srcdir = @top_srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = .
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_alias = @build_alias@
|
|
build_triplet = @build@
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
target_alias = @target_alias@
|
|
target_triplet = @target@
|
|
|
|
EXTRA_VPATH = @EXTRA_VPATH_MF@
|
|
|
|
VPATH = .:${srcdir}:${srcdir}/src/common:${srcdir}/src/generic:${srcdir}/src/html:${EXTRA_VPATH}
|
|
|
|
########################### Programs #################################
|
|
|
|
# C++ compiler
|
|
CC = @CXX@
|
|
CCPP = @CXXCPP@
|
|
|
|
# C compiler
|
|
CCC = @CC@
|
|
CCCPP = @CPP@
|
|
|
|
# Compiler for lex/yacc .c programs
|
|
CCLEX = @CC@
|
|
|
|
LEX = @LEX@
|
|
YACC = @YACC@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
NM = @NM@
|
|
LN_S = @LN_S@
|
|
STRIP = @STRIP@
|
|
MAKE = make
|
|
AROPTIONS = ruv
|
|
RANLIB = @RANLIB@
|
|
LD = @LD@
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
########################### Flags #################################
|
|
|
|
CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@
|
|
CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@
|
|
|
|
########################### Rules #################################
|
|
|
|
# Clears all default suffixes
|
|
.SUFFIXES: .o .cpp .c
|
|
|
|
.c.o :
|
|
$(CCC) -c $(CFLAGS) -o $@ $<
|
|
|
|
.cpp.o :
|
|
$(CC) -c $(CPPFLAGS) -o $@ $<
|
|
|
|
########################### Files #################################
|
|
|
|
WXDIR = $(srcdir)/../..
|
|
|
|
# Subordinate library possibilities
|
|
|
|
GENDIR = $(WXDIR)/src/generic
|
|
COMMDIR = $(WXDIR)/src/common
|
|
HTMLDIR = $(WXDIR)/src/html
|
|
UNIXDIR = $(WXDIR)/src/unix
|
|
PNGDIR = $(WXDIR)/src/png
|
|
JPEGDIR = $(WXDIR)/src/jpeg
|
|
ZLIBDIR = $(WXDIR)/src/zlib
|
|
GTKDIR = $(WXDIR)/src/gtk
|
|
|
|
DOCDIR = $(WXDIR)\docs
|
|
|
|
GENERICOBJS = \
|
|
busyinfo.o \
|
|
caret.o \
|
|
colrdlgg.o \
|
|
dirdlgg.o \
|
|
extdlgg.o \
|
|
fontdlgg.o \
|
|
gridg.o \
|
|
imaglist.o \
|
|
laywin.o \
|
|
listctrl.o \
|
|
numdlgg.o \
|
|
panelg.o \
|
|
printps.o \
|
|
prntdlgg.o \
|
|
progdlgg.o \
|
|
prop.o \
|
|
propform.o \
|
|
proplist.o \
|
|
sashwin.o \
|
|
scrolwin.o \
|
|
splitter.o \
|
|
statusbr.o \
|
|
tipdlg.o \
|
|
treectrl.o
|
|
|
|
COMMONOBJS = \
|
|
parser.o \
|
|
cmndata.o \
|
|
config.o \
|
|
date.o \
|
|
datstrm.o \
|
|
db.o \
|
|
dbtable.o \
|
|
dcbase.o \
|
|
dlgcmn.o \
|
|
docmdi.o \
|
|
docview.o \
|
|
dynarray.o \
|
|
dynlib.o \
|
|
event.o \
|
|
extended.o \
|
|
ffile.o \
|
|
file.o \
|
|
fileconf.o \
|
|
filefn.o \
|
|
filesys.o \
|
|
framecmn.o \
|
|
fs_inet.o \
|
|
fs_zip.o \
|
|
ftp.o \
|
|
gdicmn.o \
|
|
hash.o \
|
|
helpbase.o \
|
|
http.o \
|
|
imagbmp.o \
|
|
image.o \
|
|
imaggif.o \
|
|
imagjpeg.o \
|
|
imagpng.o \
|
|
intl.o \
|
|
ipcbase.o \
|
|
layout.o \
|
|
list.o \
|
|
log.o \
|
|
memory.o \
|
|
mimetype.o \
|
|
module.o \
|
|
mstream.o \
|
|
object.o \
|
|
objstrm.o \
|
|
paper.o \
|
|
prntbase.o \
|
|
process.o \
|
|
protocol.o \
|
|
resource.o \
|
|
sckaddr.o \
|
|
sckfile.o \
|
|
sckipc.o \
|
|
sckstrm.o \
|
|
socket.o \
|
|
stream.o \
|
|
string.o \
|
|
tbarbase.o \
|
|
tbarsmpl.o \
|
|
textcmn.o \
|
|
textfile.o \
|
|
time.o \
|
|
timercmn.o \
|
|
tokenzr.o \
|
|
txtstrm.o \
|
|
unzip.o \
|
|
url.o \
|
|
utilscmn.o \
|
|
valgen.o \
|
|
validate.o \
|
|
valtext.o \
|
|
variant.o \
|
|
wfstream.o \
|
|
wincmn.o \
|
|
wxchar.o \
|
|
wxexpr.o \
|
|
zipstream.o \
|
|
zstream.o
|
|
|
|
HTMLOBJS = \
|
|
htmlcell.o \
|
|
htmlfilter.o \
|
|
htmlhelp.o \
|
|
htmlhelp_io.o \
|
|
htmlparser.o \
|
|
htmltag.o \
|
|
htmlwin.o \
|
|
htmlwinparser.o \
|
|
mod_fonts.o \
|
|
mod_hline.o \
|
|
mod_image.o \
|
|
mod_layout.o \
|
|
mod_links.cpp \
|
|
mod_list.o \
|
|
mod_pre.o \
|
|
mod_tables.o \
|
|
search.o
|
|
|
|
GTKOBJS = \
|
|
accel.o \
|
|
app.o \
|
|
bitmap.o \
|
|
bmpbuttn.o \
|
|
brush.o \
|
|
button.o \
|
|
checkbox.o \
|
|
checklst.o \
|
|
choicdlg.o \
|
|
choice.o \
|
|
clipbrd.o \
|
|
colour.o \
|
|
combobox.o \
|
|
control.o \
|
|
cursor.o \
|
|
data.o \
|
|
dataobj.o \
|
|
dc.o \
|
|
dcclient.o \
|
|
dcmemory.cpp \
|
|
dcscreen.o \
|
|
dialog.o \
|
|
dnd.o \
|
|
filedlg.o \
|
|
font.o \
|
|
frame.o \
|
|
gauge.o \
|
|
gdiobj.o \
|
|
gsockgtk.o \
|
|
icon.o \
|
|
listbox.o \
|
|
main.o \
|
|
mdi.o \
|
|
menu.o \
|
|
minifram.o \
|
|
msgdlg.o \
|
|
notebook.o \
|
|
palette.o \
|
|
pen.o \
|
|
radiobox.o \
|
|
radiobut.o \
|
|
region.o \
|
|
scrolbar.o \
|
|
settings.o \
|
|
slider.o \
|
|
spinbutt.o \
|
|
statbmp.o \
|
|
statbox.o \
|
|
statline.o \
|
|
stattext.o \
|
|
tbargtk.o \
|
|
textctrl.o \
|
|
textdlg.o \
|
|
timer.o \
|
|
tooltip.o \
|
|
utilsgtk.o \
|
|
utilsres.o \
|
|
wave.o \
|
|
win_gtk.o \
|
|
window.o
|
|
|
|
UNIXOBJS = \
|
|
gsocket.o \
|
|
threadpsx.o \
|
|
utilsunx.o
|
|
|
|
ZLIBOBJS = \
|
|
adler32.o \
|
|
compress.o \
|
|
crc32.o \
|
|
gzio.o \
|
|
uncompr.o \
|
|
deflate.o \
|
|
trees.o \
|
|
zutil.o \
|
|
inflate.o \
|
|
infblock.o \
|
|
inftrees.o \
|
|
infcodes.o \
|
|
infutil.o \
|
|
inffast.o
|
|
|
|
PNGOBJS = \
|
|
png.o \
|
|
pngread.o \
|
|
pngrtran.o \
|
|
pngrutil.o \
|
|
pngpread.o \
|
|
pngtrans.o \
|
|
pngwrite.o \
|
|
pngwtran.o \
|
|
pngwutil.o \
|
|
pngerror.o \
|
|
pngmem.o \
|
|
pngwio.o \
|
|
pngrio.o \
|
|
pngget.o \
|
|
pngset.o
|
|
|
|
|
|
JPEGOBJS = \
|
|
jcomapi.o \
|
|
jutils.o \
|
|
jerror.o \
|
|
jmemmgr.o \
|
|
jmemnobs.o \
|
|
jcapimin.o \
|
|
jcapistd.o \
|
|
jctrans.o \
|
|
jcparam.o \
|
|
jdatadst.o \
|
|
jcinit.o \
|
|
jcmaster.o \
|
|
jcmarker.o \
|
|
jcmainct.o \
|
|
jcprepct.o \
|
|
jccoefct.o \
|
|
jccolor.o \
|
|
jcsample.o \
|
|
jchuff.o \
|
|
jcphuff.o \
|
|
jcdctmgr.o \
|
|
jfdctfst.o \
|
|
jfdctflt.o \
|
|
jfdctint.o \
|
|
jdapimin.o \
|
|
jdapistd.o \
|
|
jdtrans.o \
|
|
jdatasrc.o \
|
|
jdmaster.o \
|
|
jdinput.o \
|
|
jdmarker.o \
|
|
jdhuff.o \
|
|
jdphuff.o \
|
|
jdmainct.o \
|
|
jdcoefct.o \
|
|
jdpostct.o \
|
|
jddctmgr.o \
|
|
jidctfst.o \
|
|
jidctflt.o \
|
|
jidctint.o \
|
|
jidctred.o \
|
|
jdsample.o \
|
|
jdcolor.o \
|
|
jquant1.o \
|
|
jquant2.o \
|
|
jdmerge.o
|
|
|
|
OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
|
|
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
|
|
|
|
all: $(OBJECTS) $(WXLIB)
|
|
|
|
$(WXLIB): $(OBJECTS)
|
|
$AR) $(AROPTIONS) $@ $(OBJECTS)
|
|
$(RANLIB) $@
|
|
|
|
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
|
|
|
|
parser.o: parser.c lexer.c
|
|
$(CCLEX) -c $(CFLAGS) -o $@ parser.c
|
|
|
|
parser.c: $(COMMDIR)/parser.y lexer.c
|
|
$(YACC) $(COMMDIR)/parser.y
|
|
@sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
|
|
sed -e "s/BUFSIZ/5000/g" | \
|
|
sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
|
|
sed -e "s/yy/PROIO_yy/g" | \
|
|
sed -e "s/input/PROIO_input/g" | \
|
|
sed -e "s/unput/PROIO_unput/g" > parser.c
|
|
@$(RM) y.tab.c
|
|
|
|
lexer.c: $(COMMDIR)/lexer.l
|
|
$(LEX) $(COMMDIR)/lexer.l
|
|
@sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
|
|
sed -e "s/yy/PROIO_yy/g" | \
|
|
sed -e "s/input/PROIO_input/g" | \
|
|
sed -e "s/unput/PROIO_unput/g" > lexer.c
|
|
@$(RM) lex.yy.c
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.lo
|
|
rm -f parser.c
|
|
rm -f lexer.c
|
|
rm -f *.a
|
|
rm -f *.la
|
|
|
|
cleanall: clean
|