diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1997-12-13 13:09:15 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-12-17 12:02:03 +0000 |
commit | dd96f567babd77c258fd51112ff376f11f0b32ac (patch) | |
tree | 25be9a2f30132eaa9bf9f5a5a2cafb22b3630ea3 /os2/Makefile.SHs | |
parent | 414017bba678bf057e68f59bd92234bf578ec54e (diff) | |
download | perl-dd96f567babd77c258fd51112ff376f11f0b32ac.tar.gz |
Threading patches for OS/2 (missing files taken from previous patch):
Subject: Re: 5.004_55: OS/2 patches again
p4raw-id: //depot/perl@371
Diffstat (limited to 'os2/Makefile.SHs')
-rw-r--r-- | os2/Makefile.SHs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/os2/Makefile.SHs b/os2/Makefile.SHs index 493aeab8c5..57d42602e9 100644 --- a/os2/Makefile.SHs +++ b/os2/Makefile.SHs @@ -8,7 +8,8 @@ $spitshell >>Makefile <<!GROK!THIS! -AOUT_CCCMD = \$(CC) $aout_ccflags $optimize +AOUT_OPTIMIZE = $optimize +AOUT_CCCMD = \$(CC) $aout_ccflags \$(AOUT_OPTIMIZE) AOUT_AR = $aout_ar AOUT_OBJ_EXT = $aout_obj_ext AOUT_LIB_EXT = $aout_lib_ext @@ -47,16 +48,6 @@ perl5.def: perl.linkexp echo CODE LOADONCALL >>$@ echo DATA LOADONCALL NONSHARED MULTIPLE >>$@ echo EXPORTS >>$@ - echo ' "ctermid"' >>$@ - echo ' "get_sysinfo"' >>$@ - echo ' "Perl_OS2_init"' >>$@ - echo ' "OS2_Perl_data"' >>$@ - echo ' "dlopen"' >>$@ - echo ' "dlsym"' >>$@ - echo ' "dlerror"' >>$@ - echo ' "my_tmpfile"' >>$@ - echo ' "my_tmpnam"' >>$@ - echo ' "my_flock"' >>$@ !NO!SUBS! if [ ! -z "$myttyname" ] ; then @@ -78,7 +69,7 @@ perl.exports: perl.exp EXTERN.h perl.h awk '{if ($$2 == "") print $$1}' | sort | uniq > $@ perl.linkexp: perl.exports perl.map - cat perl.exports perl.map | sort | uniq -d | sed -e 's/\w\+/ "\0"/' > perl.linkexp + cat perl.exports os2/os2.sym perl.map | sort | uniq -d | sed -e 's/\w\+/ "\0"/' > perl.linkexp # We link miniperl statically, since .DLL depends on $(DYNALOADER) @@ -88,7 +79,7 @@ perl.map miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) rm miniperl.map @./miniperl -w -Ilib -MExporter -e 0 || $(MAKE) minitest -depend: os2ish.h dlfcn.h +depend: os2ish.h dlfcn.h os2thread.h os2.c # Stupid make? Needed... os2$(OBJ_EXT) : os2.c @@ -102,6 +93,9 @@ dl_os2.c: os2/dl_os2.c os2ish.h os2ish.h: os2/os2ish.h cp $< $@ +os2thread.h: os2/os2thread.h + cp $< $@ + dlfcn.h: os2/dlfcn.h cp $< $@ |