makefile.wat 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. #
  2. # "$Id: makefile.wat 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. #
  4. # Library makefile for the Fast Light Tool Kit (FLTK).
  5. #
  6. # Copyright 1998-2010 by Bill Spitzak and others.
  7. #
  8. # This library is free software. Distribution and use rights are outlined in
  9. # the file "COPYING" which should have been included with this file. If this
  10. # file is missing or damaged, see the license at:
  11. #
  12. # http://www.fltk.org/COPYING.php
  13. #
  14. # Please report all bugs and problems on the following page:
  15. #
  16. # http://www.fltk.org/str.php
  17. #
  18. CPPFILES = &
  19. Fl.obj &
  20. Fl_Adjuster.obj &
  21. Fl_Bitmap.obj &
  22. Fl_Browser.obj &
  23. Fl_Browser_.obj &
  24. Fl_Browser_load.obj &
  25. Fl_Box.obj &
  26. Fl_Button.obj &
  27. Fl_Chart.obj &
  28. Fl_Check_Browser.obj &
  29. Fl_Check_Button.obj &
  30. Fl_Choice.obj &
  31. Fl_Clock.obj &
  32. Fl_Color_Chooser.obj &
  33. Fl_Counter.obj &
  34. Fl_Dial.obj &
  35. Fl_Double_Window.obj &
  36. Fl_File_Browser.obj &
  37. Fl_File_Chooser.obj &
  38. Fl_File_Chooser2.obj &
  39. Fl_File_Icon.obj &
  40. Fl_File_Input.obj &
  41. Fl_Group.obj &
  42. Fl_Help_View.obj &
  43. Fl_Image.obj &
  44. Fl_Input.obj &
  45. Fl_Input_.obj &
  46. Fl_Light_Button.obj &
  47. Fl_Menu.obj &
  48. Fl_Menu_.obj &
  49. Fl_Menu_Bar.obj &
  50. Fl_Sys_Menu_Bar.obj &
  51. Fl_Menu_Button.obj &
  52. Fl_Menu_Window.obj &
  53. Fl_Menu_add.obj &
  54. Fl_Menu_global.obj &
  55. Fl_Multi_Label.obj &
  56. Fl_Native_File_Chooser.obj &
  57. Fl_Overlay_Window.obj &
  58. Fl_Pack.obj &
  59. Fl_Pixmap.obj &
  60. Fl_Positioner.obj &
  61. Fl_Preferences.obj &
  62. Fl_Progress.obj &
  63. Fl_Repeat_Button.obj &
  64. Fl_Return_Button.obj &
  65. Fl_Roller.obj &
  66. Fl_Round_Button.obj &
  67. Fl_Scroll.obj &
  68. Fl_Scrollbar.obj &
  69. Fl_Shared_Image.obj &
  70. Fl_Single_Window.obj &
  71. Fl_Slider.obj &
  72. Fl_Tabs.obj &
  73. Fl_Text_Buffer.obj &
  74. Fl_Text_Display.obj &
  75. Fl_Text_Editor.obj &
  76. Fl_Tile.obj &
  77. Fl_Tiled_Image.obj &
  78. Fl_Tooltip.obj &
  79. Fl_Valuator.obj &
  80. Fl_Value_Input.obj &
  81. Fl_Value_Output.obj &
  82. Fl_Value_Slider.obj &
  83. Fl_Widget.obj &
  84. Fl_Window.obj &
  85. Fl_Window_fullscreen.obj &
  86. Fl_Window_hotspot.obj &
  87. Fl_Window_iconize.obj &
  88. Fl_Wizard.obj &
  89. Fl_XBM_Image.obj &
  90. Fl_XPM_Image.obj &
  91. Fl_abort.obj &
  92. Fl_add_idle.obj &
  93. Fl_arg.obj &
  94. Fl_compose.obj &
  95. Fl_display.obj &
  96. Fl_get_key.obj &
  97. Fl_get_system_colors.obj &
  98. Fl_grab.obj &
  99. Fl_lock.obj &
  100. Fl_own_colormap.obj &
  101. Fl_visual.obj &
  102. Fl_x.obj &
  103. filename_absolute.obj &
  104. filename_expand.obj &
  105. filename_ext.obj &
  106. filename_isdir.obj &
  107. filename_list.obj &
  108. filename_match.obj &
  109. filename_setext.obj &
  110. fl_arc.obj &
  111. fl_arci.obj &
  112. fl_ask.obj &
  113. fl_boxtype.obj &
  114. fl_color.obj &
  115. fl_cursor.obj &
  116. fl_curve.obj &
  117. fl_diamond_box.obj &
  118. fl_dnd.obj &
  119. fl_draw.obj &
  120. fl_draw_image.obj &
  121. fl_draw_pixmap.obj &
  122. fl_encoding_latin1.obj &
  123. fl_encoding_mac_roman.obj &
  124. fl_engraved_label.obj &
  125. fl_file_dir.obj &
  126. fl_font.obj &
  127. fl_gtk.obj &
  128. fl_labeltype.obj &
  129. fl_line_style.obj &
  130. fl_open_uri.obj &
  131. fl_oval_box.obj &
  132. fl_overlay.obj &
  133. fl_overlay_visual.obj &
  134. fl_plastic.obj &
  135. fl_read_image.obj &
  136. fl_rect.obj &
  137. fl_round_box.obj &
  138. fl_rounded_box.obj &
  139. fl_set_font.obj &
  140. fl_set_fonts.obj &
  141. fl_scroll_area.obj &
  142. fl_shadow_box.obj &
  143. fl_shortcut.obj &
  144. fl_show_colormap.obj &
  145. fl_symbols.obj &
  146. fl_vertex.obj &
  147. screen_xywh.obj
  148. FLCPPFILES = &
  149. forms_compatability.obj &
  150. forms_bitmap.obj &
  151. forms_free.obj &
  152. forms_fselect.obj &
  153. forms_pixmap.obj &
  154. forms_timer.obj
  155. GLCPPFILES = &
  156. Fl_Gl_Choice.obj &
  157. Fl_Gl_Overlay.obj &
  158. Fl_Gl_Window.obj &
  159. freeglut_geometry.obj &
  160. freeglut_stroke_mono_roman.obj &
  161. freeglut_stroke_roman.obj &
  162. freeglut_teapot.obj &
  163. gl_draw.obj &
  164. gl_start.obj &
  165. glut_compatability.obj &
  166. glut_font.obj
  167. IMGCPPFILES = &
  168. fl_images_core.obj &
  169. Fl_BMP_Image.obj &
  170. Fl_File_Icon2.obj &
  171. Fl_GIF_Image.obj &
  172. Fl_Help_Dialog.obj &
  173. Fl_JPEG_Image.obj &
  174. Fl_PNG_Image.obj &
  175. Fl_PNM_Image.obj
  176. CFILES = fl_call_main.obj flstring.obj scandir.obj numericsort.obj vsnprintf.obj
  177. ################################################################
  178. !include ../watcom.mif
  179. OBJECTS = $(CPPFILES) $(CFILES)
  180. FLOBJECTS = $(FLCPPFILES)
  181. GLOBJECTS = $(GLCPPFILES)
  182. IMGOBJECTS = $(IMGCPPFILES)
  183. # The four basic fltk libraries are defined in ../watcom.mif, so that appliactions
  184. # can also use them.
  185. all: $(LIBNAME) &
  186. $(LIBNAMEFL) &
  187. $(LIBNAMEGL) &
  188. $(LIBNAMEIMG)
  189. # $(DSONAME) &
  190. # $(FLDSONAME) &
  191. # $(GLDSONAME) &
  192. # $(IMGDSONAME)
  193. $(LIBNAME): $(OBJECTS)
  194. $(LIB) $(LIBOPTS) $@ $<
  195. $(LIBNAMEFL): $(FLOBJECTS)
  196. $(LIB) $(LIBOPTS) $@ $<
  197. $(LIBNAMEGL): $(GLOBJECTS)
  198. $(LIB) $(LIBOPTS) $@ $<
  199. $(LIBNAMEIMG): $(IMGOBJECTS)
  200. $(LIB) $(LIBOPTS) $@ $<
  201. #
  202. # Clean all directories
  203. #
  204. clean : .SYMBOLIC
  205. @echo Cleaning up.
  206. CLEANEXTS = exe map sym obj lk1
  207. @for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
  208. -rm -f *.err
  209. -rm -f $(LIBNAME)
  210. -rm -f $(LIBNAMEFL)
  211. -rm -f $(LIBNAMEGL)
  212. -rm -f $(LIBNAMEIMG)