4 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
9 DEFINES = AutoDefines -DUSE_READLINE -DWINESTAT
11 CDEBUGFLAGS = -O2 -Wall -static
13 CDEBUGFLAGS = -O2 -Wall
17 * This is the second try at using Imakefiles. There are probably many
18 * problems and things I haven't even considered. I do not have a fixed
19 * Linux system to test them on, but thanks to Thomas Michlmayr
20 * <tmichl@cosy.sbg.ac.at> for use of one of his boxes.
22 * SEE BELOW ABOUT DEBUGGING AND LINUX
24 * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
28 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
29 'DEFINES=$(DEFINES)' 'LD=$(LD)'
50 WINEDIR = $(LIBDIR)/wine
56 multimedia/multimedia.o \
62 * WARNING: if1632.o must be the first object file because its code must be
63 * linked at the lowest possible addresses.
75 SUBDIRS = $(COMMONSUBDIRS) $(EMUSUBDIRS)
76 OBJS = $(EMUOBJS) $(COMMONOBJS)
78 SUBDIRS = $(COMMONSUBDIRS) $(LIBSUBDIRS)
79 OBJS = $(LIBOBJS) $(COMMONOBJS)
82 #ifdef i386BsdArchitecture
83 SYSLIBS = -ll -lm -li386 -lgnumalloc
85 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
86 SYSLIBS = -ll -lm -lgnumalloc
88 #ifdef LinuxArchitecture
92 /* You may need to add the full path of your libXpm here */
95 #ifdef MALLOC_DEBUGGING
101 MakeSubdirs($(SUBDIRS))
102 DependSubdirs($(SUBDIRS))
105 NormalProgramTarget(wine,$(OBJS),$(DEPXLIB),$(XPM_LIB) $(XLIB),$(MALLOCLIB) $(SYSLIBS))
108 NormalLibraryTarget(wine,$(OBJS))
112 nm wine|grep -v _compiled|sort >wine.sym
122 etags `find . -name '*.[chS]' -print`
125 echo "/* autoconf.h generated automatically. Run Configure */" >autoconf.h
126 echo "#error You must run Configure before you can build the makefiles." >>autoconf.h
127 $(RM) `find . -name Makefile -print`