Imakefile 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. XCOMM
  2. XCOMM @OSF_COPYRIGHT@
  3. XCOMM COPYRIGHT NOTICE
  4. XCOMM Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5. XCOMM ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6. XCOMM the full copyright text.
  7. XCOMM
  8. XCOMM
  9. XCOMM HISTORY
  10. XCOMM
  11. XCOMM $TOG: Imakefile /main/23 1997/07/03 12:32:45 samborn $
  12. #define DoNormalLib NormalLibUil
  13. #define DoSharedLib SharedLibUil
  14. #define DoDebugLib DebugLibUil
  15. #define DoProfileLib ProfileLibUil
  16. #define LibName Uil
  17. #define SoRev SOUILREV
  18. #define HasSharedData NO
  19. #define IncSubdir uil
  20. #ifdef SharedUilReqs
  21. REQUIREDLIBS = SharedUilReqs
  22. #endif
  23. INCLUDES = -I. -I$(INCLUDESRC) -I$(MINCLUDESRC) -I$(MLIBSRC) -I$(MTOP)/include
  24. DEPLIBS2 = MrmClientDepLibs
  25. LOCAL_LIBRARIES = MrmClientLibs
  26. LINTLIBS = $(LINTMRESOURCE) $(LINTXMLIB) $(LINTXMTOOL) $(LINTXLIB)
  27. COMMON_SRC = UilCmd.c UilDiags.c UilKeyTab.c UilLexAna.c \
  28. UilLexPars.c UilLstLst.c UilP2Out.c UilP2Reslv.c \
  29. UilSarComp.c UilSarExp.c UilSarInc.c UilSarMod.c \
  30. UilSarObj.c UilSarProc.c UilSarVal.c UilSrcSrc.c \
  31. UilSymNam.c UilSymStor.c UilData.c \
  32. UilLstMac.c UilSemVal.c UilSemCSet.c UilDB.c
  33. SRCS = $(COMMON_SRC) UilParser.c
  34. SRCS2 = $(COMMON_SRC) UilMain.c
  35. COMMON_OBJ = UilCmd.o UilDiags.o UilKeyTab.o UilLexAna.o \
  36. UilLexPars.o UilLstLst.o UilP2Out.o UilP2Reslv.o \
  37. UilSarComp.o UilSarExp.o UilSarInc.o UilSarMod.o \
  38. UilSarObj.o UilSarProc.o UilSarVal.o UilSrcSrc.o \
  39. UilSymNam.o UilSymStor.o UilData.o \
  40. UilLstMac.o UilSemVal.o UilSemCSet.o UilDB.o
  41. OBJS = $(COMMON_OBJ) UilParser.o
  42. OBJS2 = $(COMMON_OBJ) UilMain.o
  43. HEADERS = Uil.h UilSymGl.h UilDBDef.h UilSymDef.h \
  44. UilDef.h XmAppl.uil
  45. #include <Library.tmpl>
  46. PROGRAMS = uil
  47. AllTarget($(PROGRAMS))
  48. MComplexProgramTarget_2(uil,$(LOCAL_LIBRARIES),NullParameter)
  49. SpecialLibObjectRule(UilDB.o,NullParameter,-DLIBDIR='"'$(XPROJECTROOT)/lib/X11'"' -DINCDIR='"'$(XPROJECTROOT)/include/X11'"')
  50. LinkFile(UilParser.c,UilMain.c)
  51. SpecialLibObjectRule(UilParser.o,NullParameter,-DCALLABLE)
  52. DependTarget3($(COMMON_SRC),UilMain.c,UilParser.c)
  53. #ifdef UseVista
  54. VistaMapRule(uil.M,libUil.a)
  55. #endif
  56. MessageCatalogRule(Uil)