4 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
9 DEFINES = AutoDefines -DUSE_READLINE
12 * This is the second try at using Imakefiles. There are probably many
13 * problems and things I haven't even considered. I do not have a fixed
14 * Linux system to test them on, but thanks to Thomas Michlmayr
15 * <tmichl@cosy.sbg.ac.at> for use of one of his boxes.
17 * SEE BELOW ABOUT DEBUGGING AND LINUX
19 * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
23 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
24 'DEFINES=$(DEFINES)' 'LD=$(LD)' 'ASFLAGS=$(ASFLAGS)'
46 WINEDIR = $(LIBDIR)/wine
53 multimedia/multimedia.o \
68 SUBDIRS = $(COMMONSUBDIRS) $(EMUSUBDIRS)
69 OBJS = $(EMUOBJS) $(COMMONOBJS)
71 SUBDIRS = $(COMMONSUBDIRS) $(LIBSUBDIRS)
72 OBJS = $(LIBOBJS) $(COMMONOBJS)
75 #ifdef i386BsdArchitecture
76 SYSLIBS = -ll -lm -li386 -lgnumalloc
78 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
79 SYSLIBS = -ll -lm -lgnumalloc
81 #ifdef LinuxArchitecture
85 /* You may need to add the full path of your libXpm here */
88 #ifdef MALLOC_DEBUGGING
94 MakeSubdirs($(SUBDIRS))
95 DependSubdirs($(SUBDIRS))
98 NormalProgramTarget(wine,$(OBJS),$(DEPXLIB),$(XPM_LIB) $(XLIB),$(MALLOCLIB) $(SYSLIBS))
101 NormalLibraryTarget(wine,$(OBJS))
105 nm wine|grep -v _compiled|sort >wine.sym
115 etags `find . -name '*.[chS]' -print`
118 echo "/* autoconf.h generated automatically. Run Configure */" >autoconf.h
119 echo "#error You must run Configure before you can build the makefiles." >>autoconf.h
120 $(RM) config.* `find . -name Makefile -print`