home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / MotifApp / make.cfg next >
Encoding:
Text File  |  1995-05-03  |  1010 b   |  53 lines

  1. #
  2. #    Configuration and installation setup for libMotifApp
  3. #    (Doug Young's C++ class library for Motif Applications)
  4. #
  5. #    INSTALLATION VARIABLES:
  6. #        INSTALL_INCLUDES
  7. #            where the include files should be installed
  8. #            this entire subdirectory is owned by MotifApp,
  9. #            it will be removed for each install
  10. #
  11. #        INSTALL_LIB
  12. #            where the library and main program .o should
  13. #            be installed.
  14. #
  15. #
  16.  
  17. #    Skunkworks 2.0 CD ROM parameters
  18. #
  19.  
  20. INSTALL_INCLUDES=/usr/skunk/include/MotifApp
  21. INSTALL_LIB=/usr/skunk/lib
  22. DEBUG=
  23. CC=CC
  24.  
  25. #
  26. #    Library Structure
  27. #
  28. #    MAIN
  29. #        name of the .o that contains main()
  30. #
  31. #    LIBNAME
  32. #        name of library
  33.  
  34. MAIN=MotifAppMain.o
  35. LIBNAME=MotifApp
  36.  
  37. #
  38. #    BUILD VARIABLES
  39. #
  40.  
  41. DEFINES=-DFUNCPROTO -DXTFUNCPROTO
  42. XLIBS=-lXtXm_s -lX11_s -lXext -lXmu -lsocket -lPW -lintl
  43. ARCHIVE=lib$(LIBNAME).a
  44. ILIST=-I../MotifApp -I$(INSTALL_INCLUDES)
  45. LIBS=$(INSTALL_LIB)/$(MAIN) -L../MotifApp -L$(INSTALL_LIB) -l$(LIBNAME) $(XLIBS)
  46. C++FLAGS=$(DEBUG) $(ILIST) $(DEFINES)
  47.  
  48. .SUFFIXES: .o .C .c
  49.  
  50. .C.o:
  51.     $(CC) -c $(C++FLAGS) $*.C
  52.  
  53.