2005-09-16 07:25:24 -04:00
|
|
|
path_to_top=../..
|
|
|
|
include $(path_to_top)/Makefile.config
|
|
|
|
INCLUDES += $(X_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_BEOS),yes)
|
|
|
|
beosdir = beos
|
2005-09-27 15:38:58 -04:00
|
|
|
beosobj = $(beosdir)/lib.o
|
2005-09-16 07:25:24 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_OS2),yes)
|
|
|
|
os2dir = os2
|
2005-09-27 15:38:58 -04:00
|
|
|
os2obj = $(os2dir)/lib.o
|
2005-09-16 07:25:24 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_RISCOS),yes)
|
|
|
|
riscosdir = riscos
|
2005-09-27 15:38:58 -04:00
|
|
|
riscosobj = $(riscosdir)/lib.o
|
2005-09-16 07:25:24 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_UNIX),yes)
|
|
|
|
unixdir = unix
|
2005-09-27 15:38:58 -04:00
|
|
|
unixobj = $(unixdir)/lib.o
|
2005-09-16 07:25:24 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WIN32),yes)
|
|
|
|
win32dir = win32
|
2005-09-27 15:38:58 -04:00
|
|
|
win32obj = $(win32dir)/lib.o
|
2005-09-16 07:25:24 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = $(beosdir) $(os2dir) $(riscosdir) $(unixdir) $(win32dir)
|
|
|
|
|
|
|
|
OBJS = \
|
|
|
|
getifaddrs.o \
|
|
|
|
newwin.o \
|
|
|
|
osdep.o \
|
|
|
|
signals.o \
|
|
|
|
stub.o \
|
|
|
|
sysname.o \
|
|
|
|
$(beosobj) \
|
|
|
|
$(os2obj) \
|
|
|
|
$(riscosobj) \
|
|
|
|
$(unixobj) \
|
|
|
|
$(win32obj)
|
|
|
|
|
|
|
|
include $(path_to_top)/Makefile.lib
|