1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

ELBuildized osdep.

This commit is contained in:
Petr Baudis 2005-09-16 13:25:24 +02:00
parent 98dd1a4fef
commit 83212cee45
2 changed files with 48 additions and 62 deletions

48
src/osdep/Makefile Normal file
View File

@ -0,0 +1,48 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
INCLUDES += $(X_CFLAGS)
ifeq ($(CONFIG_BEOS),yes)
beosdir = beos
beosobj = $(beosdir)/beos.o $(beosdir)/overrides.o
endif
ifeq ($(CONFIG_OS2),yes)
os2dir = os2
os2obj = $(os2dir)/os2.o
endif
ifeq ($(CONFIG_RISCOS),yes)
riscosdir = riscos
riscosobj = $(riscosdir)/riscos.o
endif
ifeq ($(CONFIG_UNIX),yes)
unixdir = unix
unixobj = $(unixdir)/bsd.o $(unixdir)/unix.o
endif
ifeq ($(CONFIG_WIN32),yes)
win32dir = win32
win32obj = $(win32dir)/win32.o $(win32dir)/overrides.o
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)
all-l: libosdep.a
libosdep.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,62 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.35 2005/07/20 15:41:33 witekfl Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_BEOS
beosdir = beos
beosobj = $(beosdir)/beos.o $(beosdir)/overrides.o
endif
if CONFIG_OS2
os2dir = os2
os2obj = $(os2dir)/os2.o
endif
if CONFIG_RISCOS
riscosdir = riscos
riscosobj = $(riscosdir)/riscos.o
endif
if CONFIG_UNIX
unixdir = unix
unixobj = $(unixdir)/bsd.o $(unixdir)/unix.o
endif
if CONFIG_WIN32
win32dir = win32
win32obj = $(win32dir)/win32.o $(win32dir)/overrides.o
endif
INCLUDES += $(X_CFLAGS)
SUBDIRS = $(beosdir) $(os2dir) $(riscosdir) $(unixdir) $(win32dir)
noinst_LIBRARIES = libosdep.a
libosdep_a_LIBADD = \
$(beosobj) \
$(os2obj) \
$(riscosobj) \
$(unixobj) \
$(win32obj)
libosdep_a_SOURCES = \
ascii.h \
generic.h \
getifaddrs.c \
getifaddrs.h \
newwin.c \
newwin.h \
osdep.c \
osdep.h \
signals.h \
signals.c \
stat.h \
stub.c \
stub.h \
sysname.c \
sysname.h \
system.h \
types.h