#************************************************************************* # # $RCSfile: makefile.mk,v $ # # $Revision: 1.33 $ # # last change: $Author: pl $ $Date: 2001-10-24 16:41:15 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses # # - GNU Lesser General Public License Version 2.1 # - Sun Industry Standards Source License Version 1.1 # # Sun Microsystems Inc., October, 2000 # # GNU Lesser General Public License Version 2.1 # ============================================= # Copyright 2000 by Sun Microsystems, Inc. # 901 San Antonio Road, Palo Alto, CA 94303, USA # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License version 2.1, as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # # # Sun Industry Standards Source License Version 1.1 # ================================================= # The contents of this file are subject to the Sun Industry Standards # Source License Version 1.1 (the "License"); You may not use this file # except in compliance with the License. You may obtain a copy of the # License at http://www.openoffice.org/license.html. # # Software provided under this License is provided on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, # WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, # MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. # See the License for the specific provisions governing your rights and # obligations concerning the Software. # # The Initial Developer of the Original Code is: Sun Microsystems, Inc. # # Copyright: 2000 by Sun Microsystems, Inc. # # All Rights Reserved. # # Contributor(s): _______________________________________ # # # #************************************************************************* PRJ=.. PRJNAME=vcl TARGET=vcl VERSION=$(UPD) # --- Settings ----------------------------------------------------------- .INCLUDE : settings.mk .INCLUDE : makefile.pmk # --- Allgemein ---------------------------------------------------------- HXXDEPNLST= $(INC)$/accel.hxx \ $(INC)$/animate.hxx \ $(INC)$/apptypes.hxx \ $(INC)$/bitmap.hxx \ $(INC)$/bitmapex.hxx \ $(INC)$/bmpacc.hxx \ $(INC)$/btndlg.hxx \ $(INC)$/button.hxx \ $(INC)$/ctrl.hxx \ $(INC)$/color.hxx \ $(INC)$/config.hxx \ $(INC)$/cursor.hxx \ $(INC)$/cmdevt.hxx \ $(INC)$/decoview.hxx \ $(INC)$/dialog.hxx \ $(INC)$/dockwin.hxx \ $(INC)$/edit.hxx \ $(INC)$/event.hxx \ $(INC)$/field.hxx \ $(INC)$/fixed.hxx \ $(INC)$/floatwin.hxx \ $(INC)$/font.hxx \ $(INC)$/fontcvt.hxx \ $(INC)$/floatwin.hxx \ $(INC)$/graph.hxx \ $(INC)$/group.hxx \ $(INC)$/help.hxx \ $(INC)$/jobset.hxx \ $(INC)$/keycodes.hxx \ $(INC)$/keycod.hxx \ $(INC)$/image.hxx \ $(INC)$/line.hxx \ $(INC)$/lstbox.h \ $(INC)$/lstbox.hxx \ $(INC)$/mapmod.hxx \ $(INC)$/metaact.hxx \ $(INC)$/menu.hxx \ $(INC)$/menubtn.hxx \ $(INC)$/metric.hxx \ $(INC)$/morebtn.hxx \ $(INC)$/msgbox.hxx \ $(INC)$/octree.hxx \ $(INC)$/outdev.hxx \ $(INC)$/outdev3d.hxx \ $(INC)$/pointr.hxx \ $(INC)$/poly.hxx \ $(INC)$/ptrstyle.hxx \ $(INC)$/prntypes.hxx \ $(INC)$/print.hxx \ $(INC)$/prndlg.hxx \ $(INC)$/region.hxx \ $(INC)$/rc.hxx \ $(INC)$/resid.hxx \ $(INC)$/resary.hxx \ $(INC)$/salbtype.hxx \ $(INC)$/scrbar.hxx \ $(INC)$/slider.hxx \ $(INC)$/seleng.hxx \ $(INC)$/settings.hxx \ $(INC)$/sound.hxx \ $(INC)$/sndstyle.hxx \ $(INC)$/split.hxx \ $(INC)$/splitwin.hxx \ $(INC)$/spin.hxx \ $(INC)$/spinfld.hxx \ $(INC)$/status.hxx \ $(INC)$/stdtext.hxx \ $(INC)$/sv.h \ $(INC)$/svapp.hxx \ $(INC)$/syschild.hxx \ $(INC)$/sysdata.hxx \ $(INC)$/system.hxx \ $(INC)$/syswin.hxx \ $(INC)$/tabctrl.hxx \ $(INC)$/tabdlg.hxx \ $(INC)$/tabpage.hxx \ $(INC)$/toolbox.hxx \ $(INC)$/timer.hxx \ $(INC)$/virdev.hxx \ $(INC)$/wall.hxx \ $(INC)$/waitobj.hxx \ $(INC)$/wintypes.hxx \ $(INC)$/window.hxx \ $(INC)$/wrkwin.hxx .IF "$(linkinc)" != "" SHL11FILE= $(MISC)$/app.slo SHL12FILE= $(MISC)$/gdi.slo SHL13FILE= $(MISC)$/win.slo SHL14FILE= $(MISC)$/ctrl.slo #SHL15FILE= $(MISC)$/ex.slo SHL16FILE= $(MISC)$/salapp.slo SHL17FILE= $(MISC)$/salwin.slo SHL18FILE= $(MISC)$/salgdi.slo .ENDIF LIB1TARGET= $(SLB)$/$(TARGET).lib LIB1FILES= $(SLB)$/app.lib \ $(SLB)$/gdi.lib \ $(SLB)$/win.lib \ $(SLB)$/ctrl.lib \ $(SLB)$/helper.lib .IF "$(remote)" != "" LIB1FILES+= $(SLB)$/remote.lib .IF "$(COM)"=="GCC" LIB1OBJFILES=$(SLO)$/salmain.obj .ENDIF .ELSE # "$(remote)" != "" LIB1FILES+= \ $(SLB)$/salwin.lib \ $(SLB)$/salgdi.lib \ $(SLB)$/salapp.lib .ENDIF # "$(remote)" != "" .IF "$(GUI)" == "UNX" .IF "$(USE_XPRINT)" != "TRUE" SHL1STDLIBS=-lpsp$(VERSION)$(DLLPOSTFIX) .ENDIF .ENDIF .IF "$(USE_BUILTIN_RASTERIZER)"!="" LIB1FILES += $(SLB)$/glyphs.lib SHL1STDLIBS+= $(FREETYPELIBST) .ENDIF SHL1TARGET= vcl$(VERSION)$(DLLPOSTFIX) SHL1IMPLIB= ivcl SHL1STDLIBS+=\ $(TOOLSLIB) \ $(SOTLIB) \ $(VOSLIB) \ $(SALLIB) \ $(CPPUHELPERLIB) \ $(UCBHELPERLIB) \ $(CPPULIB) \ $(UNOTOOLSLIB) \ $(COMPHELPERLIB) \ $(GPC3RDLIB) .IF "$(remote)" != "" SHL1STDLIBS+= $(UNOLIB) .ENDIF .IF "$(GUI)"!="MAC" SHL1DEPN= $(L)$/itools.lib $(L)$/sot.lib .ENDIF SHL1LIBS= $(LIB1TARGET) .IF "$(GUI)"!="UNX" SHL1OBJS= $(SLO)$/salshl.obj .ENDIF .IF "$(GUI)" != "MAC" .IF "$(GUI)" != "UNX" SHL1RES= $(RES)$/salsrc.res .ENDIF .ENDIF SHL1DEF= $(MISC)$/$(SHL1TARGET).def DEF1NAME =$(SHL1TARGET) DEF1DEPN = $(MISC)$/$(SHL1TARGET).flt \ $(HXXDEPNLST) \ $(LIB1TARGET) DEF1DES =VCL DEFLIB1NAME =vcl # --- W32 ---------------------------------------------------------------- .IF "$(GUI)" == "WNT" SHL1STDLIBS += gdi32.lib \ winspool.lib \ ole32.lib \ shell32.lib \ advapi32.lib \ imm32.lib .IF "$(GUI)$(COM)$(CPU)" == "WNTMSCI" LINKFLAGSSHL += /ENTRY:LibMain@12 .ENDIF .ENDIF # --- UNX ---------------------------------------------------------------- .IF "$(GUI)"=="UNX" # Solaris .IF "$(OS)"=="SOLARIS" .IF "$(USE_XPRINT)" == "TRUE" SHL1STDLIBS += -lXp Xext -lSM -lICE -lX11 .ELSE SHL1STDLIBS += -lXext -lSM -lICE -lX11 .ENDIF # "$(USE_XPRINT)" == "TRUE" # MacOSX .ELSE # "$(OS)"=="SOLARIS" .IF "$(OS)"=="MACOSX" SHL1STDLIBS += -framework Cocoa # Others .ELSE # "$(OS)"=="MACOSX" .IF "$(USE_XPRINT)" == "TRUE" SHL1STDLIBS += -lXp -lXext -lSM -lICE -lX11 .ELSE SHL1STDLIBS += -lXext -lSM -lICE -lX11 .ENDIF # "$(USE_XPRINT)" == "TRUE" .ENDIF # "$(OS)"=="MACOSX" .ENDIF # "$(OS)"=="SOLARIS" .IF "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" SHL1STDLIBS += -laudio .ENDIF # "$(OS)"=="LINUX" || "$(OS)"=="SOLARIS" .ENDIF # "$(GUI)"=="UNX" # --- Allgemein ---------------------------------------------------------- .INCLUDE : target.mk # --- Targets ------------------------------------------------------------ # --- VCL-Filter-Datei --- $(MISC)$/$(SHL1TARGET).flt: makefile.mk @echo ------------------------------ @echo Making: $@ @echo Impl > $@ @echo Sal>> $@ @echo Dbg>> $@ @echo HelpTextWindow>> $@ @echo MenuBarWindow>> $@ @echo MenuFloatingWindow>> $@ @echo MenuItemList>> $@ @echo LibMain>> $@ @echo LIBMAIN>> $@ @echo Wep>> $@ @echo WEP>> $@ @echo RmEvent>> $@ @echo RmFrameWindow>> $@ @echo RmPrinter>> $@ @echo RmBitmap>> $@ @echo RmSound>> $@ @echo __CT>> $@ @echo DNDEventDispatcher>> $@ @echo DNDListenerContainer>> $@