Skip to content

Commit

Permalink
small update to OS/2 makefiles
Browse files Browse the repository at this point in the history
make libraries case sensitive. reduce size of the static lib.
  • Loading branch information
sezero committed Jun 22, 2018
1 parent c5df8ec commit 7998c03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile.os2
Expand Up @@ -47,10 +47,10 @@ all: $(BLD_TARGET)
# rely on symbol name, not ordinal: -irn switch of wlib is default, but -inn is not.
$(DLLNAME): $(OBJ)
wlink NAM $@ SYSTEM os2v2_dll INITINSTANCE TERMINSTANCE FIL {$(OBJ)} OPTION IMPF=$(EXPNAME)
wlib -q -b -n -inn -pa -s -t -zld -ii -io $(LIBNAME) +$(DLLNAME)
wlib -q -b -n -c -pa -s -t -zld -ii -io -inn $(LIBNAME) +$(DLLNAME)

$(LIBSTATIC): $(OBJ)
wlib -q -b -n $@ $(OBJ)
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(OBJ)

clean: .symbolic
rm -f $(OBJ)
Expand Down
4 changes: 2 additions & 2 deletions Makefile.os2.in
Expand Up @@ -47,10 +47,10 @@ all: $(BLD_TARGET)
# rely on symbol name, not ordinal: -irn switch of wlib is default, but -inn is not.
$(DLLNAME): $(OBJ)
wlink NAM $@ SYSTEM os2v2_dll INITINSTANCE TERMINSTANCE FIL {$(OBJ)} OPTION IMPF=$(EXPNAME)
wlib -q -b -n -inn -pa -s -t -zld -ii -io $(LIBNAME) +$(DLLNAME)
wlib -q -b -n -c -pa -s -t -zld -ii -io -inn $(LIBNAME) +$(DLLNAME)

$(LIBSTATIC): $(OBJ)
wlib -q -b -n $@ $(OBJ)
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(OBJ)

clean: .symbolic
rm -f $(OBJ)
Expand Down
4 changes: 2 additions & 2 deletions lite/Makefile.os2.in
Expand Up @@ -47,10 +47,10 @@ all: $(BLD_TARGET)
# rely on symbol name, not ordinal: -irn switch of wlib is default, but -inn is not.
$(DLLNAME): $(OBJ)
wlink NAM $@ SYSTEM os2v2_dll INITINSTANCE TERMINSTANCE FIL {$(OBJ)} OPTION IMPF=$(EXPNAME)
wlib -q -b -n -inn -pa -s -t -zld -ii -io $(LIBNAME) +$(DLLNAME)
wlib -q -b -n -c -pa -s -t -zld -ii -io -inn $(LIBNAME) +$(DLLNAME)

$(LIBSTATIC): $(OBJ)
wlib -q -b -n $@ $(OBJ)
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(OBJ)

clean: .symbolic
rm -f $(OBJ)
Expand Down

0 comments on commit 7998c03

Please sign in to comment.