home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / x / volume13 / xcal / part01 / Imakefile < prev    next >
Makefile  |  1991-05-12  |  960b  |  36 lines

  1. /*
  2.  * Define InstallPsCal if you want to have pscal compiled and installed as
  3.  * part of the xcal compilation and installation.
  4.  */
  5. /* #define InstallPsCal */
  6.  
  7.  OSMAJORVERSION = OSMajorVersion
  8.  OSMINORVERSION = OSMinorVersion
  9.         DEFINES = -DOSMAJORVERSION=$(OSMAJORVERSION) \
  10.           -DOSMINORVERSION=$(OSMINORVERSION) \
  11.           -DVER_VEC
  12.  
  13.           SRCS1 = xcal.c xcal_alarm.c xcal_edit.c xcal_help.c xcal_popup.c \
  14.           xcal_strip.c xcal_memo.c version.c
  15.           OBJS1 = xcal.o xcal_alarm.o xcal_edit.o xcal_help.o xcal_popup.o \
  16.           xcal_strip.o xcal_memo.o version.o
  17.  
  18.           SRCS2 = xcal_cal.c
  19.           OBJS2 = xcal_cal.o
  20.  
  21.        PROGRAMS = xcal xcal_cal
  22.  
  23. ComplexProgramTarget_1(xcal, XawClientLibs, /**/)
  24. ComplexProgramTarget_2(xcal_cal, /**/, /**/)
  25. InstallAppDefaults(XCal)
  26.  
  27. #ifdef InstallPsCal
  28. #define IHaveSubdirs
  29. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  30.  
  31.         SUBDIRS = pscal
  32.  
  33. MakeSubdirs($(SUBDIRS))
  34. DependSubdirs($(SUBDIRS))
  35. #endif
  36.