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