Changeset 97


Ignore:
Timestamp:
Aug 10, 2010, 12:40:57 AM (15 years ago)
Author:
dmik
Message:

jdk: Made npt.dll build on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/java/npt/Makefile

    r2 r97  
    5858CPPFLAGS_OPT += -DNDEBUG
    5959
    60 #
    61 # Library to compile.
    62 #
    63 include $(BUILDDIR)/common/Library.gmk
    64 
    6560# We don't want to link against -ljava
    6661JAVALIB=
     
    7166endif
    7267
     68ifeq ($(PLATFORM), os2)
     69
     70# exports live in .def file
     71DEF_FILE = $(OBJDIR)/$(LIBRARY).def
     72$(DEF_FILE): $(MAKEFILE)
     73        @$(ECHO) 'EXPORTS \n \
     74  nptInitialize = "_nptInitialize@12" \n \
     75  nptTerminate = "_nptTerminate@8" \n \
     76' > $@
     77
     78clean::
     79        -$(RM) $(DEF_FILE)
     80
     81endif
     82
     83#
     84# Library to compile.
     85#
     86include $(BUILDDIR)/common/Library.gmk
     87
    7388#
    7489# Add to ambient vpath so we pick up the library files
    7590#
    76 vpath %.c $(SRCDIR):$(PSRCDIR)
     91vpath %.c $(SRCDIR) $(PSRCDIR)
    7792
Note: See TracChangeset for help on using the changeset viewer.