Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
47b5dc87
Kaydet (Commit)
47b5dc87
authored
Haz 13, 2001
tarafından
Martin Hollmichel
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add: OS_VERSION to differ the Unix's
üst
28004ba2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
Makefile.am
dmake/Makefile.am
+3
-3
configure.in
dmake/configure.in
+17
-1
Makefile.am
dmake/unix/Makefile.am
+1
-6
No files found.
dmake/Makefile.am
Dosyayı görüntüle @
47b5dc87
...
...
@@ -2,9 +2,9 @@
#
# $RCSfile: Makefile.am,v $
#
# $Revision: 1.
2
$
# $Revision: 1.
3
$
#
# last change: $Author: mh $ $Date: 2001-0
5-04 10:47:49
$
# last change: $Author: mh $ $Date: 2001-0
6-13 13:34:05
$
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
...
...
@@ -79,6 +79,6 @@ EXTRA_DIST = make.c
bin_PROGRAMS
=
dmake
# set the include path found by configure
INCLUDES
=
-I
$(top_srcdir)
-I
$(top_builddir)
-I
$(top_srcdir)
/unix/
linux
-I
$(top_srcdir)
/unix
-I
$(top_srcdir)
/unix/linux
/gnu
INCLUDES
=
-I
$(top_srcdir)
-I
$(top_builddir)
-I
$(top_srcdir)
/unix/
@OS_VERSION@
-I
$(top_srcdir)
/unix
-I
$(top_srcdir)
/unix/@OS_VERSION@
/gnu
dmake/configure.in
Dosyayı görüntüle @
47b5dc87
...
...
@@ -28,6 +28,7 @@ dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/file.h sys/time.h unistd.h)
AC_CONFIG_HEADERS(config.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
...
...
@@ -42,8 +43,20 @@ AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(getcwd getwd putenv strcspn strerror strspn strstr)
dnl Checks for OS
OS_UNAME=`uname`
if test ${OS_UNAME} = SunOS; then
echo "Solaris found"
OS_VERSION=solaris
fi
if test ${OS_UNAME} = Linux; then
echo "Linux found"
OS_VERSION=linux
fi
AC_SUBST(OS_VERSION)
AC_OUTPUT(Makefile unix/Makefile startup/Makefile startup/unix/Makefile \
startup/unix/linux/Makefile dmakeroot.h )
startup/unix/linux/Makefile
startup/unix/solaris/Makefile
dmakeroot.h )
#AC_OUTPUT(unix/bsd43/Makefile Makefile makefile unix/solaris/Makefile dbug/malloc/makefile unix/Makefile)
dnl ******************************
...
...
@@ -52,6 +65,7 @@ dnl ******************************
AC_OUTPUT_COMMANDS([
## Generate `dmakeroot.h' in two cases
## 1. `config.status' is run either explicitly, or via configure.
## Esp. not when it is run in `Makefile' to generate makefiles and
...
...
@@ -85,6 +99,8 @@ if cmp -s $outfile dmakeroot.h; then
else
mv $outfile dmakeroot.h
fi
],[
OS_VERSION=$OS_VERSION
])
...
...
dmake/unix/Makefile.am
Dosyayı görüntüle @
47b5dc87
...
...
@@ -4,13 +4,8 @@ noinst_LIBRARIES = libunix.a
libunix_a_SOURCES
=
arlib.c dcache.c dirbrk.c rmprq.c ruletab.c runargv.c
INCLUDES
=
-I
$(top_srcdir)
-I
$(top_builddir)
-I
$(top_srcdir)
/unix/linux/gnu
-I
$(top_srcdir)
/unix
-I
$(top_srcdir)
/unix/linux
INCLUDES
=
-I
$(top_srcdir)
-I
$(top_builddir)
-I
$(top_srcdir)
/unix/@OS_VERSION@/gnu
-I
$(top_srcdir)
/unix/@OS_VERSION@
-I
$(top_srcdir)
/unix
#LDADDS = @STRIP_BEGIN@ \
# -lm \
# @STRIP_END@
#libunix_a_LDFLAGS = -export-dynamic
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment